junit-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. Name: junit
  2. Version: 4.12
  3. Release: 1%{?dist}
  4. Summary: Java regression test package
  5. Summary(ja): Java でリグレッションテストを行うためのフレームワーク
  6. License: EPL
  7. URL: http://www.junit.org/
  8. Group: Development/Tools
  9. Source0: junit-%{version}.jar
  10. Source1: junit-%{version}-javadoc.jar
  11. Buildarch: noarch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: unzip
  14. #BuildRequires: ant
  15. Requires: javapackages-tools
  16. Requires: java-headless
  17. Obsoletes: junit-demos < %{version}-%{release}
  18. Obsoletes: junit-manual < %{version}-%{release}
  19. %description
  20. JUnit is a regression testing framework written by Erich Gamma and Kent
  21. Beck. It is used by the developer who implements unit tests in Java.
  22. JUnit is Open Source Software, released under the IBM Public License and
  23. hosted on SourceForge.
  24. #%package manual
  25. #Group: Documentation
  26. #Summary: Manual for %{name}
  27. #
  28. #%description manual
  29. #Documentation for %{name}.
  30. %package javadoc
  31. Group: Documentation
  32. Summary: Javadoc for %{name}
  33. %description javadoc
  34. Javadoc for %{name}.
  35. %prep
  36. %setup -q -T -b 1 -c -n %{name}-%{version}
  37. %build
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. # extract sources
  41. unzip %{SOURCE0} LICENSE-junit.txt
  42. # jars
  43. install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
  44. install -m 644 %{SOURCE0} $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
  45. # javadoc
  46. install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
  47. cp -pr *.html *.css org resources $RPM_BUILD_ROOT%{_javadocdir}/%{name}/
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %files
  51. %defattr(-,root,root,-)
  52. %doc LICENSE-junit.txt
  53. %{_javadir}/*
  54. #files manual
  55. #defattr(0644,root,root,0755)
  56. #doc doc/*
  57. %files javadoc
  58. %defattr(-,root,root,-)
  59. #doc %{_javadocdir}/%{name}-%{version}
  60. %doc %{_javadocdir}/%{name}
  61. %changelog
  62. * Fri Mar 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.1.2-1
  63. - updated to 4.1.2
  64. - removed java-1.5.0-gcj dependency
  65. * Sat Jun 16 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.8.2-8
  66. - rebuilt with rpm-4.8.1-3
  67. * Wed Sep 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.8.2-7
  68. - Initial build for Vine Linux
  69. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.2-6.4
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  71. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.2-5.4
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  73. * Wed Jul 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.8.2-4.4
  74. - drop repotag
  75. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.8.2-4jpp.3
  76. - Autorebuild for GCC 4.3
  77. * Thu Sep 20 2007 Deepak Bhole <dbhole@redhat.com> - 3.8.2-3jpp.3
  78. - Fix location of stylesheet for javadocs
  79. * Thu Sep 20 2007 Deepak Bhole <dbhole@redhat.com> - 3.8.2-3jpp.2
  80. - Rebuild for ppc32 execmem issue and new build-id
  81. * Mon Feb 12 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 3.8.2-3jpp.1.fc7
  82. - Add dist tag
  83. * Mon Feb 12 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 3.8.2-3jpp.1
  84. - Committed on behalf of Tania Bento <tbento@redhat.com>
  85. - Update per Fedora review process
  86. - Resolves rhbz#225954
  87. * Thu Aug 10 2006 Deepak Bhole <dbhole@redhat.com> - 0:3.8.2-3jpp.1
  88. - Added missing requirements.
  89. * Thu Aug 10 2006 Karsten Hopp <karsten@redhat.de> 0:3.8.2-2jpp_3fc
  90. - Require(post/postun): coreutils
  91. * Sun Jun 23 2006 Deepak Bhole <dbhole@redhat.com> - 0:3.8.2-2jpp_2fc
  92. - Rebuilt.
  93. * Sat Jun 22 2006 Deepak Bhole <dbhole@redhat.com> - 0:3.8.2-2jpp_1fc
  94. - Upgrade to 3.8.2
  95. - Added conditional native compilation.
  96. - Fix path where demo is located.
  97. * Mon Mar 03 2006 Ralph Apel <r.apel at r-apel.de> - 0:3.8.2-1jpp
  98. - First JPP-1.7 release
  99. * Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:3.8.1-4jpp
  100. - Rebuild with ant-1.6.2
  101. * Fri May 09 2003 David Walluck <david@anti-microsoft.org> 0:3.8.1-3jpp
  102. - update for JPackage 1.5
  103. * Fri Mar 21 2003 Nicolas Mailhot <Nicolas.Mailhot (at) JPackage.org> 3.8.1-2jpp
  104. - For jpackage-utils 1.5
  105. * Fri Sep 06 2002 Henri Gomez <hgomez@users.sourceforge.net> 3.8.1-1jpp
  106. - 3.8.1
  107. * Sun Sep 01 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 3.8-2jpp
  108. - used original zip file
  109. * Thu Aug 29 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 3.8-1jpp
  110. - 3.8
  111. - group, vendor and distribution tags
  112. * Sat Jan 19 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 3.7-6jpp
  113. - versioned dir for javadoc
  114. - no dependencies for manual and javadoc packages
  115. - stricter dependency for demo package
  116. - additional sources in individual archives
  117. - section macro
  118. * Sat Dec 1 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 3.7-5jpp
  119. - javadoc in javadoc package
  120. * Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 3.7-4jpp
  121. - fixed previous releases ...grrr
  122. * Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 3.7-3jpp
  123. - added jpp extension
  124. - removed packager tag
  125. * Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 3.7-2jpp
  126. - first unified release
  127. - s/jPackage/JPackage
  128. * Mon Sep 17 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 3.7-1mdk
  129. - 3.7
  130. - vendor tag
  131. - packager tag
  132. - s/Copyright/License/
  133. - truncated description to 72 columns in spec
  134. - spec cleanup
  135. - used versioned jar
  136. - moved demo files to %%{_datadir}/%%{name}
  137. * Sat Feb 17 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 3.5-1mdk
  138. - first Mandrake release