a1db36
Name:           xml-commons-resolver
a1db36
Epoch:          0
a1db36
Version:        1.2
bfe058
Release:        26%{?dist}
a1db36
Summary:        Resolver subproject of xml-commons
a1db36
License:        ASL 2.0
a1db36
URL:            http://xerces.apache.org/xml-commons/components/resolver/
a1db36
BuildArch:      noarch
a1db36
a1db36
Source0:        http://www.apache.org/dist/xerces/xml-commons/%{name}-%{version}.tar.gz
a1db36
Source5:        %{name}-pom.xml
a1db36
Source6:        %{name}-resolver.1
a1db36
Source7:        %{name}-xparse.1
a1db36
Source8:        %{name}-xread.1
a1db36
a1db36
Patch0:         %{name}-1.2-crosslink.patch
a1db36
Patch1:         %{name}-1.2-osgi.patch
a1db36
a1db36
BuildRequires:  javapackages-local
a1db36
BuildRequires:  ant
a1db36
BuildRequires:  apache-parent
bfe058
# Explicit javapackages-tools requires since scripts use
bfe058
# /usr/share/java-utils/java-functions
bfe058
Requires:       javapackages-tools
a1db36
a1db36
%description
a1db36
Resolver subproject of xml-commons.
a1db36
a1db36
%package javadoc
a1db36
Summary:        Javadoc for %{name}
a1db36
a1db36
%description javadoc
a1db36
Javadoc for %{name}.
a1db36
a1db36
%prep
a1db36
%setup -q
a1db36
%patch0 -p1
a1db36
%patch1 -p1
a1db36
a1db36
# remove all binary libs and prebuilt javadocs
a1db36
find . -name "*.jar" -exec rm -f {} \;
a1db36
rm -rf docs
a1db36
sed -i 's/\r//' KEYS LICENSE.resolver.txt NOTICE-resolver.txt
a1db36
a1db36
%mvn_file : xml-commons-resolver xml-resolver
a1db36
a1db36
%build
a1db36
%ant -f resolver.xml jar javadocs
a1db36
%mvn_artifact %{SOURCE5} build/resolver.jar
a1db36
a1db36
%install
a1db36
%mvn_install -J build/apidocs/resolver
a1db36
a1db36
# Scripts
a1db36
mkdir -p $RPM_BUILD_ROOT%{_bindir}
a1db36
%jpackage_script org.apache.xml.resolver.apps.resolver "" "" %{name} xml-resolver true
a1db36
%jpackage_script org.apache.xml.resolver.apps.xread "" "" %{name} xml-xread true
a1db36
%jpackage_script org.apache.xml.resolver.apps.xparse "" "" %{name} xml-xparse true
a1db36
a1db36
# Man pages
a1db36
install -d -m 755 ${RPM_BUILD_ROOT}%{_mandir}/man1
a1db36
install -p -m 644 %{SOURCE6} ${RPM_BUILD_ROOT}%{_mandir}/man1/xml-resolver.1
a1db36
install -p -m 644 %{SOURCE7} ${RPM_BUILD_ROOT}%{_mandir}/man1/xml-xparse.1
a1db36
install -p -m 644 %{SOURCE8} ${RPM_BUILD_ROOT}%{_mandir}/man1/xml-xread.1
a1db36
a1db36
%files -f .mfiles
a1db36
%doc KEYS LICENSE.resolver.txt NOTICE-resolver.txt
a1db36
%{_mandir}/man1/*
a1db36
%{_bindir}/xml-*
a1db36
a1db36
%files javadoc -f .mfiles-javadoc
a1db36
%doc LICENSE.resolver.txt NOTICE-resolver.txt
a1db36
a1db36
%changelog
bfe058
* Wed Aug 01 2018 Severin Gehwolf <sgehwolf@redhat.com> - 0:1.2-26
bfe058
- Add requirement on javapackages-tools since scripts use
bfe058
  java-functions.
bfe058
bfe058
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.2-25
bfe058
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
bfe058
a1db36
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.2-24
a1db36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a1db36
a1db36
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.2-23
a1db36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a1db36
a1db36
* Thu Feb 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.2-22
a1db36
- Update to current packaging guidelines
a1db36
a1db36
* Thu Feb 16 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.2-21
a1db36
- Fix rpm conditional
a1db36
a1db36
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.2-20
a1db36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a1db36
a1db36
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.2-19
a1db36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a1db36
a1db36
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-18
a1db36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a1db36
a1db36
* Fri Jun 13 2014 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-17
a1db36
- Fix FTBFS.
a1db36
a1db36
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-16
a1db36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a1db36
a1db36
* Mon Dec 23 2013 Ville Skyttä <ville.skytta@iki.fi> - 0:1.2-15
a1db36
- Use %%jpackage_script to generate scripts.
a1db36
- Add OSGi metadata to manifest instead of discarding everything else in it.
a1db36
- Drop dependency on xml-commons-api, add one on java(-headless).
a1db36
- Crosslink javadocs with Java's.
a1db36
- Include NOTICE* in docs.
a1db36
- Update URLs.
a1db36
- Specfile cleanups.
a1db36
a1db36
* Thu Aug 15 2013 Mat Booth <fedora@matbooth.co.uk> - 0:1.2-14
a1db36
- Fix FTBFS rhbz #993143
a1db36
a1db36
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-13
a1db36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a1db36
a1db36
* Thu Apr 11 2013 Michal Srb <msrb@redhat.com> - 0:1.2-12
a1db36
- Add man pages (Resolves: rhbz#949424)
a1db36
a1db36
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-11
a1db36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a1db36
a1db36
* Fri Aug 17 2012 Andy Grimm <agrimm@gmail.com> - 0:1.2-10
a1db36
- Remove osgi(system.bundle) requirement
a1db36
a1db36
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-9
a1db36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a1db36
a1db36
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-8
a1db36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a1db36
a1db36
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-7
a1db36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a1db36
a1db36
* Wed Nov 3 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-6
a1db36
- Fix merge review comments (bug#226564).
a1db36
a1db36
* Wed Nov 3 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-5
a1db36
- Add missing zip BR.
a1db36
- Remove perl and dos2unix usage.
a1db36
- Fix license - ASL 2.0 now.
a1db36
a1db36
* Fri Sep 24 2010 Mat Booth <fedora@matbooth.co.uk> 0:1.2-4
a1db36
- Forgot to actually install a jar with a name that maven users expect.
a1db36
a1db36
* Sun Sep 19 2010 Mat Booth <fedora@matbooth.co.uk> 0:1.2-3
a1db36
- Install a maven pom and depmap.
a1db36
a1db36
* Wed Apr 7 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-2
a1db36
- No need to require jaxp_parser_impl now that we require java 1.5 or newer.
a1db36
a1db36
* Fri Mar 5 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-1
a1db36
- Update to 1.2.
a1db36
- Drop gcj_support.
a1db36
a1db36
* Mon Jan 11 2010 Andrew Overholt <overholt@redhat.com> 0:1.1-4.17
a1db36
- Fix Group tags
a1db36
- Remove '.' at end of Summary
a1db36
- Add dos2unix BR and fix line endings
a1db36
- Use upstream tarball
a1db36
a1db36
* Sat Aug  8 2009 Ville Skyttä <ville.skytta@iki.fi> - 0:1.1-4.16
a1db36
- Fix specfile UTF-8 encoding.
a1db36
a1db36
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1-4.15
a1db36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a1db36
a1db36
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1-3.15
a1db36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a1db36
a1db36
* Fri Jan 30 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.1-2.15
a1db36
- Install osgi manifest for eclipse-dtp
a1db36
a1db36
* Fri Sep 05 2008 Deepak Bhole <dbhole@redhat.com> 1.1-2.14
a1db36
- Build with IcedTea to escape sinjdoc issues
a1db36
a1db36
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.1-2.13
a1db36
- drop repotag
a1db36
- fix license tag
a1db36
a1db36
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.1-2jpp.12
a1db36
- Autorebuild for GCC 4.3
a1db36
a1db36
* Thu Aug 10 2006 Deepak Bhole <dbhole@redhat.com> 1.1-1jpp.12
a1db36
- Added missing dependencies.
a1db36
a1db36
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.1-1jpp_11fc
a1db36
- Rebuilt
a1db36
a1db36
* Fri Jul 21 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.1-1jpp_10fc
a1db36
- Added conditional native compilation.
a1db36
a1db36
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.1-1jpp_9fc
a1db36
- rebuild
a1db36
a1db36
* Mon Mar  6 2006 Jeremy Katz <katzj@redhat.com> - 0:1.1-1jpp_8fc
a1db36
- stop scriptlet spew
a1db36
a1db36
* Wed Dec 21 2005 Jesse Keating <jkeating@redhat.com> 0:1.1-1jpp_7fc
a1db36
- rebuilt again
a1db36
a1db36
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> 0:1.1-1jpp_6fc
a1db36
- rebuilt
a1db36
a1db36
* Tue Jun 28 2005 Gary Benson <gbenson@redhat.com> 0:1.1-1jpp_5fc
a1db36
- Remove jarfile from the tarball.
a1db36
a1db36
* Thu Nov  4 2004 Gary Benson <gbenson@redhat.com> 0:1.1-1jpp_4fc
a1db36
- Build into Fedora.
a1db36
a1db36
* Thu Oct 28 2004 Gary Benson <gbenson@redhat.com> 0:1.1-1jpp_3fc
a1db36
- Bootstrap into Fedora.
a1db36
a1db36
* Thu Mar  4 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.1-1jpp_2rh
a1db36
- RH vacuuming part II
a1db36
a1db36
* Wed Mar  3 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.1-1jpp_1rh
a1db36
- RH vacuuming
a1db36
a1db36
* Wed Jan 21 2004 David Walluck <david@anti-microsoft.org> 0:1.1-1jpp
a1db36
- 1.1
a1db36
- use perl instead of patch
a1db36
- don't build docs (build fails)
a1db36
a1db36
* Tue May 06 2003 David Walluck <david@anti-microsoft.org> 0:1.0-2jpp
a1db36
- update for JPackage 1.5
a1db36
a1db36
* Wed Nov 13 2002 Ville Skyttä <ville.skytta@iki.fi> - 1.0-1jpp
a1db36
- Follow upstream changes, split out of xml-commons.