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