SPECS: java-xalan.spec - renamed from xalan-j.spec
pawelz
pawelz at pld-linux.org
Fri Jan 30 16:41:41 CET 2009
Author: pawelz Date: Fri Jan 30 15:41:41 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- renamed from xalan-j.spec
---- Files affected:
SPECS:
java-xalan.spec (1.45 -> 1.46)
---- Diffs:
================================================================
Index: SPECS/java-xalan.spec
diff -u SPECS/java-xalan.spec:1.45 SPECS/java-xalan.spec:1.46
--- SPECS/java-xalan.spec:1.45 Fri Dec 26 15:11:28 2008
+++ SPECS/java-xalan.spec Fri Jan 30 16:41:36 2009
@@ -3,17 +3,18 @@
# Conditional build:
%bcond_without doc # do not build documentation
#
+%define srcname xalan
%define _ver %(echo %{version} | tr . _)
Summary: XSLT processor for Java
Summary(pl.UTF-8): Procesor XSLT napisany w Javie
-Name: xalan-j
+Name: java-xalan
Version: 2.7.0
Release: 4
License: Apache v2.0
Group: Applications/Publishing/XML/Java
Source0: http://www.apache.org/dist/xml/xalan-j/source/%{name}_%{_ver}-src.tar.gz
# Source0-md5: 7859a78a5564cae42c933adcbbecdd01
-Patch0: %{name}-javadoc-mem.patch
+Patch0: %{srcname}-javadoc-mem.patch
URL: http://xml.apache.org/xalan-j/
BuildRequires: ant >= 1.5
BuildRequires: jakarta-bcel
@@ -30,6 +31,8 @@
Requires: jaxp_parser_impl
Requires: jre >= 1.2
Provides: jaxp_transform_impl
+Provides: xalan-j
+Obsoletes: xalan-j
BuildArch: noarch
ExclusiveArch: i586 i686 pentium3 pentium4 athlon %{x8664} noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,6 +49,7 @@
Group: Documentation
Requires: jpackage-utils
Obsoletes: xalan-j-doc
+Obsoletes: xalan-j-javadoc
%description javadoc
API documentation for xalan-j, an XSLT processor for Java.
@@ -57,6 +61,7 @@
Summary: Xalan-j, an XSLT processor for Java examples
Summary(pl.UTF-8): Przykłady dla xalan-j, procesora XSLT napisanego w Javie
Group: Documentation
+Obsoletes: xalan-j-examples
%description examples
Xalan-j, an XSLT processor for Java examples.
@@ -65,7 +70,7 @@
Przykłady dla xalan-j, procesora XSLT napisanego w Javie.
%prep
-%setup -q -n %{name}_%{_ver}
+%setup -q -n %{srcname}_%{_ver}
%patch0 -p1
find . -name "*.jar" ! -name "xalan2jdoc.jar" ! -name "stylebook-1.0-b3_xalan-2.jar" -exec rm -f {} \;
@@ -86,7 +91,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_javadir},%{_examplesdir},%{_javadocdir}/%{name}-%{version}}
+install -d $RPM_BUILD_ROOT{%{_javadir},%{_examplesdir},%{_javadocdir}/%{srcname}-%{version}}
install build/serializer.jar $RPM_BUILD_ROOT%{_javadir}/serializer-%{version}.jar
install build/xalan.jar $RPM_BUILD_ROOT%{_javadir}/xalan-%{version}.jar
@@ -97,8 +102,8 @@
ln -sf xsltc-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/xsltc.jar
%if %{with doc}
-cp -r samples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-cp -r build/docs/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
+cp -r samples $RPM_BUILD_ROOT%{_examplesdir}/%{srcname}-%{version}
+cp -r build/docs/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{srcname}-%{version}
%endif
%clean
@@ -112,11 +117,11 @@
%if %{with doc}
%files javadoc
%defattr(644,root,root,755)
-%doc %{_javadocdir}/%{name}-%{version}
+%doc %{_javadocdir}/%{srcname}-%{version}
%files examples
%defattr(644,root,root,755)
-%{_examplesdir}/%{name}-%{version}
+%{_examplesdir}/%{srcname}-%{version}
%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -125,6 +130,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.46 2009/01/30 15:41:36 pawelz
+- renamed from xalan-j.spec
+
Revision 1.45 2008/12/26 14:11:28 adamg
- 2.7.0 md5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/java-xalan.spec?r1=1.45&r2=1.46&f=u
More information about the pld-cvs-commit
mailing list