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