packages: java-jdepend/java-jdepend.spec - jdepend renamed to java-jdepend

jajcus jajcus at pld-linux.org
Sun Apr 18 14:54:17 CEST 2010


Author: jajcus                       Date: Sun Apr 18 12:54:17 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- jdepend renamed to java-jdepend

---- Files affected:
packages/java-jdepend:
   java-jdepend.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/java-jdepend/java-jdepend.spec
diff -u packages/java-jdepend/java-jdepend.spec:1.5 packages/java-jdepend/java-jdepend.spec:1.6
--- packages/java-jdepend/java-jdepend.spec:1.5	Tue Nov 20 18:24:28 2007
+++ packages/java-jdepend/java-jdepend.spec	Sun Apr 18 14:54:12 2010
@@ -1,19 +1,22 @@
 # $Revision$, $Date$
+#
+%define		pkgname	jdepend
+#
 Summary:	JDepend utility
 Summary(pl.UTF-8):	Narzędzie JDepend
-Name:		jdepend
+Name:		java-%{pkgname}
 Version:	2.9
-Release:	3
+Release:	1
 License:	BSD
 Group:		Development/Languages/Java
-Source0:	http://www.clarkware.com/software/%{name}-%{version}.zip
+Source0:	http://www.clarkware.com/software/%{pkgname}-%{version}.zip
 # Source0-md5:	4e979c0dda766ba1dd719905ca975c7b
 URL:		http://www.clarkware.com/software/JDepend.html
 BuildRequires:	jpackage-utils
 BuildRequires:	rpmbuild(macros) >= 1.300
 Requires:	jpackage-utils
+Obsoletes:	%{jdepend}
 BuildArch:	noarch
-ExclusiveArch:	i586 i686 pentium3 pentium4 athlon %{x8664} noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -61,7 +64,7 @@
 Dokumentacja do JDepend.
 
 %prep
-%setup -q
+%setup -qn %{pkgname}-%{version}
 
 %build
 %ant jar javadoc
@@ -70,18 +73,18 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_javadir}
 
-cp -a dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
-ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+cp -a dist/%{pkgname}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{pkgname}-%{version}.jar
+ln -s %{pkgname}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{pkgname}.jar
 
-install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-cp -a build/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+install -d $RPM_BUILD_ROOT%{_javadocdir}/%{pkgname}-%{version}
+cp -a build/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{pkgname}-%{version}
+ln -s %{pkgname}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{pkgname}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post javadoc
-ln -sf %{name}-%{version} %{_javadocdir}/%{name}
+ln -sf %{pkgname}-%{version} %{_javadocdir}/%{pkgname}
 
 %files
 %defattr(644,root,root,755)
@@ -94,8 +97,8 @@
 
 %files javadoc
 %defattr(644,root,root,755)
-%{_javadocdir}/%{name}-%{version}
-%ghost %{_javadocdir}/%{name}
+%{_javadocdir}/%{pkgname}-%{version}
+%ghost %{_javadocdir}/%{pkgname}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -103,6 +106,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2010/04/18 12:54:12  jajcus
+- jdepend renamed to java-jdepend
+
 Revision 1.5  2007/11/20 17:24:28  glen
 - rel 3 (grr, smb fix the lost mails problem already)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/java-jdepend/java-jdepend.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list