Search
j0ke.net Open Build Service
>
Projects
>
SUSE
:
Manager
:
1.2
>
concurrent
> concurrent.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File concurrent.spec of Package concurrent
# # spec file for package concurrent (Version 1.3.4) # # Copyright (c) 2010 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 # icecream 0 Name: concurrent BuildRequires: ant xml-commons-apis java-devel unzip rhino java-1_6_0-openjdk-devel %define section free Version: 1.3.4 Release: 277.271.61 Summary: Utility Classes for Concurrent Java Programming License: Public Domain, Freeware Source0: http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/current/concurrent.tar.gz Source1: %{name}-%{version}.build.xml Url: http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/ Group: Development/Libraries/Java BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description This package provides standardized, efficient versions of utility classes commonly encountered in concurrent Java programming. This code consists of implementations of ideas that have been around for ages and is merely intended to save you the trouble of coding them. Discussions of the rationale and application of several of these classes can be found in the second edition of Concurrent Programming in Java. %package javadoc License: Public Domain, Freeware PreReq: coreutils Summary: Javadoc for concurrent Group: Development/Libraries/Java %description javadoc This package provides standardized, efficient versions of utility classes commonly encountered in concurrent Java programming. This code consists of implementations of ideas that have been around for ages, and is merely intended to save you the trouble of coding them. Discussions of the rationale and applications of several of these classes can be found in the second edition of Concurrent Programming in Java. This package contains the javadoc documentation for concurrent. %prep %setup -c -q mkdir -p src/EDU/oswego/cs/dl/util mv concurrent src/EDU/oswego/cs/dl/util cp %{SOURCE1} build.xml %build ant \ -Dversion=%{version} \ -Dj2se.apiurl=%{_javadocdir}/java \ jar javadoc %install install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -m 644 %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/ ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} cp -pr docs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink %clean rm -rf $RPM_BUILD_ROOT %post javadoc rm -f %{_javadocdir}/%{name} ln -s %{name}-%{version} %{_javadocdir}/%{name} %files %defattr(0644,root,root,0755) %{_javadir}/*.jar %files javadoc %defattr(0644,root,root,0755) %doc %{_javadocdir}/%{name}-%{version} %ghost %doc %{_javadocdir}/%{name} %changelog * Mon Sep 25 2006 skh@suse.de - don't use icecream - use source="1.4" and target="1.4" for build with java 1.5 * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Wed Jul 27 2005 jsmeix@suse.de - Adjustments in the spec file. * Tue Jul 19 2005 jsmeix@suse.de - Current version 1.3.4 from JPackage.org * Fri Feb 18 2005 skh@suse.de - update to version 1.3.4 - don't use icecream * Thu Sep 16 2004 skh@suse.de - Fix prerequires of javadoc subpackage * Mon Sep 6 2004 skh@suse.de - Initial package created with version 1.3.2 (JPackage 1.5)