xml-commons-resolver-vl.spec 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. Name: xml-commons-resolver
  2. Version: 1.2
  3. Release: 18%{?_dist_release}
  4. Summary: Resolver subproject of xml-commons
  5. License: ASL 2.0
  6. Group: Development/Libraries
  7. URL: http://xerces.apache.org/xml-commons/components/resolver/
  8. Source0: http://www.apache.org/dist/xerces/xml-commons/%{name}-%{version}.tar.gz
  9. Source5: %{name}-pom.xml
  10. Source6: %{name}-resolver.1
  11. Source7: %{name}-xparse.1
  12. Source8: %{name}-xread.1
  13. Patch0: %{name}-1.2-crosslink.patch
  14. Patch1: %{name}-1.2-osgi.patch
  15. BuildArch: noarch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: java-devel >= 1.6.0
  18. BuildRequires: ant
  19. BuildRequires: javapackages-tools
  20. Requires: java-headless >= 1.6.0
  21. Requires: javapackages-tools
  22. %description
  23. Resolver subproject of xml-commons.
  24. %package javadoc
  25. Summary: Javadoc for %{name}
  26. Group: Documentation
  27. BuildRequires: java-javadoc
  28. Requires: java-javadoc
  29. %description javadoc
  30. Javadoc for %{name}.
  31. %prep
  32. %setup -q
  33. %patch0 -p1
  34. %patch1 -p1
  35. # remove all binary libs and prebuilt javadocs
  36. find . -name "*.jar" -exec rm -f {} \;
  37. rm -rf docs
  38. sed -i 's/\r//' KEYS LICENSE.resolver.txt NOTICE-resolver.txt
  39. %build
  40. %ant -f resolver.xml jar javadocs
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. # Jars
  44. install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
  45. install -p -m 644 build/resolver.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
  46. ln -s %{name}.jar $RPM_BUILD_ROOT%{_javadir}/xml-resolver.jar
  47. # Javadocs
  48. mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
  49. cp -pr build/apidocs/resolver/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
  50. # Scripts
  51. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  52. %jpackage_script org.apache.xml.resolver.apps.resolver "" "" %{name} xml-resolver true
  53. %jpackage_script org.apache.xml.resolver.apps.xread "" "" %{name} xml-xread true
  54. %jpackage_script org.apache.xml.resolver.apps.xparse "" "" %{name} xml-xparse true
  55. # Man pages
  56. install -d -m 755 ${RPM_BUILD_ROOT}%{_mandir}/man1
  57. install -p -m 644 %{SOURCE6} ${RPM_BUILD_ROOT}%{_mandir}/man1/xml-resolver.1
  58. install -p -m 644 %{SOURCE7} ${RPM_BUILD_ROOT}%{_mandir}/man1/xml-xparse.1
  59. install -p -m 644 %{SOURCE8} ${RPM_BUILD_ROOT}%{_mandir}/man1/xml-xread.1
  60. # Pom
  61. #install -d -m 755 %{buildroot}%{_mavenpomdir}
  62. #install -p -m 644 %{SOURCE5} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
  63. #add_maven_depmap JPP-%{name}.pom %{name}.jar
  64. %clean
  65. rm -rf $RPM_BUILD_ROOT
  66. #files -f .mfiles
  67. %files
  68. %doc KEYS LICENSE.resolver.txt NOTICE-resolver.txt
  69. #{_mavenpomdir}/*
  70. %{_javadir}/*
  71. %{_mandir}/man1/*
  72. %{_bindir}/xml-*
  73. %files javadoc
  74. %{_javadocdir}/%{name}
  75. %doc LICENSE.resolver.txt NOTICE-resolver.txt
  76. %changelog
  77. * Sat Jan 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.2-18
  78. - Initial build for Vine Linux
  79. * Fri Jun 13 2014 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-17
  80. - Fix FTBFS.
  81. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-16
  82. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  83. * Mon Dec 23 2013 Ville Skyttä <ville.skytta@iki.fi> - 0:1.2-15
  84. - Use %%jpackage_script to generate scripts.
  85. - Add OSGi metadata to manifest instead of discarding everything else in it.
  86. - Drop dependency on xml-commons-api, add one on java(-headless).
  87. - Crosslink javadocs with Java's.
  88. - Include NOTICE* in docs.
  89. - Update URLs.
  90. - Specfile cleanups.
  91. * Thu Aug 15 2013 Mat Booth <fedora@matbooth.co.uk> - 0:1.2-14
  92. - Fix FTBFS rhbz #993143
  93. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-13
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  95. * Thu Apr 11 2013 Michal Srb <msrb@redhat.com> - 0:1.2-12
  96. - Add man pages (Resolves: rhbz#949424)
  97. * Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-11
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  99. * Fri Aug 17 2012 Andy Grimm <agrimm@gmail.com> - 0:1.2-10
  100. - Remove osgi(system.bundle) requirement
  101. * Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-9
  102. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  103. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-8
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  105. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.2-7
  106. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  107. * Wed Nov 3 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-6
  108. - Fix merge review comments (bug#226564).
  109. * Wed Nov 3 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-5
  110. - Add missing zip BR.
  111. - Remove perl and dos2unix usage.
  112. - Fix license - ASL 2.0 now.
  113. * Fri Sep 24 2010 Mat Booth <fedora@matbooth.co.uk> 0:1.2-4
  114. - Forgot to actually install a jar with a name that maven users expect.
  115. * Sun Sep 19 2010 Mat Booth <fedora@matbooth.co.uk> 0:1.2-3
  116. - Install a maven pom and depmap.
  117. * Wed Apr 7 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-2
  118. - No need to require jaxp_parser_impl now that we require java 1.5 or newer.
  119. * Fri Mar 5 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.2-1
  120. - Update to 1.2.
  121. - Drop gcj_support.
  122. * Mon Jan 11 2010 Andrew Overholt <overholt@redhat.com> 0:1.1-4.17
  123. - Fix Group tags
  124. - Remove '.' at end of Summary
  125. - Add dos2unix BR and fix line endings
  126. - Use upstream tarball
  127. * Sat Aug 8 2009 Ville Skyttä <ville.skytta@iki.fi> - 0:1.1-4.16
  128. - Fix specfile UTF-8 encoding.
  129. * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1-4.15
  130. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  131. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.1-3.15
  132. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  133. * Fri Jan 30 2009 Alexander Kurtakov <akurtako@redhat.com> 0:1.1-2.15
  134. - Install osgi manifest for eclipse-dtp
  135. * Fri Sep 05 2008 Deepak Bhole <dbhole@redhat.com> 1.1-2.14
  136. - Build with IcedTea to escape sinjdoc issues
  137. * Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.1-2.13
  138. - drop repotag
  139. - fix license tag
  140. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.1-2jpp.12
  141. - Autorebuild for GCC 4.3
  142. * Thu Aug 10 2006 Deepak Bhole <dbhole@redhat.com> 1.1-1jpp.12
  143. - Added missing dependencies.
  144. * Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.1-1jpp_11fc
  145. - Rebuilt
  146. * Fri Jul 21 2006 Deepak Bhole <dbhole@redhat.com> - 0:1.1-1jpp_10fc
  147. - Added conditional native compilation.
  148. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.1-1jpp_9fc
  149. - rebuild
  150. * Mon Mar 6 2006 Jeremy Katz <katzj@redhat.com> - 0:1.1-1jpp_8fc
  151. - stop scriptlet spew
  152. * Wed Dec 21 2005 Jesse Keating <jkeating@redhat.com> 0:1.1-1jpp_7fc
  153. - rebuilt again
  154. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> 0:1.1-1jpp_6fc
  155. - rebuilt
  156. * Tue Jun 28 2005 Gary Benson <gbenson@redhat.com> 0:1.1-1jpp_5fc
  157. - Remove jarfile from the tarball.
  158. * Thu Nov 4 2004 Gary Benson <gbenson@redhat.com> 0:1.1-1jpp_4fc
  159. - Build into Fedora.
  160. * Thu Oct 28 2004 Gary Benson <gbenson@redhat.com> 0:1.1-1jpp_3fc
  161. - Bootstrap into Fedora.
  162. * Thu Mar 4 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.1-1jpp_2rh
  163. - RH vacuuming part II
  164. * Wed Mar 3 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.1-1jpp_1rh
  165. - RH vacuuming
  166. * Wed Jan 21 2004 David Walluck <david@anti-microsoft.org> 0:1.1-1jpp
  167. - 1.1
  168. - use perl instead of patch
  169. - don't build docs (build fails)
  170. * Tue May 06 2003 David Walluck <david@anti-microsoft.org> 0:1.0-2jpp
  171. - update for JPackage 1.5
  172. * Wed Nov 13 2002 Ville Skyttä <ville.skytta@iki.fi> - 1.0-1jpp
  173. - Follow upstream changes, split out of xml-commons.