Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
javagroups
javagroups.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File javagroups.spec of Package javagroups
# # spec file for package javagroups (Version 2.1.1) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: javagroups BuildRequires: ant-junit bsh concurrent java2-devel-packages jms log4j unzip %define name javagroups %define version 2.1.1 %define release 2jpp %define section free Summary: Multicast Communication Toolkit Version: 2.1.1 Release: 161 Group: Development/Libraries/Java License: LGPL v2 or later Url: http://www.javagroups.com/ BuildArch: noarch Source0: http://download.sf.net/javagroups/JavaGroups-2.1.1.src.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: bsh Requires: concurrent Requires: jaxp_parser_impl Requires: jms Requires: log4j %description JavaGroups is a toolkit for reliable multicast communication. It can be used to create groups of processes whose members can send messages to each other. %package javadoc PreReq: coreutils Group: Development/Libraries/Java Summary: Javadoc for javagroups %description javadoc JavaGroups is a toolkit for reliable multicast communication. It can be used to create groups of processes whose members can send messages to each other. This package contains the javadoc documentation for JavaGroups. %package demo Group: Development/Libraries/Java Summary: Demonstration and sample files for javagroups-demo Requires: %{name} = %{version} %description demo JavaGroups is a toolkit for reliable multicast communication. It can be used to create groups of processes whose members can send messages to each other. This package contains demonstrations and sample files for JavaGroups. %prep %setup -q -n JavaGroups-%{version}.src find . -type f -name "*.jar" -exec rm -f {} \; %build if ! grep -q "javac.*source=" build.xml ; then perl -p -i -e 's|<javac |<javac source=\"1.4\" |' build.xml perl -p -i -e 's|<javadoc |<javadoc source=\"1.4\" |' build.xml fi export CLASSPATH=$(build-classpath bsh concurrent jaxp_parser_impl jms log4j xml-commons-apis) ant -Dbuild.compiler=modern jar ant -Dbuild.compiler=modern javadoc %install # jar install -d $RPM_BUILD_ROOT%{_javadir} install dist/javagroups-core.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-%{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 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} cp -pr dist/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/ # demo install -d $RPM_BUILD_ROOT%{_datadir}/%{name} cp dist/javagroups-demo.jar dist/javagroups-test.jar \ $RPM_BUILD_ROOT%{_datadir}/%{name}/ %clean rm -rf $RPM_BUILD_ROOT %post javadoc rm -f %{_javadocdir}/%{name} ln -s %{name}-%{version} %{_javadocdir}/%{name} %postun javadoc if [ "$1" = "0" ]; then rm -f %{_javadocdir}/%{name} fi %files %defattr(0644,root,root,0755) %doc CREDITS INSTALL.html README doc %{_javadir}/* %files javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-%{version} %files demo %defattr(0644,root,root,0755) %{_datadir}/%{name} %changelog * Mon Sep 17 2007 - aj@suse.de - Package should not depend on %%release. * Fri Mar 30 2007 - aj@suse.de - Fix BuildRequires. * Wed Sep 20 2006 - ro@suse.de - set source=1.4 for java * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Thu Jul 28 2005 - jsmeix@suse.de - Adjustments in the spec file. * Wed Jul 20 2005 - jsmeix@suse.de - Current version 2.1.1 from JPackage.org * Thu Sep 16 2004 - skh@suse.de - Fix prerequires of javadoc subpackage * Mon Sep 06 2004 - skh@suse.de - Initial package with version 2.1.1 (JPackage 1.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