Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
jakarta-commons-digester
jakarta-commons-digester.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jakarta-commons-digester.spec of Package jakarta-commons-digester
# # spec file for package jakarta-commons-digester (Version 1.7) # # Copyright (c) 2009 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: jakarta-commons-digester BuildRequires: ant jakarta-commons-beanutils java2-devel-packages xml-commons-apis %define base_name digester %define short_name commons-%{base_name} %define name jakarta-%{short_name} %define version 1.7 %define release 1jpp %define section free Version: 1.7 Release: 313 Summary: Jakarta Commons Digester Package License: The Apache Software License Group: Development/Libraries/Java Source0: http://www.apache.org/dist/jakarta/commons/digester/source/commons-digester-%{version}-src.tar.gz Patch: %{name}-java14compat.patch Url: http://jakarta.apache.org/commons/digester/ Requires: jakarta-commons-beanutils >= 1.7 Requires: jakarta-commons-logging >= 1.0 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: %{short_name} Obsoletes: %{short_name} %description The goal of the Jakarta Commons Digester project is to create and maintain an XML to Java object mapping package written in the Java language to be distributed under the ASF license. %package javadoc License: The Apache Software License PreReq: coreutils Summary: Javadoc for jakarta-commons-digester Group: Development/Libraries/Java %description javadoc The goal of the Jakarta Commons Digester project is to create and maintain a XML -> Java object mapping package written in the Java language to be distributed under the ASF license. This package contains the javadoc documentation for the Jakarta Commons Digester Package. %prep %setup -q -n %{short_name}-%{version}-src %patch %build cp LICENSE.txt ../LICENSE export CLASSPATH=%(build-classpath commons-logging commons-beanutils junit) ant dist # Build rss -- needed by struts export CLASSPATH=$CLASSPATH:`pwd`/dist/%{short_name}.jar (cd src/examples/rss; ant dist) rm ../LICENSE %install # jars mkdir -p $RPM_BUILD_ROOT%{_javadir} cp -p dist/%{short_name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar cp -p src/examples/rss/dist/%{short_name}-rss.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}-rss.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 mkdir -p $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 LICENSE.txt NOTICE.txt RELEASE-NOTES.txt %{_javadir}/* %files javadoc %defattr(0644,root,root,0755) %{_javadocdir}/%{name}-%{version} %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 - Current version 1.7 from JPackage.org * Mon Jul 18 2005 jsmeix@suse.de - Current version 1.6 from JPackage.org * Tue Feb 22 2005 skh@suse.de - enable build of rss package (needed by struts) * Mon Feb 21 2005 skh@suse.de - update to version 1.6 - 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.5 (JPackage version 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