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