regexp-vl.spec 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. Name: regexp
  2. Version: 1.5
  3. Release: 19%{?_dist_release}
  4. Summary: Simple regular expressions API
  5. Summary(ja): シンプルな正規表現 API
  6. License: ASL 2.0
  7. Group: Development/Libraries
  8. URL: http://jakarta.apache.org/%{name}/
  9. Source0: http://archive.apache.org/dist/jakarta/%{name}/jakarta-%{name}-%{version}.tar.gz
  10. BuildArch: noarch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: ant
  13. Requires: java-headless
  14. %description
  15. Regexp is a 100% Pure Java Regular Expression package that was
  16. graciously donated to the Apache Software Foundation by Jonathan Locke.
  17. He originally wrote this software back in 1996 and it has stood up quite
  18. well to the test of time.
  19. It includes complete Javadoc documentation as well as a simple Applet
  20. for visual debugging and testing suite for compatibility.
  21. %package javadoc
  22. Summary: Javadoc for %{name}
  23. Summary(ja): %{name} の Javadoc
  24. Group: Documentation
  25. %description javadoc
  26. Javadoc for %{name}.
  27. %prep
  28. %setup -q -n jakarta-%{name}-%{version}
  29. # remove all binary libs
  30. find . -name "*.jar" -exec rm -f {} \;
  31. %build
  32. mkdir lib
  33. %ant -Djakarta-site2.dir=. jar javadocs
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. # jars
  37. install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
  38. install -m 644 build/*.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
  39. # javadoc
  40. install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
  41. cp -pr docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
  42. #add_maven_depmap jakarta-%{name}:jakarta-%{name}:%{version} -a %{name}:%{name} %{name}.jar
  43. %check
  44. %ant -Djakarta-site2.dir=. test
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. #files -f .mfiles
  48. %files
  49. %defattr(-,root,root,-)
  50. %doc LICENSE
  51. %{_javadir}/%{name}.jar
  52. %files javadoc
  53. %defattr(-,root,root,-)
  54. %doc LICENSE
  55. %{_javadocdir}/%{name}
  56. %changelog
  57. * Sat Jan 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.5-19
  58. - Initial build for Vine Linux
  59. * Wed Jul 9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:1.5-18
  60. - Bump epoch as workaround for koji-shadow limitation
  61. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-17
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  63. * Mon Jun 2 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-16
  64. - Fix dist tag
  65. * Mon May 12 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5-15
  66. - Update to current packaging guidelines
  67. - Resolves: rhbz#976723
  68. * Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.5-14
  69. - Use Requires: java-headless rebuild (#1067528)
  70. * Fri Jul 26 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.5-13
  71. - Rebuild for #988462
  72. * Tue Jul 23 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.5-12
  73. - Enable testsuite
  74. * Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.5-11
  75. - Rebuild to regenerate API documentation
  76. - Resolves: CVE-2013-1571
  77. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-10
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  79. * Wed Oct 31 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.5-9
  80. - Install LICENSE file with javadoc package
  81. - Add maven POM file
  82. - Update to current packaging guidelines
  83. - Convert versioned JAR to unversioned
  84. * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-8
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  86. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-7
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  88. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-6
  89. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  90. * Wed Oct 6 2010 Alexander Kurtakov <akurtako@redhat.com> 0:1.5-5
  91. - Drop gcj support.
  92. * Fri Jan 08 2010 Andrew Overholt <overholt@redhat.com> 1.5-4.3
  93. - Remove javadoc ghost symlinking.
  94. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-4.2
  95. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  96. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.5-3.2
  97. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  98. * Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.5-2.2
  99. - drop repotag
  100. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.5-2jpp.1
  101. - Autorebuild for GCC 4.3
  102. * Sat Feb 9 2008 Devrim GUNDUZ <devrim@commandprompt.com> 0:1.5-1jpp.1
  103. - Update to 1.5
  104. - Fix license
  105. - Cosmetic cleanup
  106. * Thu Feb 8 2007 Vivek Lakshmanan <vivekl at redhat.com> 0:1.4-3jpp.1.fc7
  107. - Resync with JPP
  108. - Use the upstream tar ball as JPP does since they clean it off jars anyway
  109. - Use JPackage exception compliant naming scheme
  110. - Remove section definition
  111. - Install unversioned symlink
  112. - Add missing ghost for unversioned link
  113. - Add requires on java
  114. * Fri Aug 4 2006 Vivek Lakshmanan <vivekl@redhat.com> 0:1.4-2jpp.2
  115. - Rebuild.
  116. * Fri Aug 4 2006 Vivek Lakshmanan <vivekl@redhat.com> 0:1.4-2jpp.1
  117. - Merge with latest from JPP.
  118. - Remove prebuilt jars from new source tar ball.
  119. * Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.3-2jpp_9fc
  120. - Rebuilt
  121. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.3-2jpp_8fc
  122. - rebuild
  123. * Mon Mar 6 2006 Jeremy Katz <katzj@redhat.com> - 0:1.3-2jpp_7fc
  124. - stop scriptlet spew
  125. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:1.3-2jpp_6fc
  126. - bump again for double-long bug on ppc(64)
  127. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0:1.3-2jpp_5fc
  128. - rebuilt for new gcc4.1 snapshot and glibc changes
  129. * Wed Dec 21 2005 Jesse Keating <jkeating@redhat.com> 0:1.2-2jpp_4fc
  130. - rebuilt again
  131. * Tue Dec 13 2005 Jesse Keating <jkeating@redhat.com>
  132. - rebuilt for new gcj
  133. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  134. - rebuilt
  135. * Fri Jul 15 2005 Gary Benson <gbenson@redhat.com> 0:1.3-2jpp_3fc
  136. - Build on ia64, ppc64, s390 and s390x.
  137. - Switch to aot-compile-rpm.
  138. * Tue Jun 14 2005 Gary Benson <gbenson@redhat.com> 0:1.3-2jpp_2fc
  139. - Remove jarfile from the tarball.
  140. * Thu May 26 2005 Gary Benson <gbenson@redhat.com> 0:1.3-2jpp_1fc
  141. - Upgrade to 1.3-2jpp.
  142. - Rearrange how BC-compiled stuff is built and installed.
  143. * Mon May 23 2005 Gary Benson <gbenson@redhat.com> 0:1.3-1jpp_6fc
  144. - Add alpha to the list of build architectures (#157522).
  145. - Use absolute paths for rebuild-gcj-db.
  146. * Thu May 5 2005 Gary Benson <gbenson@redhat.com> 0:1.3-1jpp_5fc
  147. - BC-compile.
  148. * Tue Jan 11 2005 Gary Benson <gbenson@redhat.com> 0:1.3-1jpp_4fc
  149. - Sync with RHAPS.
  150. * Thu Nov 4 2004 Gary Benson <gbenson@redhat.com> 0:1.3-1jpp_3fc
  151. - Build into Fedora.
  152. * Fri Oct 1 2004 Andrew Overholt <overholt@redhat.com> 0:1.3-1jpp_3rh
  153. - add coreutils BuildRequires
  154. * Wed Aug 25 2004 Fernando Nasser <fnasser@redhat.com> 0:1.3-2jpp
  155. - Require Ant > 1.6
  156. - Rebuild with Ant 1.6.2
  157. * Fri Mar 26 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.3-1jpp_2rh
  158. - add RHUG upgrade cleanup
  159. * Thu Mar 3 2004 Frank Ch. Eigler <fche@redhat.com> 0:1.3-1jpp_1rh
  160. - RH vacuuming
  161. * Thu Oct 09 2003 Henri Gomez <hgomez at users.sourceforge.net> 0:1.3-1jpp
  162. - regexp 1.3
  163. * Fri May 09 2003 David Walluck <david@anti-microsoft.org> 0:1.2-14jpp
  164. - update for JPackage 1.5
  165. * Fri Mar 23 2003 Nicolas Mailhot <Nicolas.Mailhot (at) JPackage.org> 1.2-13jpp
  166. - for jpackage-utils 1.5
  167. * Tue Jul 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.2-11jpp
  168. - section marcro
  169. - removed additional symlink
  170. * Mon Jun 24 2002 Henri Gomez <hgomez@slib.fr> 1.2-10jpp
  171. - add official jakarta jarname (jakarta-regexp-1.2.jar) symlink to real
  172. jarname
  173. * Mon Jun 10 2002 Henri Gomez <hgomez@slib.fr> 1.2-9jpp
  174. - use sed instead of bash 2.x extension in link area to make spec compatible
  175. with distro using bash 1.1x
  176. - use official tarball
  177. * Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.2-8jpp
  178. - versioned dir for javadoc
  179. - no dependencies javadoc package
  180. * Sat Dec 1 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.2-7jpp
  181. - javadoc in javadoc package
  182. - official summary
  183. * Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 1.2-5jpp
  184. - removed packager tag
  185. - new jpp extension
  186. * Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.2-5jpp
  187. - first unified release
  188. - s/jPackage/JPackage
  189. * Sun Aug 26 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 1.2-4mdk
  190. - vendor tag
  191. - packager tag
  192. - s/Copyright/License/
  193. - truncated description to 72 columns in spec
  194. - spec cleanup
  195. - used versioned jar
  196. - used new source packaging policy
  197. * Sat Feb 17 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-3mdk
  198. - spec cleanup
  199. - changelog correction
  200. * Sun Feb 04 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-2mdk
  201. - merged with Henri Gomez <hgomez@slib.fr> specs:
  202. - changed name to regexp
  203. - changed javadir to /usr/share/java
  204. - dropped jdk & jre requirement
  205. - added Jikes support
  206. - changed jar name to regexp.jar
  207. - corrected doc
  208. * Sun Jan 14 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.2-1mdk
  209. - first Mandrake release