Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
jcommon
jcommon.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jcommon.spec of Package jcommon
# # spec file for package jcommon (Version 1.0.9) # # Copyright (c) 2008 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/ # # norootforbuild %define section free Name: jcommon Version: 1.0.9 Release: 2 Summary: Common library License: LGPL v2.1 only Url: http://www.jfree.org/jcommon/index.php Source0: http://download.sourceforge.net/jfreechart/jcommon-%{version}.tar.bz2 Group: Development/Languages/Java BuildRequires: ant >= 1.6.5 BuildRequires: junit BuildRequires: jpackage-utils >= 1.6 BuildRequires: fdupes BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: java-devel %description Collection of classes used by Object Refinery Projects, for example jfreechart %package test License: LGPL v2.1 only Summary: Common library Group: Development/Languages/Java Requires: %{name} = %{version}-%{release} Requires: junit %description test Collection of classes used by Object Refinery Projects, for example jfreechart %package javadoc License: LGPL v2.1 only Summary: Common library Group: Development/Languages/Java %description javadoc Collection of classes used by Object Refinery Projects, for example jfreechart %description javadoc -l fr Collection of classes used by Object Refinery Projects, for example jfreechart %prep %setup -q # remove all binary libs find . -name "*.jar" -exec rm -f {} \; %build export CLASSPATH=%(build-classpath junit) ant -f ant/build.xml -Dbuildstable=true -Dproject.outdir=. -Dbasedir=. compile compile-junit-tests javadoc %install install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name} # jars install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -m 644 %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir} install -m 644 lib/%{name}-%{version}-junit.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-junit-%{version}.jar (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) # javadoc install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} cp -pr javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} %fdupes -s ${RPM_BUILD_ROOT} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(0644,root,root,0755) %doc licence-LGPL.txt README.txt %{_javadir}/%{name}.jar %{_javadir}/%{name}-%{version}.jar %dir %{_javadir}/%{name} %files test %defattr(0644,root,root,0755) %{_javadir}/%{name}-junit-%{version}.jar %{_javadir}/%{name}-junit.jar %files javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-%{version} %{_javadocdir}/%{name} %changelog * Mon Aug 11 2008 mvyskocil@suse.cz - Inital packaging of the 0.9.6 (from JPP1.7)
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