Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
junit
junit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File junit.spec of Package junit
# # spec file for package junit # # 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/ # # icecream 0 %define name junit %define version 3.8.2 %define release 4jpp %define section free Name: junit BuildRequires: ant BuildRequires: java-1_5_0-gcj-compat-devel BuildRequires: unzip BuildRequires: xml-commons-apis Version: 3.8.2 Release: 0 Summary: Java Regression Test Package License: IPL-1.0 Group: Development/Libraries/Java Url: http://www.junit.org/ Source: http://osdn.dl.sourceforge.net/junit/junit%{version}.zip Source1: %{name}%{version}-build.xml 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 IBM Public License and hosted on SourceForge. %package manual Summary: Manual for junit 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 IBM Public License and hosted on SourceForge. This package contains the manual for JUnit. %package demo Summary: Demonstration and sample files for junit 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 IBM Public License and hosted on SourceForge. This package contains demonstration and sample files for JUnit. %prep %setup -q -n %{name}%{version} # extract sources jar xvf src.jar # % patch cp %{SOURCE1} build.xml %build ant dist %install # jars install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -m 644 %{name}%{version}/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done) # demo install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name} cp -pr %{name}%{version}/%{name}/* $RPM_BUILD_ROOT%{_datadir}/%{name} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(0644,root,root,0755) %doc README.html %doc cpl-v10.html %{_javadir}/* %dir %{_datadir}/%{name} %files manual %defattr(0644,root,root,0755) %doc %{name}%{version}/doc/* %files demo %defattr(0644,root,root,0755) %{_datadir}/%{name}/* %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