packages: java-crimson/java-crimson.spec - rename to java- namespace, just ...

glen glen at pld-linux.org
Wed Dec 28 23:37:26 CET 2011


Author: glen                         Date: Wed Dec 28 22:37:26 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rename to java- namespace, just for completeness

---- Files affected:
packages/java-crimson:
   java-crimson.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: packages/java-crimson/java-crimson.spec
diff -u packages/java-crimson/java-crimson.spec:1.11 packages/java-crimson/java-crimson.spec:1.12
--- packages/java-crimson/java-crimson.spec:1.11	Thu Jun 12 16:45:47 2008
+++ packages/java-crimson/java-crimson.spec	Wed Dec 28 23:37:21 2011
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
+# From homepage: 2010/08/06 - Apache Crimson has been retired.
 Summary:	Crimson - Java API for XML Processing (JAXP)
 Summary(pl.UTF-8):	Crimson - API Javy do przetwarzania XML-a (JAXP)
-Name:		crimson
+Name:		java-crimson
 Version:	1.1.3
 Release:	2
 License:	Apache/W3C/Public Domain
@@ -10,15 +11,17 @@
 # Source0-md5:	bb0a5fe59fd28ce5bfc4b22baeca12c1
 URL:		http://xml.apache.org/crimson/
 BuildRequires:	ant >= 1.3
-BuildRequires:	jakarta-commons-net
+BuildRequires:	java-commons-net
 BuildRequires:	jdk
-Requires:	jakarta-commons-net
-Requires:	jre
+BuildRequires:	jpackage-utils
+BuildRequires:	rpm-javaprov
+BuildRequires:	rpmbuild(macros) >= 1.300
+Requires:	java-commons-net
+Requires:	jpackage-utils
+Provides:	java(jaxp_transform_impl)
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_javalibdir	%{_datadir}/java
-
 %description
 This version of Crimson supports the Java API for XML Processing
 (JAXP) version 1.1 specification by providing implementations for the
@@ -37,7 +40,7 @@
 %package doc
 Summary:	Crimson JAXP implementation - documentation
 Summary(pl.UTF-8):	Crimson, implementacja JAXP - dokumentacja
-Group:		Development/Languages/Java
+Group:		Documentation
 
 %description doc
 Crimson JAXP implementation - documentation.
@@ -49,16 +52,13 @@
 %setup -q
 
 %build
-export CLASSPATH="`build-classpath commons-net`"
-export JAVA_HOME="%{java_home}"
-
+CLASSPATH=$(build-classpath commons-net)
 %ant jars docs %{!?debug:-Ddebug=off -Doptimize=true}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_javalibdir}
-
-install build/*.jar $RPM_BUILD_ROOT%{_javalibdir}
+install -d $RPM_BUILD_ROOT%{_javadir}
+cp -a build/*.jar $RPM_BUILD_ROOT%{_javadir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -66,7 +66,7 @@
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog README.txt
-%{_javalibdir}/*.jar
+%{_javadir}/*.jar
 
 %files doc
 %defattr(644,root,root,755)
@@ -78,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2011/12/28 22:37:21  glen
+- rename to java- namespace, just for completeness
+
 Revision 1.11  2008/06/12 14:45:47  qboosh
 - R: jakarta-commons-net
 
================================================================

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



More information about the pld-cvs-commit mailing list