Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Ports
junit4
junit4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File junit4.spec of Package junit4
# # spec file for package junit4 # # Copyright (c) 2013 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.10 Release: 0 Summary: Java regression test package License: CPL-1.0 Group: Development/Libraries/Java Url: http://www.junit.org/ # git clone https://github.com/KentBeck/junit.git # cd junit # git archive --format=tar --prefix=junit-4.10/ r4.10 |xz -9 > ../junit-4.10.tar.xz Source0: junit-4.10.tar.xz Source1: junit-4.10.pom # backport cb69050a45f1688ad8c6e817cc511cfa67401f63, that fixes an occasional failure in ParentRunnerTest.useChildHarvester Patch1: jdk7-testfailure.patch Requires(post): javapackages-tools Requires(postun): javapackages-tools Requires: hamcrest Requires: java >= 1.5.0 BuildRequires: ant BuildRequires: hamcrest BuildRequires: java-devel >= 1.5.0 BuildRequires: javapackages-tools BuildRequires: xz 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 Summary: Java regression test package Group: Development/Libraries/Java %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 Summary: Java regression test package Group: Development/Libraries/Java %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 Summary: Java regression test package Group: Development/Libraries/Java 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 %patch1 -p0 %build export CLASSPATH= export OPT_JAR_LIST=: ant -Dant.build.javac.source=1.5 dist %install # jars install -d -m 755 %{buildroot}%{_javadir} install -m 644 junit%{version}/junit-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar # pom install -d -m 755 %{buildroot}%{_mavenpomdir} install -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom %add_maven_depmap # javadoc install -d -m 755 %{buildroot}%{_javadocdir}/%{name} cp -pr junit%{version}/javadoc/* %{buildroot}%{_javadocdir}/%{name} # demo install -d -m 755 %{buildroot}%{_datadir}/%{name}/demo/junit # Not using % name for last part because it is # part of package name cp -pr junit%{version}/junit/* %{buildroot}%{_datadir}/%{name}/demo/junit %files %defattr(0644,root,root,0755) %doc cpl-v10.html README.html %{_javadir}/%{name}.jar %{_mavenpomdir}/* %config %{_mavendepmapfragdir}/* %files demo %defattr(0644,root,root,0755) %{_datadir}/%{name} %files javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name} %files manual %defattr(0644,root,root,0755) %doc junit%{version}/doc/* %changelog
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