1
0
OBS User unknown 2009-06-18 22:32:54 +00:00 committed by Git OBS Bridge
parent 35bdf52a26
commit f171c73df5

View File

@ -1,16 +1,24 @@
#
# spec file for package jakarta-commons-modeler (Version 2.0)
#
# 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.
# 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-modeler
BuildRequires: ant jakarta-commons-digester java2-devel-packages junit mx4j xalan-j2 xml-commons-apis
%define base_name modeler
@ -20,23 +28,23 @@ BuildRequires: ant jakarta-commons-digester java2-devel-packages junit mx4j xal
%define release 4jpp
%define section free
Version: 2.0
Release: 21
Release: 282
Summary: Jakarta Commons Modeler Package
License: The Apache Software License
Group: Development/Libraries/Java
Source0: %{short_name}-%{version}-src.tar.bz2
#Patch: %{name}.no-licence.build.patch
Patch: %{name}-java14compat.patch
URL: http://jakarta.apache.org/commons/modeler/
Url: http://jakarta.apache.org/commons/modeler/
Requires: jaxp_parser_impl
Requires: xml-commons-apis
Requires: jaxp_transform_impl
Requires: mx4j
Requires: jakarta-commons-beanutils >= 0:1.3
Requires: jakarta-commons-collections >= 0:2.0
Requires: jakarta-commons-digester >= 0:1.2
Requires: jakarta-commons-logging >= 0:1.0
BuildArch: noarch
Requires: jakarta-commons-beanutils >= 1.3
Requires: jakarta-commons-collections >= 2.0
Requires: jakarta-commons-digester >= 1.2
Requires: jakarta-commons-logging >= 1.0
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: %{short_name}
Obsoletes: %{short_name}
@ -50,6 +58,7 @@ with Model MBean support.
%package javadoc
License: The Apache Software License
PreReq: coreutils
Summary: Javadoc for jakarta-commons-modeler
Group: Development/Libraries/Java
@ -73,21 +82,16 @@ find . -name "*.jar" -exec rm -f {} \;
%build
export CLASSPATH=$(build-classpath xml-commons-apis jaxp_parser_impl jaxp_transform_impl mx4j/mx4j-jmx junit commons-beanutils commons-collections commons-digester commons-logging)
%ant dist
%install
# jars
%__mkdir_p %{buildroot}%{_javadir}
%__cp -a dist/%{short_name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do %__ln_s ${jar} `echo $jar| %__sed "s|jakarta-||g"`; done)
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do %__ln_s ${jar} `echo $jar| %__sed "s|-%{version}||g"`; done)
# javadoc
%__mkdir_p %{buildroot}%{_javadocdir}/%{name}-%{version}
%__cp -a dist/docs/* %{buildroot}%{_javadocdir}/%{name}-%{version}
(cd %{buildroot}%{_javadocdir} && %__ln_s %{name}-%{version} %{name})
@ -95,9 +99,7 @@ export CLASSPATH=$(build-classpath xml-commons-apis jaxp_parser_impl jaxp_transf
rm -rf $RPM_BUILD_ROOT
%post javadoc
%__rm -f %{_javadocdir}/%{name}
%__ln_s %{name}-%{version} %{_javadocdir}/%{name}
%postun javadoc
@ -117,9 +119,9 @@ fi
%ghost %dir %{_javadocdir}/%{name}
%changelog
* Tue May 08 2007 - dbornkessel@suse.de
* Tue May 08 2007 dbornkessel@suse.de
- use mx4j instead of jmx
* Mon Mar 19 2007 - dbornkessel@suse.de
* Mon Mar 19 2007 dbornkessel@suse.de
- update to version 2.0 ... needed for newest tomcat55
BUG REPORTS ADDRESSED:
o MODELER-18 support for general descriptors
@ -140,14 +142,14 @@ fi
o MODELER-3 [modeler] maven build fails on os x with test failure.
o MODELER-2 [modeler] Registry insufficiently synchronized
o MODELER-1 ClassNotFoundException while using the Notification
* Mon Sep 25 2006 - skh@suse.de
* 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
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jul 27 2005 - jsmeix@suse.de
* Wed Jul 27 2005 jsmeix@suse.de
- Adjustments in the spec file.
* Mon Jul 18 2005 - jsmeix@suse.de
* Mon Jul 18 2005 jsmeix@suse.de
- Current version 1.1 from JPackage.org
* Sun Sep 05 2004 - skh@suse.de
* Sun Sep 05 2004 skh@suse.de
- Initial package created with version 1.1 (JPackage 1.5)