Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
xml-commons
xml-commons.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xml-commons.spec of Package xml-commons
# # spec file for package xml-commons # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2000-2008, JPackage Project # All rights reserved. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild # FIXME: workaround for bnc#650905 %define with_repolib 0 %define without_repolib 1 %define repo %{_javadir}/repository.jboss.com %define repodir %{repo}/apache-xml-commons/1.3.04-brew %define repodirlib %{repodir}/lib %define repodirsrc %{repodir}/src #%%define resolverrepodir %{repo}/apache-xml-commons-resolver/1.2-brew #%%define resolverrepodirlib %{repodir}/lib #%%define resolverrepodirsrc %{repodir}/src %define section free %define resolverdir %{_sysconfdir}/java/resolver # To get around having multiple versions of projects within the same srpm %define apis_version_1_1 1.0.b2 %define apis_version_1_2 1.2.04 Name: xml-commons Version: 1.3.04 Release: 7 Summary: Common code for XML projects Group: Development/Libraries/Java License: Apache-2.0 Url: http://xml.apache.org/commons/ # svn export http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-1_0_b2/ Source0: xml-commons-1.0.b2.tar.bz2 # svn export http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_2_04/ Source1: xml-commons-external-1.2.04.tar.bz2 # svn export http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_3_04/ Source2: xml-commons-external-1.3.04.tar.bz2 # svn export http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-resolver-1_1_b1/ Source3: xml-commons-resolver-1.1.b1.tar.bz2 Source4: xml-commons.which10.script Source5: xml-commons.which11.script Source6: xml-commons-resolver10-resolver.1 Source7: xml-commons-resolver10-resolver.sh Source8: xml-commons-resolver10-xparse.1 Source9: xml-commons-resolver10-xparse.sh Source10: xml-commons-resolver10-xread.1 Source11: xml-commons-resolver10-xread.sh Source12: xml-commons-resolver11-resolver.1 Source13: xml-commons-resolver11-resolver.sh Source14: xml-commons-resolver11-xparse.1 Source15: xml-commons-resolver11-xparse.sh Source16: xml-commons-resolver11-xread.1 Source17: xml-commons-resolver11-xread.sh Source18: xml-commons-resolver12-resolver.1 Source19: xml-commons-resolver12-resolver.sh Source20: xml-commons-resolver12-xparse.1 Source21: xml-commons-resolver12-xparse.sh Source22: xml-commons-resolver12-xread.1 Source23: xml-commons-resolver12-xread.sh Source24: %{name}-resolver-CatalogManager.properties Source100: xml-commons-component-info.xml Source200: http://mirrors.ibiblio.org/pub/mirrors/maven2/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.pom Source201: http://mirrors.ibiblio.org/pub/mirrors/maven2/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.pom Patch0: %{name}-external-1.3-build_xml.patch Patch1: %{name}-resolver-crosslink.patch Patch2: %{name}-resolver-1.1-build_xml.patch Patch3: %{name}-enum.patch Requires: jpackage-utils Requires(post): jpackage-utils Requires(postun): jpackage-utils BuildRequires: ant BuildRequires: java-1_5_0-gcj-compat-devel #!BuildIgnore: java-1_6_0-openjdk java-1_6_0-openjdk-devel #BuildRequires: docbook-style-xsl BuildRequires: xalan-j2 #!BuildIgnore: xml-commons-resolver #!BuildIgnore: antlr antlr-java BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description xml-commons is focused on common code and guidelines for xml projects. It's first focus will be to organize and have common packaging for the various externally-defined standards code relating to XML - things like the DOM, SAX, and JAXP interfaces. As the xml-commons community forms, we also hope to serve as a holding area for other common xml-related utilities and code, and to help promulgate common packaging, testing, documentation, and other guidelines across all xml.apache.org subprojects. %package jaxp-1.1-apis License: Apache-2.0 Summary: JAXP 1.1, DOM2, SAX2, SAX2-ext 1.0 apis Group: Productivity/Publishing/XML Provides: jaxp = 1.1 Provides: dom = 2 Provides: sax = 2.0 Provides: xslt = 1.0 Provides: xml-commons-apis = %{apis_version_1_1}-%{release} Obsoletes: xml-commons-apis <= 1.3.02-2jpp Requires: jpackage-utils >= 1.6 Requires: %{name} = %{version}-%{release} Requires(preun): update-alternatives Requires(post): update-alternatives %description jaxp-1.1-apis DOM 2 org.w3c.dom and SAX XML 2.0 org.xml.sax processor apis used by several pieces of Apache software. XSLT 1.0. This version includes the JAXP 1.1 APIs -- Java API for XML Processing 1.1, i.e. javax.xml{.parsers,.transform} %package jaxp-1.1-apis-javadoc License: Apache-2.0 Group: Productivity/Publishing/XML Summary: Javadoc for %{name}-jaxp-1.1-apis Provides: %{name}-apis-javadoc = %{apis_version_1_1}-%{release} %description jaxp-1.1-apis-javadoc %{summary}. %package jaxp-1.1-apis-manual License: Apache-2.0 Group: Development/Documentation Summary: Documents for %{name}-jaxp-1.1-apis %description jaxp-1.1-apis-manual %{summary}. %package which10 License: Apache-2.0 Summary: XmlWhich 1.0 utility from %{name} Group: Productivity/Publishing/XML Provides: xml-commons-which = 1.0 Requires: jpackage-utils >= 1.6 Requires: jaxp_parser_impl Requires: xml-commons-jaxp-1.1-apis = %{version}-%{release} Requires: %{name} = %{version}-%{release} Requires: ant >= 1.6 Requires(preun): update-alternatives Requires(post): update-alternatives %description which10 %{name}. %package which10-javadoc License: Apache-2.0 Summary: Javadoc for %{name}-which10 Group: Development/Documentation %description which10-javadoc Javadoc for %{name}-which. %package resolver10 License: Apache-2.0 Summary: XmlResolver 1.0 utility from %{name} Group: Development/Java Provides: xml-commons-resolver = 1.0 Requires: jpackage-utils >= 1.6 Requires: jaxp_parser_impl Requires: xml-commons-jaxp-1.1-apis = %{version}-%{release} Requires: %{name} = %{version}-%{release} Requires(preun):update-alternatives Requires(post): update-alternatives %description resolver10 %{summary}. # resolver10 # FIXME: not work with no antlr %if 0 %package resolver10-javadoc Summary: Javadoc for %{name}-resolver10 Group: Development/Documentation %description resolver10-javadoc %{summary}. %endif %package resolver11 License: Apache-2.0 Summary: XmlResolver 1.1 utility from %{name} Group: Development/Java Provides: xml-commons-resolver = 1.1 Requires: jpackage-utils >= 1.6 Requires: jaxp_parser_impl Requires: xml-commons-jaxp-1.2-apis = %{version}-%{release} Requires: %{name} = %{version}-%{release} Provides: xml-commons-resolver = %{version}-%{release} Obsoletes: xml-commons-resolver <= 1.3.02 Requires(preun): update-alternatives Requires(post): update-alternatives %description resolver11 %{summary}. # resolver10 # FIXME: not work with no antlr %if 0 %package resolver11-javadoc Summary: Javadoc for %{name}-resolver11 Group: Development/Documentation Provides: xml-commons-resolver-javadoc = %{version}-%{release} Obsoletes: xml-commons-resolver-javadoc <= 1.3.02 %description resolver11-javadoc %{summary}. %endif %package jaxp-1.2-apis License: Apache-2.0 Summary: JAXP 1.2, DOM 2, SAX 2.0.1, SAX2-ext 1.0 apis Group: Productivity/Publishing/XML Provides: jaxp = 1.2 Provides: dom = 2 Provides: sax = 2.0.1 Provides: xslt = 1.0 Provides: xml-commons-apis = %{apis_version_1_2}-%{release} Obsoletes: xml-commons-apis <= 1.3.02-2jpp Requires: jpackage-utils >= 1.6 Requires: %{name} = %{version}-%{release} Requires(preun): update-alternatives Requires(post): update-alternatives %description jaxp-1.2-apis DOM 2 org.w3c.dom and SAX XML 2.0 org.xml.sax processor apis used by several pieces of Apache software. XSLT 1.0. This version includes the JAXP 1.2 APIs -- Java API for XML Processing 1.2, i.e. javax.xml{.parsers,.transform} %package jaxp-1.2-apis-javadoc License: Apache-2.0 Group: Development/Documentation Summary: Javadoc for %{name}-jaxp-1.2-apis Provides: %{name}-apis-javadoc = %{apis_version_1_2}-%{release} %description jaxp-1.2-apis-javadoc %{summary}. %package jaxp-1.2-apis-manual License: Apache-2.0 Group: Development/Documentation Summary: Documents for %{name}-jaxp-1.2-apis %description jaxp-1.2-apis-manual %{summary}. %package jaxp-1.3-apis License: Apache-2.0 Summary: JAXP 1.3, DOM 2, SAX 2.0.1, SAX2-ext 1.0 apis Group: Productivity/Publishing/XML Provides: jaxp = 1.3 Provides: dom = 3 Provides: sax = 2.0.2 Provides: xslt = 1.0 Provides: xml-commons-apis = %{version}-%{release} Obsoletes: xml-commons-apis <= 1.3.02 Requires: jpackage-utils >= 1.6 Requires: %{name} = %{version}-%{release} Requires(preun): update-alternatives Requires(post): update-alternatives %description jaxp-1.3-apis DOM 3 org.w3c.dom and SAX XML 2.0.2 (sax2r3) org.xml.sax processor apis used by several pieces of Apache software. Thi version includes the JAXP 1.3 APIs -- JSR 206, Java API for XML Processing 1.3, i.e. javax.xml{.parsers,.transform,.validation,.datatype,.xtype}. %package jaxp-1.3-apis-javadoc License: Apache-2.0 Group: Development/Documentation Summary: Javadoc for %{name}-jaxp-1.3-apis Provides: %{name}-apis-javadoc = %{version}-%{release} Obsoletes: xml-comons-apis-javadoc <= 1.3.02 %description jaxp-1.3-apis-javadoc %{summary}. %package jaxp-1.3-apis-manual License: Apache-2.0 Group: Development/Documentation Summary: Documents for %{name}-jaxp-1.3-apis Provides: xml-comons-apis-manual = %{version}-%{release} Obsoletes: xml-comons-apis-manual <= 1.3.02 %description jaxp-1.3-apis-manual %{summary}. %package which11 License: Apache-2.0 Group: Productivity/Publishing/XML Summary: XmlWhich 1.1 from %{name} #Provides: xml-commons-which = 1.1 Provides: xml-commons-which = %{version}-%{release} Obsoletes: xml-commons-which <= 1.3.02 Requires: jpackage-utils >= 1.6 Requires: jaxp_parser_impl Requires: xml-commons-jaxp-1.3-apis = %{version}-%{release} Requires: ant >= 1.6 Requires: %{name} = %{version}-%{release} Requires(preun): update-alternatives Requires(post): update-alternatives %description which11 %{summary}. %package which11-javadoc License: Apache-2.0 Group: Development/Documentation Summary: Javadoc for %{name}-which11 Provides: xml-commons-which-javadoc = %{version}-%{release} Obsoletes: xml-commons-which-javadoc <= 1.3.02 %description which11-javadoc %{summary}. %package resolver12 License: Apache-2.0 Group: Productivity/Publishing/XML Summary: XmlResolver 1.2 from %{name} Provides: xml-commons-resolver = 1.2 Requires: jpackage-utils >= 1.6 Requires: %{name} = %{version}-%{release} Requires: jaxp_parser_impl Requires: xml-commons-jaxp-1.3-apis = %{version}-%{release} Requires(preun): update-alternatives Requires(post): update-alternatives %description resolver12 %{summary}. %package resolver12-javadoc License: Apache-2.0 Group: Development/Documentation Summary: Javadoc for %{name}-resolver12 %description resolver12-javadoc %{summary}. %if %{with_repolib} %package repolib Summary: Artifacts to be uploaded to a repository library Group: Development/Libraries/Java %description repolib Artifacts to be uploaded to a repository library. This package is not meant to be installed but so its contents can be extracted through rpm2cpio. %endif %prep %setup -q -T -c %setup -q -T -D -a 0 %setup -q -T -D -a 1 %setup -q -T -D -a 2 %setup -q -T -D -a 3 %patch1 -b .sav %patch2 -b .sav %patch3 -b .sav pushd xml-commons-external-1_3_* %patch0 -b .sav popd # remove all binary libs and prebuilt javadocs rm -rf `find . -name "*.jar" -o -name "*.gz"` rm -rf java/build java/external/build/docs/javadoc # ----------------------------------------------------------------------------- %build pushd xml-commons-1_0_b2 pushd java sed -e 's|call Resolver|call resolver|g' resolver.xml > tempf sed -e 's|classname="org.apache.xml.resolver.Catalog"|fork="yes" classname="org.apache.xml.resolver.apps.resolver"|g' tempf > resolver.xml sed -e 's|org.apache.xml.resolver.Catalog|org.apache.xml.resolver.apps.resolver|g' src/manifest.resolver > tempf cp tempf src/manifest.resolver rm tempf popd ant jars popd pushd xml-commons-resolver-1_1_b1 mkdir -p build/site/components/resolver pushd java sed -e 's|call Resolver|call resolver|g' resolver.xml > tempf sed -e 's|classname="org.apache.xml.resolver.Catalog"|fork="yes" classname="org.apache.xml.resolver.apps.resolver"|g' tempf > resolver.xml sed -e 's|org.apache.xml.resolver.Catalog|org.apache.xml.resolver.apps.resolver|g' src/manifest.resolver > tempf cp tempf src/manifest.resolver rm tempf popd ant jars javadocs popd pushd xml-commons-external-1_2_04 ant -f java/external/build.xml jar javadoc popd pushd xml-commons-external-1_3_* pushd java sed -e 's|call Resolver|call resolver|g' resolver.xml > tempf sed -e 's|classname="org.apache.xml.resolver.Catalog"|fork="yes" classname="org.apache.xml.resolver.apps.resolver"|g' tempf > resolver.xml sed -e 's|org.apache.xml.resolver.Catalog|org.apache.xml.resolver.apps.resolver|g' src/manifest.resolver > tempf cp tempf src/manifest.resolver rm tempf popd ant jars javadocs popd %install # Jars install -d -m 755 $RPM_BUILD_ROOT%{_javadir} # JAXP11 install -m 644 xml-commons-1_0_b2/java/external/build/xml-apis.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-jaxp-1.1-apis-%{version}.jar # resolver10 install -m 644 xml-commons-1_0_b2/java/build/resolver.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-resolver10-%{version}.jar # which10 install -m 644 xml-commons-1_0_b2/java/build/which.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-which10-%{version}.jar # resolver11 install -m 644 xml-commons-resolver-1_1_b1/java/build/resolver.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-resolver11-%{version}.jar # JAXP12 install -m 644 xml-commons-external-1_2_04/java/external/build/xml-apis.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-jaxp-1.2-apis-%{version}.jar # JAXP13 install -m 644 xml-commons-external-1_3_*/java/external/build/xml-apis.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-jaxp-1.3-apis-%{version}.jar # JAXP13 ext install -m 644 xml-commons-external-1_3_*/java/external/build/xml-apis-ext.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-jaxp-1.3-apis-ext-%{version}.jar # resolver12 install -m 644 xml-commons-external-1_3_*/java/build/resolver.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-resolver12-%{version}.jar # which11 install -m 644 xml-commons-external-1_3_*/java/build/which.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-which11-%{version}.jar pushd $RPM_BUILD_ROOT%{_javadir} for jar in *-%{version}*; do ln -sf ${jar} $(echo $jar | sed -e 's|-%{version}\.jar|.jar|'); done ln -sf %{name}-jaxp-1.1-apis.jar jaxp11.jar ln -sf %{name}-jaxp-1.2-apis.jar jaxp12.jar ln -sf %{name}-jaxp-1.3-apis.jar jaxp13.jar ln -sf %{name}-jaxp-1.3-apis.jar dom3.jar popd # poms %{__mkdir_p} %{buildroot}%{_datadir}/maven2/poms %{__cp} -p %{SOURCE200} %{buildroot}%{_datadir}/maven2/poms/JPP-%{name}-jaxp-1.3-apis.pom %add_to_maven_depmap xmls-apis xml-apis %{version} JPP %{name}-jaxp-1.3-apis %{__ln_s} JPP-%{name}-jaxp-1.3-apis.pom %{buildroot}%{_datadir}/maven2/poms/JPP-%{name}-apis.pom %{__cp} -p %{SOURCE201} %{buildroot}%{_datadir}/maven2/poms/JPP-%{name}-jaxp-1.3-apis-ext.pom %add_to_maven_depmap xmls-apis xml-apis-ext %{version} JPP %{name}-jaxp-1.3-apis-ext # javadoc install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-jaxp-1.1-apis-%{version} # JAXP11 cp -pr xml-commons-1_0_b2/java/external/build/docs/javadoc/* \ $RPM_BUILD_ROOT%{_javadocdir}/%{name}-jaxp-1.1-apis-%{version} ln -s %{name}-jaxp-1.1-apis-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-jaxp-1.1-apis rm -rf xml-commons-1_0_b2/java/external/build/docs/javadoc # resolver10 # FIXME: not work with no antlr %if 0 install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-resolver10-%{version}/org/apache/xml cp -pr xml-commons-1_0_b2/java/build/docs/javadocs/org/apache/xml/* \ $RPM_BUILD_ROOT%{_javadocdir}/%{name}-resolver10-%{version}/org/apache/xml ln -s %{name}-resolver10-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-resolver10 %endif # resolver10 # FIXME: not work with no antlr %if 0 # resolver11 install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-resolver11-%{version}/ cp -pr xml-commons-resolver-1_1_b1/build/site/components/apidocs/* \ $RPM_BUILD_ROOT%{_javadocdir}/%{name}-resolver11-%{version}/ ln -s %{name}-resolver11-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-resolver11 %endif # which10 install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-which10-%{version}/org/apache/env cp -pr xml-commons-1_0_b2/java/build/docs/javadocs/org/apache/env/* \ $RPM_BUILD_ROOT%{_javadocdir}/%{name}-which10-%{version}/org/apache/env ln -s %{name}-which10-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-which10 # JAXP12 install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-jaxp-1.2-apis-%{version} cp -pr xml-commons-external-1_2_04/java/external/build/docs/javadoc/* \ $RPM_BUILD_ROOT%{_javadocdir}/%{name}-jaxp-1.2-apis-%{version} ln -s %{name}-jaxp-1.2-apis-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-jaxp-1.2-apis rm -rf xml-commons-external-1_2_04/java/external/build/docs/javadoc # JAXP13 install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-jaxp-1.3-apis-%{version} cp -pr xml-commons-external-1_3_*/java/external/build/docs/javadoc/* \ $RPM_BUILD_ROOT%{_javadocdir}/%{name}-jaxp-1.3-apis-%{version} ln -s %{name}-jaxp-1.3-apis-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-jaxp-1.3-apis rm -rf xml-commons-external-1_3_*/java/external/build/docs/javadoc # resolver10 # FIXME: not work with no antlr %if 0 # resolver12 install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-resolver12-%{version} cp -pr xml-commons-external-1_3_*/java/build/apidocs/resolver/* \ $RPM_BUILD_ROOT%{_javadocdir}/%{name}-resolver12-%{version} ln -s %{name}-resolver12-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-resolver12 %endif # which11 install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-which11-%{version} cp -pr xml-commons-external-1_3_*/java/build/apidocs/which/* \ $RPM_BUILD_ROOT%{_javadocdir}/%{name}-which11-%{version} ln -s %{name}-which11-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}-which11 # Scripts install -d -m 755 $RPM_BUILD_ROOT%{_bindir} install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/xml-which10 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_bindir}/xml-which11 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE7} \ > $RPM_BUILD_ROOT%{_bindir}/xml-resolver10 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE9} \ > $RPM_BUILD_ROOT%{_bindir}/xml-xread10 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE11} \ > $RPM_BUILD_ROOT%{_bindir}/xml-xparse10 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE6} \ > $RPM_BUILD_ROOT%{_mandir}/man1/xml-resolver10.1 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE8} \ > $RPM_BUILD_ROOT%{_mandir}/man1/xml-xread10.1 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE10} \ > $RPM_BUILD_ROOT%{_mandir}/man1/xml-xparse10.1 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE13} \ > $RPM_BUILD_ROOT%{_bindir}/xml-resolver11 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE15} \ > $RPM_BUILD_ROOT%{_bindir}/xml-xread11 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE17} \ > $RPM_BUILD_ROOT%{_bindir}/xml-xparse11 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE12} \ > $RPM_BUILD_ROOT%{_mandir}/man1/xml-resolver11.1 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE14} \ > $RPM_BUILD_ROOT%{_mandir}/man1/xml-xread11.1 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE16} \ > $RPM_BUILD_ROOT%{_mandir}/man1/xml-xparse11.1 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE19} \ > $RPM_BUILD_ROOT%{_bindir}/xml-resolver12 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE21} \ > $RPM_BUILD_ROOT%{_bindir}/xml-xread12 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE23} \ > $RPM_BUILD_ROOT%{_bindir}/xml-xparse12 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE18} \ > $RPM_BUILD_ROOT%{_mandir}/man1/xml-resolver12.1 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE20} \ > $RPM_BUILD_ROOT%{_mandir}/man1/xml-xread12.1 sed -e 's|__RESOLVERDIR__|%{resolverdir}|' < %{SOURCE22} \ > $RPM_BUILD_ROOT%{_mandir}/man1/xml-xparse12.1 # Central CatalogManager.properties install -d -m 755 $RPM_BUILD_ROOT%{resolverdir} install -m 0644 %{SOURCE24} $RPM_BUILD_ROOT%{resolverdir}/CatalogManager.properties # docs # JAXP 1.1 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}-jaxp-1.1-apis-%{version} install -m 0644 xml-commons-1_0_b2/java/external/LICENSE* $RPM_BUILD_ROOT%{_datadir}/%{name}-jaxp-1.1-apis-%{version} install -m 0644 xml-commons-1_0_b2/java/external/README* $RPM_BUILD_ROOT%{_datadir}/%{name}-jaxp-1.1-apis-%{version} # JAXP 1.2 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}-jaxp-1.2-apis-%{version} install -m 0644 xml-commons-external-1_2_04/java/external/LICENSE* $RPM_BUILD_ROOT%{_datadir}/%{name}-jaxp-1.2-apis-%{version} install -m 0644 xml-commons-external-1_2_04/java/external/README* $RPM_BUILD_ROOT%{_datadir}/%{name}-jaxp-1.2-apis-%{version} # JAXP 1.3 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}-jaxp-1.3-apis-%{version} install -m 0644 xml-commons-external-1_3_*/java/external/LICENSE* $RPM_BUILD_ROOT%{_datadir}/%{name}-jaxp-1.3-apis-%{version} install -m 0644 xml-commons-external-1_3_*/java/external/README* $RPM_BUILD_ROOT%{_datadir}/%{name}-jaxp-1.3-apis-%{version} # manuals # JAXP 1.1 install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-jaxp-1.1-apis-%{version} cp -pr xml-commons-1_0_b2/java/external/build/docs/* $RPM_BUILD_ROOT%{_docdir}/%{name}-jaxp-1.1-apis-%{version} # JAXP 1.2 install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-jaxp-1.2-apis-%{version} cp -pr xml-commons-external-1_2_04/java/external/build/docs/* $RPM_BUILD_ROOT%{_docdir}/%{name}-jaxp-1.2-apis-%{version} # JAXP 1.3 install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/%{name}-jaxp-1.3-apis-%{version} cp -pr xml-commons-external-1_3_*/java/external/build/docs/* $RPM_BUILD_ROOT%{_docdir}/%{name}-jaxp-1.3-apis-%{version} # For Symlinks and alternatives touch $RPM_BUILD_ROOT%{_javadir}/xml-commons-apis.jar touch $RPM_BUILD_ROOT%{_javadir}/xml-commons-which.jar touch $RPM_BUILD_ROOT%{_javadir}/xml-commons-resolver.jar touch $RPM_BUILD_ROOT%{_javadir}/jaxp.jar touch $RPM_BUILD_ROOT%{_javadir}/dom3.jar touch $RPM_BUILD_ROOT%{_javadir}/dom2.jar touch $RPM_BUILD_ROOT%{_javadir}/dom.jar touch $RPM_BUILD_ROOT%{_javadir}/sax2.jar touch $RPM_BUILD_ROOT%{_javadir}/sax.jar touch $RPM_BUILD_ROOT%{_bindir}/xml-which touch $RPM_BUILD_ROOT%{_bindir}/xml-resolver touch $RPM_BUILD_ROOT%{_bindir}/xml-xread touch $RPM_BUILD_ROOT%{_bindir}/xml-xparse ln -s %{_sysconfdir}/alternatives/%{name}-apis-javadoc $RPM_BUILD_ROOT%{_javadocdir}/%{name}-apis # ghost symlink %{__chmod} 755 $RPM_BUILD_ROOT%{_bindir}* %{__perl} -pi -e 's/\r$//g' README.html KEYS %if %{with_repolib} install -d -m 755 $RPM_BUILD_ROOT%{repodir} install -d -m 755 $RPM_BUILD_ROOT%{repodirlib} install -m 755 %{SOURCE100} $RPM_BUILD_ROOT%{repodir}/component-info.xml sed -i 's/@VERSION@/%{version}-brew/g' $RPM_BUILD_ROOT%{repodir}/component-info.xml tag=`echo %{name}-%{version}-%{release} | sed 's|\.|_|g'` sed -i "s/@TAG@/$tag/g" $RPM_BUILD_ROOT%{repodir}/component-info.xml install -d -m 755 $RPM_BUILD_ROOT%{repodirsrc} install -m 755 %{SOURCE0} $RPM_BUILD_ROOT%{repodirsrc} cp -p $RPM_BUILD_ROOT%{_javadir}/%{name}-jaxp-1.3-apis-%{version}.jar $RPM_BUILD_ROOT%{repodirlib}/xml-apis.jar cp -p $RPM_BUILD_ROOT%{_javadir}/%{name}-resolver11-%{version}.jar $RPM_BUILD_ROOT%{repodirlib}/resolver.jar install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{repodirsrc} %endif %if 0%{?suse_version} # disable of a link target doesn't exist error on ghost symlink export NO_BRP_STALE_LINK_ERROR=yes %endif %clean rm -rf $RPM_BUILD_ROOT # ----------------------------------------------------------------------------- %post %update_maven_depmap %postun %update_maven_depmap %post jaxp-1.1-apis #rm -f %{_javadir}/xml-commons-apis.jar rm -f %{_javadir}/jaxp11.jar ln -s %{name}-jaxp-1.1-apis.jar %{_javadir}/jaxp11.jar %{_sbindir}/update-alternatives --install %{_javadir}/xml-commons-apis.jar xml-commons-apis %{_javadir}/jaxp11.jar 10100 %{_sbindir}/update-alternatives --install %{_javadir}/jaxp.jar jaxp %{_javadir}/jaxp11.jar 10100 %{_sbindir}/update-alternatives --install %{_javadir}/dom2.jar dom2 %{_javadir}/jaxp11.jar 10100 %{_sbindir}/update-alternatives --install %{_javadir}/dom.jar dom %{_javadir}/jaxp11.jar 10100 %{_sbindir}/update-alternatives --install %{_javadir}/sax2.jar sax2 %{_javadir}/jaxp11.jar 10100 %{_sbindir}/update-alternatives --install %{_javadir}/sax.jar sax %{_javadir}/jaxp11.jar 10100 %{_sbindir}/update-alternatives --install %{_javadir}/xslt.jar xslt %{_javadir}/jaxp11.jar 10100 %postun jaxp-1.1-apis if [ "$1" = "0" ]; then %{_sbindir}/update-alternatives --remove xml-commons-apis %{_javadir}/jaxp11.jar %{_sbindir}/update-alternatives --remove jaxp %{_javadir}/jaxp11.jar %{_sbindir}/update-alternatives --remove dom2 %{_javadir}/jaxp11.jar %{_sbindir}/update-alternatives --remove dom %{_javadir}/jaxp11.jar %{_sbindir}/update-alternatives --remove sax2 %{_javadir}/jaxp11.jar %{_sbindir}/update-alternatives --remove sax %{_javadir}/jaxp11.jar %{_sbindir}/update-alternatives --remove xslt %{_javadir}/jaxp11.jar rm -f %{_javadir}/jaxp11.jar fi %post jaxp-1.1-apis-javadoc %{_sbindir}/update-alternatives --install %{_javadocdir}/xml-commons-apis xml-commons-apis-javadoc %{_javadocdir}/%{name}-jaxp-1.1-apis/ 10100 %postun jaxp-1.1-apis-javadoc if [ "$1" = "0" ]; then %{_sbindir}/update-alternatives --remove xml-commons-apis-javadoc %{_javadocdir}/%{name}-jaxp-1.1-apis/ fi %post which10 %{_sbindir}/update-alternatives --install %{_bindir}/xml-which xml-which %{_bindir}/xml-which10 10000 %{_sbindir}/update-alternatives --install %{_javadir}/xml-commons-which.jar xml-commons-which %{_javadir}/xml-commons-which10.jar 10000 %postun which10 if [ "$1" = "0" ]; then %{_sbindir}/update-alternatives --remove xml-which %{_bindir}/xml-which10 %{_sbindir}/update-alternatives --remove xml-commons-which %{_javadir}/xml-commons-which10.jar fi %post resolver10 %{_sbindir}/update-alternatives --install %{_bindir}/xml-resolver xml-resolver %{_bindir}/xml-resolver10 10000 \ --slave %{_javadir}/xml-commons-resolver.jar xml-commons-resolver %{_javadir}/xml-commons-resolver10.jar \ --slave %{_bindir}/xml-xread xml-xread %{_bindir}/xml-xread10 \ --slave %{_bindir}/xml-xparse xml-xparse %{_bindir}/xml-xparse10 \ --slave %{_mandir}/man1/xml-resolver.1.bz2 xml-resolver.1.bz2 %{_mandir}/man1/xml-resolver10.1.bz2 \ --slave %{_mandir}/man1/xml-xread.1.bz2 xml-xread.1.bz2 %{_mandir}/man1/xml-xread10.1.bz2 \ --slave %{_mandir}/man1/xml-xparse.1.bz2 xml-xparse.1.bz2 %{_mandir}/man1/xml-xparse10.1.bz2 %postun resolver10 if [ "$1" = "0" ]; then %{_sbindir}/update-alternatives --remove xml-resolver %{_bindir}/xml-resolver10 fi %post resolver11 %{_sbindir}/update-alternatives --install %{_bindir}/xml-resolver xml-resolver %{_bindir}/xml-resolver11 10100 \ --slave %{_javadir}/xml-commons-resolver.jar xml-commons-resolver %{_javadir}/xml-commons-resolver11.jar \ --slave %{_bindir}/xml-xread xml-xread %{_bindir}/xml-xread11 \ --slave %{_bindir}/xml-xparse xml-xparse %{_bindir}/xml-xparse11 \ --slave %{_mandir}/man1/xml-resolver.1.bz2 xml-resolver.1.bz2 %{_mandir}/man1/xml-resolver11.1.bz2 \ --slave %{_mandir}/man1/xml-xread.1.bz2 xml-xread.1.bz2 %{_mandir}/man1/xml-xread11.1.bz2 \ --slave %{_mandir}/man1/xml-xparse.1.bz2 xml-xparse.1.bz2 %{_mandir}/man1/xml-xparse11.1.bz2 %postun resolver11 if [ "$1" = "0" ]; then %{_sbindir}/update-alternatives --remove xml-resolver %{_bindir}/xml-resolver11 fi %post jaxp-1.2-apis rm -f %{_javadir}/xml-commons-apis.jar rm -f %{_javadir}/jaxp12.jar ln -s %{name}-jaxp-1.2-apis.jar %{_javadir}/jaxp12.jar %{_sbindir}/update-alternatives --install %{_javadir}/xml-commons-apis.jar xml-commons-apis %{_javadir}/jaxp12.jar 10200 %{_sbindir}/update-alternatives --install %{_javadir}/jaxp.jar jaxp %{_javadir}/jaxp12.jar 10200 %{_sbindir}/update-alternatives --install %{_javadir}/dom2.jar dom2 %{_javadir}/jaxp12.jar 10200 %{_sbindir}/update-alternatives --install %{_javadir}/dom.jar dom %{_javadir}/jaxp12.jar 10200 %{_sbindir}/update-alternatives --install %{_javadir}/sax2.jar sax2 %{_javadir}/jaxp12.jar 10200 %{_sbindir}/update-alternatives --install %{_javadir}/sax.jar sax %{_javadir}/jaxp12.jar 10200 %{_sbindir}/update-alternatives --install %{_javadir}/xslt.jar xslt %{_javadir}/jaxp12.jar 10200 %postun jaxp-1.2-apis if [ "$1" = "0" ]; then %{_sbindir}/update-alternatives --remove xml-commons-apis %{_javadir}/jaxp12.jar %{_sbindir}/update-alternatives --remove jaxp %{_javadir}/jaxp12.jar %{_sbindir}/update-alternatives --remove dom2 %{_javadir}/jaxp12.jar %{_sbindir}/update-alternatives --remove dom %{_javadir}/jaxp12.jar %{_sbindir}/update-alternatives --remove sax2 %{_javadir}/jaxp12.jar %{_sbindir}/update-alternatives --remove sax %{_javadir}/jaxp12.jar %{_sbindir}/update-alternatives --remove xslt %{_javadir}/jaxp12.jar rm -f %{_javadir}/jaxp12.jar fi %post jaxp-1.2-apis-javadoc %{_sbindir}/update-alternatives --install %{_javadocdir}/xml-commons-apis xml-commons-apis-javadoc %{_javadocdir}/%{name}-jaxp-1.2-apis/ 10200 %postun jaxp-1.2-apis-javadoc if [ "$1" = "0" ]; then %{_sbindir}/update-alternatives --remove xml-commons-apis-javadoc %{_javadocdir}/%{name}-jaxp-1.2-apis/ fi %post jaxp-1.3-apis rm -f %{_javadir}/xml-commons-apis.jar rm -f %{_javadir}/jaxp13.jar ln -s %{name}-jaxp-1.3-apis.jar %{_javadir}/jaxp13.jar %{_sbindir}/update-alternatives --install %{_javadir}/xml-commons-apis.jar xml-commons-apis %{_javadir}/jaxp13.jar 10300 %{_sbindir}/update-alternatives --install %{_javadir}/jaxp.jar jaxp %{_javadir}/jaxp13.jar 10300 %{_sbindir}/update-alternatives --install %{_javadir}/dom.jar dom %{_javadir}/jaxp13.jar 10300 %{_sbindir}/update-alternatives --install %{_javadir}/sax2.jar sax2 %{_javadir}/jaxp13.jar 10300 %{_sbindir}/update-alternatives --install %{_javadir}/sax.jar sax %{_javadir}/jaxp13.jar 10300 %{_sbindir}/update-alternatives --install %{_javadir}/xslt.jar xslt %{_javadir}/jaxp13.jar 10300 %postun jaxp-1.3-apis if [ "$1" = "0" ]; then %{_sbindir}/update-alternatives --remove xml-commons-apis %{_javadir}/jaxp13.jar %{_sbindir}/update-alternatives --remove jaxp %{_javadir}/jaxp13.jar %{_sbindir}/update-alternatives --remove dom %{_javadir}/jaxp13.jar %{_sbindir}/update-alternatives --remove sax2 %{_javadir}/jaxp13.jar %{_sbindir}/update-alternatives --remove sax %{_javadir}/jaxp13.jar %{_sbindir}/update-alternatives --remove xslt %{_javadir}/jaxp13.jar rm -f %{_javadir}/jaxp13.jar fi %post jaxp-1.3-apis-javadoc %{_sbindir}/update-alternatives --install %{_javadocdir}/xml-commons-apis xml-commons-apis-javadoc %{_javadocdir}/%{name}-jaxp-1.3-apis/ 10300 %postun jaxp-1.3-apis-javadoc if [ "$1" = "0" ]; then %{_sbindir}/update-alternatives --remove xml-commons-apis-javadoc %{_javadocdir}/%{name}-jaxp-1.3-apis/ fi %post which11 %{_sbindir}/update-alternatives --install %{_bindir}/xml-which xml-which %{_bindir}/xml-which11 10100 %{_sbindir}/update-alternatives --install %{_javadir}/xml-commons-which.jar xml-commons-which %{_javadir}/xml-commons-which11.jar 10100 %postun which11 if [ "$1" = "0" ]; then %{_sbindir}/update-alternatives --remove xml-which %{_bindir}/xml-which11 %{_sbindir}/update-alternatives --remove xml-commons-which %{_javadir}/xml-commons-which11.jar fi %post resolver12 %{_sbindir}/update-alternatives --install %{_bindir}/xml-resolver xml-resolver %{_bindir}/xml-resolver12 10200 \ --slave %{_javadir}/xml-commons-resolver.jar xml-commons-resolver %{_javadir}/xml-commons-resolver12.jar \ --slave %{_bindir}/xml-xread xml-xread %{_bindir}/xml-xread12 \ --slave %{_bindir}/xml-xparse xml-xparse %{_bindir}/xml-xparse12 \ --slave %{_mandir}/man1/xml-resolver.1.bz2 xml-resolver.1.bz2 %{_mandir}/man1/xml-resolver12.1.bz2 \ --slave %{_mandir}/man1/xml-xread.1.bz2 xml-xread.1.bz2 %{_mandir}/man1/xml-xread12.1.bz2 \ --slave %{_mandir}/man1/xml-xparse.1.bz2 xml-xparse.1.bz2 %{_mandir}/man1/xml-xparse12.1.bz2 %postun resolver12 if [ "$1" = "0" ]; then %{_sbindir}/update-alternatives --remove xml-resolver %{_bindir}/xml-resolver12 fi # ----------------------------------------------------------------------------- %files %defattr(0644,root,root,0755) %doc xml-commons-1_0_b2/LICENSE.txt %doc xml-commons-external-1_3_*/*.txt %config(noreplace) %{resolverdir}/* %{_mavendepmapfragdir}/%{name} %dir %{_sysconfdir}/java/resolver %files jaxp-1.1-apis %defattr(0644,root,root,0755) # FIXME: # xml-commons-jaxp-1.1-apis.noarch: W: file-not-utf8 /usr/share/xml-commons-jaxp-1.1-apis-1.3.03/LICENSE.dom-software.txt # xml-commons-jaxp-1.1-apis.noarch: W: file-not-utf8 /usr/share/xml-commons-jaxp-1.1-apis-1.3.03/LICENSE.dom-documentation.txt %doc %{_datadir}/%{name}-jaxp-1.1-apis-%{version} %{_javadir}/%{name}-jaxp-1.1-apis*.jar %ghost %{_javadir}/xml-commons-apis.jar %ghost %{_javadir}/jaxp11.jar %ghost %{_javadir}/jaxp.jar %ghost %{_javadir}/dom2.jar %ghost %{_javadir}/dom.jar %ghost %{_javadir}/sax2.jar %ghost %{_javadir}/sax.jar %files jaxp-1.1-apis-javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-jaxp-1.1-apis-%{version} %{_javadocdir}/%{name}-jaxp-1.1-apis %files jaxp-1.1-apis-manual %defattr(0644,root,root,0755) %doc %{_docdir}/%{name}-jaxp-1.1-apis-%{version} %files which10 %defattr(0644,root,root,0755) %{_javadir}/%{name}-which10*.jar %ghost %{_javadir}/xml-commons-which.jar %attr(0755,root,root) %{_bindir}/xml-which10 %attr(0755,root,root) %ghost %{_bindir}/xml-which %files which10-javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-which10-%{version} %{_javadocdir}/%{name}-which10 %files resolver10 %defattr(0644,root,root,0755) %{_javadir}/%{name}-resolver10*.jar %ghost %{_javadir}/xml-commons-resolver.jar %attr(0755,root,root) %{_bindir}/xml-resolver10 %attr(0755,root,root) %{_bindir}/xml-xread10 %attr(0755,root,root) %{_bindir}/xml-xparse10 %{_mandir}/man1/xml-resolver10.1* %{_mandir}/man1/xml-xread10.1* %{_mandir}/man1/xml-xparse10.1* %attr(0755,root,root) %ghost %{_bindir}/xml-resolver %attr(0755,root,root) %ghost %{_bindir}/xml-xread %attr(0755,root,root) %ghost %{_bindir}/xml-xparse # resolver10 # FIXME: not work with no antlr %if 0 %files resolver10-javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-resolver10-%{version} %endif %files resolver11 %defattr(0644,root,root,0755) %{_javadir}/%{name}-resolver11*.jar %ghost %{_javadir}/xml-commons-resolver.jar %attr(0755,root,root) %{_bindir}/xml-resolver11 %attr(0755,root,root) %{_bindir}/xml-xread11 %attr(0755,root,root) %{_bindir}/xml-xparse11 %{_mandir}/man1/xml-resolver11.1* %{_mandir}/man1/xml-xread11.1* %{_mandir}/man1/xml-xparse11.1* %attr(0755,root,root) %ghost %{_bindir}/xml-resolver %attr(0755,root,root) %ghost %{_bindir}/xml-xread %attr(0755,root,root) %ghost %{_bindir}/xml-xparse # resolver10 # FIXME: not work with no antlr %if 0 %files resolver11-javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-resolver11-%{version} %endif %files jaxp-1.2-apis %defattr(0644,root,root,0755) %{_javadir}/%{name}-jaxp-1.2-apis*.jar %doc %{_datadir}/%{name}-jaxp-1.2-apis-%{version} %ghost %{_javadir}/xml-commons-apis.jar %ghost %{_javadir}/jaxp12.jar %ghost %{_javadir}/jaxp.jar %ghost %{_javadir}/dom2.jar %ghost %{_javadir}/dom.jar %ghost %{_javadir}/sax2.jar %ghost %{_javadir}/sax.jar %files jaxp-1.2-apis-javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-jaxp-1.2-apis-%{version} %{_javadocdir}/%{name}-jaxp-1.2-apis %files jaxp-1.2-apis-manual %defattr(0644,root,root,0755) %{_docdir}/%{name}-jaxp-1.2-apis-%{version} %files jaxp-1.3-apis %defattr(0644,root,root,0755) %{_javadir}/%{name}-jaxp-1.3-apis-%{version}.jar %{_javadir}/%{name}-jaxp-1.3-apis.jar %{_javadir}/%{name}-jaxp-1.3-apis-ext-%{version}.jar %{_javadir}/%{name}-jaxp-1.3-apis-ext.jar %{_datadir}/maven2/poms/JPP-%{name}-apis.pom %{_datadir}/maven2/poms/JPP-%{name}-jaxp-1.3-apis.pom %{_datadir}/maven2/poms/JPP-%{name}-jaxp-1.3-apis-ext.pom %doc %{_datadir}/%{name}-jaxp-1.3-apis-%{version} %ghost %{_javadir}/xml-commons-apis.jar %ghost %{_javadir}/jaxp13.jar %ghost %{_javadir}/jaxp.jar %ghost %{_javadir}/dom3.jar %ghost %{_javadir}/dom.jar %ghost %{_javadir}/sax2.jar %ghost %{_javadir}/sax.jar %files jaxp-1.3-apis-javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-jaxp-1.3-apis-%{version} %{_javadocdir}/%{name}-jaxp-1.3-apis %{_javadocdir}/%{name}-apis %files jaxp-1.3-apis-manual %defattr(0644,root,root,0755) %{_docdir}/%{name}-jaxp-1.3-apis-%{version} %files which11 %defattr(0644,root,root,0755) %{_javadir}/%{name}-which11*.jar %ghost %{_javadir}/xml-commons-which.jar %attr(0755,root,root) %{_bindir}/xml-which11 %attr(0755,root,root) %ghost %{_bindir}/xml-which %files which11-javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-which11-%{version} %{_javadocdir}/%{name}-which11 %files resolver12 %defattr(0644,root,root,0755) %{_javadir}/%{name}-resolver12*.jar %ghost %{_javadir}/xml-commons-resolver.jar %attr(0755,root,root) %{_bindir}/xml-resolver12 %attr(0755,root,root) %{_bindir}/xml-xread12 %attr(0755,root,root) %{_bindir}/xml-xparse12 %{_mandir}/man1/xml-resolver12.1* %{_mandir}/man1/xml-xread12.1* %{_mandir}/man1/xml-xparse12.1* %attr(0755,root,root) %ghost %{_bindir}/xml-resolver %attr(0755,root,root) %ghost %{_bindir}/xml-xread %attr(0755,root,root) %ghost %{_bindir}/xml-xparse # resolver10 # FIXME: not work with no antlr %if 0 %files resolver12-javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-resolver12-%{version} %endif %if %{with_repolib} %files repolib %defattr(0644,root,root,0755) %{repodir} %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor