Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
junit4
junit4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File junit4.spec of Package junit4
# # spec file for package junit4 (Version 4.5) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: junit4 Version: 4.5 Release: 3 Summary: Java regression test package License: Common Public License v1.0 Url: http://www.junit.org/ Group: Development/Libraries/Java # cvs -d:pserver:anonymous@junit.cvs.sourceforge.net:/cvsroot/junit login # cvs -z3 -d:pserver:anonymous@junit.cvs.sourceforge.net:/cvsroot/junit export -r r45 -d junit-4.5 junit # tar cjf junit-4.5.tar.bz2 junit-4.5/ Source0: junit-4.5.tar.bz2 Source1: junit-4.5.pom Requires(post): jpackage-utils >= 1.7.4 Requires(postun): jpackage-utils >= 1.7.4 Requires: hamcrest Requires: java >= 1.5.0 BuildRequires: ant BuildRequires: jpackage-utils >= 1.7.4 BuildRequires: java-devel >= 1.5.0 BuildRequires: hamcrest BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %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 Common Public License Version 1.0 and JUnit is Open Source Software, released under the IBM Public License and hosted on SourceForge. %package manual License: Common Public License v1.0 Group: Development/Libraries/Java Summary: Java regression test package %description manual 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 Common Public License Version 1.0 and JUnit is Open Source Software, released under the IBM Public License and hosted on SourceForge. %package javadoc License: Common Public License v1.0 Group: Development/Libraries/Java Summary: Java regression test package %description javadoc 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 Common Public License Version 1.0 and JUnit is Open Source Software, released under the IBM Public License and hosted on SourceForge. %package demo License: Common Public License v1.0 Group: Development/Libraries/Java Summary: Java regression test package Requires: %{name} = %{version}-%{release} %description demo 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 Common Public License Version 1.0 and JUnit is Open Source Software, released under the IBM Public License and hosted on SourceForge. %prep %setup -q -n junit-%{version} find . -type f -name "*.jar" | xargs -t rm ln -s $(build-classpath hamcrest/core) lib/hamcrest-core-1.1.jar perl -pi -e 's/\r$//g' stylesheet.css %build export CLASSPATH= export OPT_JAR_LIST=: ant -Dant.build.javac.source=1.5 dist %install # jars install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -m 644 junit%{version}/junit-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar pushd $RPM_BUILD_ROOT%{_javadir} ln -sf %{name}-%{version}.jar %{name}.jar popd # pom install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom %add_to_maven_depmap junit junit %{version} JPP %{name} # javadoc install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} cp -pr junit%{version}/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # demo install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/demo/junit # Not using %name for last part because it is # part of package name cp -pr junit%{version}/junit/* $RPM_BUILD_ROOT%{_datadir}/%{name}/demo/junit %clean rm -rf $RPM_BUILD_ROOT %post %update_maven_depmap %postun %update_maven_depmap %files %defattr(0644,root,root,0755) %doc cpl-v10.html README.html %{_javadir}/%{name}.jar %{_javadir}/%{name}-%{version}.jar %{_datadir}/maven2/* %config %{_mavendepmapfragdir}/* %files demo %defattr(0644,root,root,0755) %{_datadir}/%{name} %files javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-%{version} %{_javadocdir}/%{name} %files manual %defattr(0644,root,root,0755) %doc junit%{version}/doc/* %changelog * Thu Apr 23 2009 mvyskocil@suse.cz - Initial SUSE packaging of junit 4 4.5 from jpp 5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor