SPECS: java-gnu-classpath.spec - cleanup after changing spec name

pawelz pawelz at pld-linux.org
Tue Feb 17 08:55:14 CET 2009


Author: pawelz                       Date: Tue Feb 17 07:55:14 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cleanup after changing spec name

---- Files affected:
SPECS:
   java-gnu-classpath.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/java-gnu-classpath.spec
diff -u SPECS/java-gnu-classpath.spec:1.38 SPECS/java-gnu-classpath.spec:1.39
--- SPECS/java-gnu-classpath.spec:1.38	Tue Feb  3 11:20:24 2009
+++ SPECS/java-gnu-classpath.spec	Tue Feb 17 08:55:09 2009
@@ -6,16 +6,18 @@
 %bcond_with	gcj	# use gcj instead of jdk  [broken]
 %bcond_with	apidocs	# prepare API documentation (over 200MB)
 #
+%define		srcname	classpath
+#
 Summary:	GNU Classpath (Essential Libraries for Java)
 Summary(pl.UTF-8):	GNU Classpath (Najważniejsze biblioteki dla Javy)
-Name:		classpath
+Name:		java-gnu-classpath
 Version:	0.97.2
 Release:	0.1
 License:	GPL v2+ with linking exception
 Group:		Libraries
-Source0:	http://ftp.gnu.org/gnu/classpath/%{name}-%{version}.tar.gz
+Source0:	http://ftp.gnu.org/gnu/classpath/%{srcname}-%{version}.tar.gz
 # Source0-md5:	6a35347901ace03c31cc49751b338f31
-Patch0:		%{name}-info.patch
+Patch0:		%{srcname}-info.patch
 URL:		http://www.gnu.org/software/classpath/classpath.html
 BuildRequires:	QtCore-devel >= 4.1.0
 BuildRequires:	QtGui-devel >= 4.1.0
@@ -143,13 +145,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_javadir},%{_javadocdir}/%{name}-%{version}-apidocs}
+install -d $RPM_BUILD_ROOT{%{_javadir},%{_javadocdir}/%{srcname}-%{version}-apidocs}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %if %{with apidocs}
-cp -afr doc/api/html/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}-apidocs
+cp -afr doc/api/html/* $RPM_BUILD_ROOT%{_javadocdir}/%{srcname}-%{version}-apidocs
 %endif
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/classpath/*.la
@@ -222,7 +224,7 @@
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
-%{_javadocdir}/%{name}-%{version}-apidocs
+%{_javadocdir}/%{srcname}-%{version}-apidocs
 %endif
 
 %files devel
@@ -241,6 +243,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2009/02/17 07:55:09  pawelz
+- cleanup after changing spec name
+
 Revision 1.38  2009/02/03 10:20:24  pawelz
 - up to 0.97.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/java-gnu-classpath.spec?r1=1.38&r2=1.39&f=u



More information about the pld-cvs-commit mailing list