packages: java-jaxp/java-jaxp.spec - rename to java- namespace, just for co...

glen glen at pld-linux.org
Wed Dec 28 23:33:57 CET 2011


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

---- Files affected:
packages/java-jaxp:
   java-jaxp.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: packages/java-jaxp/java-jaxp.spec
diff -u packages/java-jaxp/java-jaxp.spec:1.17 packages/java-jaxp/java-jaxp.spec:1.18
--- packages/java-jaxp/java-jaxp.spec:1.17	Tue Feb 13 09:06:36 2007
+++ packages/java-jaxp/java-jaxp.spec	Wed Dec 28 23:33:52 2011
@@ -2,30 +2,27 @@
 # NOTE: this spec is obsolete: jre 1.4 contains jaxp 1.2.6, jre 1.5 contains 1.3
 Summary:	Java API for XML Processing
 Summary(pl.UTF-8):	API Javy do przetwarzania XML-a
-Name:		jaxp
+Name:		java-jaxp
 Version:	1.2.0
-Release:	1
-License:	SCSL
+Release:	0.1
 # base JAXP is on Sun's restricted license (internal use only),
 # DOM bindings are on W3C license (distributable)
 # and the rest is on Apache license (distributable)
-Group:		Development/Languages/XML/Java
+License:	SCSL
+Group:		Libraries/Java
 # download from http://www.sun.com/software/communitysource/jaxp/download.html
 # (after registering etc.; note that sources distribution is restricted, see
 #  also http://www.sun.com/software/communitysource/countries.html )
-Source0:	%{name}-1_2_0-scsl.zip
+Source0:	jaxp-1_2_0-scsl.zip
 # NoSource0-md5:	6424d0dc065b63506c9873e78a18869e
 URL:		http://java.sun.com/xml/download.html
 NoSource:	0
 BuildRequires:	unzip
 Requires:	jre >= 1.1.8
-Provides:	crimson
-Provides:	xalan-j
+Provides:	java(jaxp_transform_impl)
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_javalibdir	%{_datadir}/java
-
 %description
 JAXP - Java(TM) API for XML Processing.
 
@@ -35,7 +32,7 @@
 %package doc
 Summary:	JAXP documentation
 Summary(pl.UTF-8):	Dokumentacja do JAXP
-Group:		Development/Languages/XML/Java
+Group:		Documentation
 
 %description doc
 JAXP documentation.
@@ -44,16 +41,15 @@
 Dokumentacja do JAXP.
 
 %prep
-%setup -c
+%setup -qc
 
 %build
-ant jars
+%ant jars
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-install -d $RPM_BUILD_ROOT%{_javalibdir}
-install dist/*.jar $RPM_BUILD_ROOT%{_javalibdir}
+install -d $RPM_BUILD_ROOT%{_javadir}
+cp -a dist/*.jar $RPM_BUILD_ROOT%{_javadir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -61,7 +57,7 @@
 %files
 %defattr(644,root,root,755)
 %doc docs/License-ASF docs/*.html
-%{_javalibdir}/*.jar
+%{_javadir}/*.jar
 
 %files doc
 %defattr(644,root,root,755)
@@ -73,6 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2011/12/28 22:33:52  glen
+- rename to java- namespace, just for completeness
+
 Revision 1.17  2007/02/13 08:06:36  glen
 - tabs in preamble
 
@@ -104,14 +103,14 @@
 - massive attack s/pld.org.pl/pld-linux.org/
 
 Revision 1.8  2002/08/24 20:28:40  qboosh
-- new %%doc, fixed License, R: jre >= 1.1.8
+- new %doc, fixed License, R: jre >= 1.1.8
 
 Revision 1.7  2002/05/14 09:02:14  blues
 - License is apache-like
-STBR
+  STBR
 
 Revision 1.6  2002/04/25 16:38:59  arturs
-fixed a small typo
+- fixed a small typo
 
 Revision 1.5  2002/02/23 02:59:08  kloczek
 - adapterized.
@@ -121,10 +120,10 @@
   Group field using gettext).
 
 Revision 1.3  2002/01/18 02:13:23  kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
 
 Revision 1.2  2001/11/30 10:23:04  qboosh
-- descriptions, cosmetics, removed %%_javalibdir from package
+- descriptions, cosmetics, removed %_javalibdir from package
 
 Revision 1.1  2001/10/02 08:58:47  pascalek
 - initial revision
================================================================

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



More information about the pld-cvs-commit mailing list