Name: junit Version: 4.12 Release: 1%{?dist} Summary: Java regression test package Summary(ja): Java でリグレッションテストを行うためのフレームワーク License: EPL URL: http://www.junit.org/ Group: Development/Tools Source0: junit-%{version}.jar Source1: junit-%{version}-javadoc.jar Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: unzip #BuildRequires: ant Requires: javapackages-tools Requires: java-headless Obsoletes: junit-demos < %{version}-%{release} Obsoletes: junit-manual < %{version}-%{release} %description JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. JUnit is Open Source Software, released under the IBM Public License and hosted on SourceForge. #%package manual #Group: Documentation #Summary: Manual for %{name} # #%description manual #Documentation for %{name}. %package javadoc Group: Documentation Summary: Javadoc for %{name} %description javadoc Javadoc for %{name}. %prep %setup -q -T -b 1 -c -n %{name}-%{version} %build %install rm -rf $RPM_BUILD_ROOT # extract sources unzip %{SOURCE0} LICENSE-junit.txt # jars install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -m 644 %{SOURCE0} $RPM_BUILD_ROOT%{_javadir}/%{name}.jar # javadoc install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name} cp -pr *.html *.css org resources $RPM_BUILD_ROOT%{_javadocdir}/%{name}/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE-junit.txt %{_javadir}/* #files manual #defattr(0644,root,root,0755) #doc doc/* %files javadoc %defattr(-,root,root,-) #doc %{_javadocdir}/%{name}-%{version} %doc %{_javadocdir}/%{name} %changelog * Fri Mar 20 2015 Ryoichi INAGAKI - 4.1.2-1 - updated to 4.1.2 - removed java-1.5.0-gcj dependency * Sat Jun 16 2012 Ryoichi INAGAKI - 3.8.2-8 - rebuilt with rpm-4.8.1-3 * Wed Sep 1 2010 Ryoichi INAGAKI - 3.8.2-7 - Initial build for Vine Linux * Fri Jul 24 2009 Fedora Release Engineering - 3.8.2-6.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 3.8.2-5.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Jul 9 2008 Tom "spot" Callaway - 3.8.2-4.4 - drop repotag * Mon Feb 18 2008 Fedora Release Engineering - 3.8.2-4jpp.3 - Autorebuild for GCC 4.3 * Thu Sep 20 2007 Deepak Bhole - 3.8.2-3jpp.3 - Fix location of stylesheet for javadocs * Thu Sep 20 2007 Deepak Bhole - 3.8.2-3jpp.2 - Rebuild for ppc32 execmem issue and new build-id * Mon Feb 12 2007 Thomas Fitzsimmons - 3.8.2-3jpp.1.fc7 - Add dist tag * Mon Feb 12 2007 Thomas Fitzsimmons - 3.8.2-3jpp.1 - Committed on behalf of Tania Bento - Update per Fedora review process - Resolves rhbz#225954 * Thu Aug 10 2006 Deepak Bhole - 0:3.8.2-3jpp.1 - Added missing requirements. * Thu Aug 10 2006 Karsten Hopp 0:3.8.2-2jpp_3fc - Require(post/postun): coreutils * Sun Jun 23 2006 Deepak Bhole - 0:3.8.2-2jpp_2fc - Rebuilt. * Sat Jun 22 2006 Deepak Bhole - 0:3.8.2-2jpp_1fc - Upgrade to 3.8.2 - Added conditional native compilation. - Fix path where demo is located. * Mon Mar 03 2006 Ralph Apel - 0:3.8.2-1jpp - First JPP-1.7 release * Sun Aug 23 2004 Randy Watler - 0:3.8.1-4jpp - Rebuild with ant-1.6.2 * Fri May 09 2003 David Walluck 0:3.8.1-3jpp - update for JPackage 1.5 * Fri Mar 21 2003 Nicolas Mailhot 3.8.1-2jpp - For jpackage-utils 1.5 * Fri Sep 06 2002 Henri Gomez 3.8.1-1jpp - 3.8.1 * Sun Sep 01 2002 Guillaume Rousse 3.8-2jpp - used original zip file * Thu Aug 29 2002 Guillaume Rousse 3.8-1jpp - 3.8 - group, vendor and distribution tags * Sat Jan 19 2002 Guillaume Rousse 3.7-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - stricter dependency for demo package - additional sources in individual archives - section macro * Sat Dec 1 2001 Guillaume Rousse 3.7-5jpp - javadoc in javadoc package * Wed Nov 21 2001 Christian Zoffoli 3.7-4jpp - fixed previous releases ...grrr * Wed Nov 21 2001 Christian Zoffoli 3.7-3jpp - added jpp extension - removed packager tag * Sun Sep 30 2001 Guillaume Rousse 3.7-2jpp - first unified release - s/jPackage/JPackage * Mon Sep 17 2001 Guillaume Rousse 3.7-1mdk - 3.7 - vendor tag - packager tag - s/Copyright/License/ - truncated description to 72 columns in spec - spec cleanup - used versioned jar - moved demo files to %%{_datadir}/%%{name} * Sat Feb 17 2001 Guillaume Rousse 3.5-1mdk - first Mandrake release