Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
jakarta-commons-beanutils
jakarta-commons-beanutils.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jakarta-commons-beanutils.spec of Package jakarta-commons-beanutils
# # spec file for package jakarta-commons-beanutils (Version 1.7.0) # # Copyright (c) 2006 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 # icecream 0 Name: jakarta-commons-beanutils BuildRequires: ant jakarta-commons-collections jakarta-commons-logging java2-devel-packages xml-commons-apis %define base_name beanutils %define short_name commons-%{base_name} %define name jakarta-%{short_name} %define version 1.7.0 %define release 2jpp %define section free Version: 1.7.0 Release: 25 Summary: Jakarta Commons BeanUtils Package License: Apache Group: Development/Libraries/Java Source0: http://www.apache.org/dist/jakarta/commons/beanutils/source/commons-beanutils-1.7.0-src.tar.gz Patch: %{name}-java14compat.patch URL: http://jakarta.apache.org/commons/beanutils/ Requires: jakarta-commons-collections >= 0:2.0 Requires: jakarta-commons-logging >= 0:1.0 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: %{short_name} Obsoletes: %{short_name} %description The scope of this package is to create a package of Java utility methods for accessing and modifying the properties of arbitrary JavaBeans. No dependencies outside of the JDK are required, so the use of this package is very lightweight. %package javadoc PreReq: coreutils Summary: Javadoc for jakarta-commons-beanutils Group: Development/Libraries/Java %description javadoc The scope of the Jakarta Commons BeanUtils Package is to create a package of Java utility methods for accessing and modifying the properties of arbitrary JavaBeans. No dependencies outside of the JDK are required, so the use of this package is very lightweight. This package contains the javadoc documentation for the Jakarta Commons BeanUtils Package. %prep %setup -n %{short_name}-%{version}-src %patch #cp LICENSE.txt LICENSE # remove all binary libs find . -name "*.jar" -exec rm -f {} \; %build export CLASSPATH=%(build-classpath commons-collections commons-logging) ant -Dbuild.sysclasspath=first dist %install # jars install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -m 644 dist/%{short_name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar install -m 644 dist/%{short_name}-core.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-core-%{version}.jar install -m 644 dist/%{short_name}-bean-collections.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-bean-collections-%{version}.jar (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|jakarta-||g"`; done) (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) # javadoc install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} cp -pr dist/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} %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 PROPOSAL.html STATUS.html RELEASE-NOTES.txt LICENSE.txt %{_javadir}/* %files javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-%{version} %changelog -n jakarta-commons-beanutils * 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. * Mon Jul 18 2005 - jsmeix@suse.de - Current version 1.7.0 from JPackage.org * Mon Feb 21 2005 - skh@suse.de - update to version 1.7.0 - don't use icecream * Thu Sep 16 2004 - skh@suse.de - Fix prerequires of javadoc subpackage * Sun Sep 05 2004 - skh@suse.de - Initial package created with version 1.6.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