From dd27c3e0dc3fe4c1dd2213a070aeddd0d0afd5d8 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 06:36:44 +0000 Subject: [PATCH] auto-import changelog data from junit-3.8.1-1.src.rpm Fri Sep 12 2003 Gary Benson 3.8.1-1 - Clarify the -devel subpackage's summary and description. - Remove unnecessary -devel dependencies (#99077). - Ensure we have a working javaconfig. Thu Jun 05 2003 Gary Benson - Initial Red Hat Linux build. Tue Dec 03 2002 Gary Benson - Initial RHUG build. --- .cvsignore | 2 ++ junit.spec | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 2 ++ 3 files changed, 97 insertions(+) create mode 100644 junit.spec diff --git a/.cvsignore b/.cvsignore index e69de29..857f47e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1,2 @@ +junit3.8.1.zip +rhug-junit-20030606.tar.bz2 diff --git a/junit.spec b/junit.spec new file mode 100644 index 0000000..96e15b3 --- /dev/null +++ b/junit.spec @@ -0,0 +1,93 @@ +%define rhugversion 20030606 +%define rhugsource1 %{name}%{version} upstream +%define rhugprep1 sh %{SOURCE2} %{name}%{version} +%define rhugpatches 2 3 + +Summary: Regression testing framework for Java +Name: junit +Version: 3.8.1 +Release: 1 +URL: http://www.junit.org/ +Source: rhug-%{name}-%{rhugversion}.tar.bz2 +Source1: %{name}%{version}.zip +Source2: build-srcdir.sh +Patch1: %{name}-3.8.1-release.patch +Patch2: %{name}-3.8.1-exitstatus.patch +Patch3: %{name}-3.8.1-classloader.patch +License: IBM Common Public License +Group: System Environment/Libraries +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildPrereq: gcc-c++-ssa +BuildPrereq: gcc-java-ssa >= 3.5ssa-0.20030801.34 +Prereq: redhat-java-rpm-scripts >= 1.0.2-2 +Requires: libgcj-ssa >= 3.5ssa-0.20030801.34 +ExclusiveArch: i386 x86_64 ppc ia64 + +%description +JUnit is a regression testing framework used to implement unit tests +in Java. + +%package devel +Summary: CNI headers for developing JUnit applications +Group: Development/Libraries +Requires: junit = %{version}-%{release} + +%description devel +The junit-devel package contains the headers required to develop +Cygnus Native Interface (CNI) extensions that use JUnit. + +%prep +%setup -q -a 1 +mv %{rhugsource1} && %{rhugprep1} +%patch1 -p0 -b .release +%patch2 -p1 -b .exitstatus +%patch3 -p1 -b .classloader +mv ChangeLog ChangeLog.rhug +mv TODO TODO.rhug + +%build +CC=gcc-ssa CXX=g++-ssa GCJ=gcj-ssa GCJH=gcjh-ssa \ +./configure --disable-static --prefix=%{_prefix} +make +make test + +%install +rm -rf ${RPM_BUILD_ROOT} +%makeinstall +rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la +find ${RPM_BUILD_ROOT}%{_libdir} -type l | xargs rm -f + +%post +%{_sbindir}/javaconfig \ + %{_libdir}/lib-junit.so \ + %{_datadir}/java/junit.jar + +%postun +%{_sbindir}/javaconfig \ + %{_libdir}/lib-junit.so \ + %{_datadir}/java/junit.jar + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc *.rhug upstream/*.html +%{_libdir}/*.so +%{_datadir}/java/*.jar + +%files devel +%defattr(-,root,root) +%{_includedir}/junit + +%changelog +* Fri Sep 12 2003 Gary Benson 3.8.1-1 +- Clarify the -devel subpackage's summary and description. +- Remove unnecessary -devel dependencies (#99077). +- Ensure we have a working javaconfig. + +* Thu Jun 5 2003 Gary Benson +- Initial Red Hat Linux build. + +* Tue Dec 3 2002 Gary Benson +- Initial RHUG build. diff --git a/sources b/sources index e69de29..fbf3bbc 100644 --- a/sources +++ b/sources @@ -0,0 +1,2 @@ +5110326e4b7f7497dfa60ede4b626751 junit3.8.1.zip +2fdaeaa588d924c0d87ea33d01252689 rhug-junit-20030606.tar.bz2