1
0
OBS User unknown 2007-01-15 23:18:26 +00:00 committed by Git OBS Bridge
commit 62ce4e9aea
7 changed files with 209 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,25 @@
diff -Naur ../commons-modeler-1.1-src.orig/build.xml ./build.xml
--- ../commons-modeler-1.1-src.orig/build.xml 2003-07-29 02:50:44.000000000 +0200
+++ ./build.xml 2006-09-25 13:35:59.000000000 +0200
@@ -157,7 +157,9 @@
destdir="${build.home}/classes"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
- optimize="${compile.optimize}">
+ optimize="${compile.optimize}"
+ source="1.4"
+ target="1.4">
<classpath refid="compile.classpath"/>
<exclude name="org/apache/commons/modeler/ant/*PropertyHelper.java" unless="ant16.available" />
<exclude name="org/apache/commons/modeler/modules/MbeansDescriptorsDigesterSource.java" unless="digester.available" />
@@ -279,7 +281,9 @@
destdir="${build.home}/tests"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
- optimize="${compile.optimize}">
+ optimize="${compile.optimize}"
+ source="1.4"
+ target="1.4">
<classpath refid="test.classpath"/>
</javac>
<copy todir="${build.home}/tests" filtering="on">

View File

@ -0,0 +1,26 @@
-------------------------------------------------------------------
Mon Sep 25 13:39:47 CEST 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 21:46:38 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Jul 27 17:05:49 CEST 2005 - jsmeix@suse.de
- Adjustments in the spec file.
-------------------------------------------------------------------
Mon Jul 18 16:26:09 CEST 2005 - jsmeix@suse.de
- Current version 1.1 from JPackage.org
-------------------------------------------------------------------
Sun Sep 5 23:37:58 CEST 2004 - skh@suse.de
- Initial package created with version 1.1 (JPackage 1.5)

View File

@ -0,0 +1,131 @@
#
# spec file for package jakarta-commons-modeler (Version 1.1)
#
# 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-modeler
BuildRequires: ant jakarta-commons-digester java2-devel-packages jmx junit xalan-j2 xml-commons-apis
%define base_name modeler
%define short_name commons-%{base_name}
%define name jakarta-%{short_name}
%define version 1.1
%define release 4jpp
%define section free
Version: 1.1
Release: 25
Summary: Jakarta Commons Modeler Package
License: Apache
Group: Development/Libraries/Java
Source0: %{base_name}-%{version}-src.tar.gz
#Patch: %{name}.no-licence.build.patch
Patch: %{name}-java14compat.patch
URL: http://jakarta.apache.org/commons/modeler/
Requires: jaxp_parser_impl
Requires: xml-commons-apis
Requires: jaxp_transform_impl
Requires: jmxri
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: %{short_name}
Obsoletes: %{short_name}
%description
The Modeler project creates and maintains a set of Java classes to
provide a number of facilities for Model MBeans plus unit tests and
small examples of using these facilities to instrument Java classes
with Model MBean support.
%package javadoc
PreReq: coreutils
Summary: Javadoc for jakarta-commons-modeler
Group: Development/Libraries/Java
%description javadoc
The Modeler project shall create and maintain a set of Java classes to
provide the facilities described in the preceeding section, plus unit
tests and small examples of using these facilities to instrument Java
classes with Model MBean support.
This package contains the javadoc documentation for the Jakarta Commons
Modeler Package.
%prep
%setup -n %{short_name}-%{version}-src
%patch
#%%patch
# remove all binary libs
find . -name "*.jar" -exec rm -f {} \;
%build
export CLASSPATH=$(build-classpath xml-commons-apis jaxp_parser_impl jaxp_transform_impl jmxri 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})
%clean
rm -rf $RPM_BUILD_ROOT
%post javadoc
%__rm -f %{_javadocdir}/%{name}
%__ln_s %{name}-%{version} %{_javadocdir}/%{name}
%postun javadoc
if [ $1 -eq 0 ]; then
%__rm -f %{_javadocdir}/%{name}
fi
%files
%defattr(0644,root,root,0755)
%doc STATUS.html RELEASE-NOTES.txt PROPOSAL.html
%{_javadir}/*
%files javadoc
%defattr(0644,root,root,0755)
%dir %{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}-%{version}/*
%ghost %dir %{_javadocdir}/%{name}
%changelog -n jakarta-commons-modeler
* 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.1 from JPackage.org
* Sun Sep 05 2004 - skh@suse.de
- Initial package created with version 1.1 (JPackage 1.5)

3
modeler-1.1-src.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41146b9e3614eda22064fbdde457750608b0cbc0ff2d904a39c5938b165fc2e7
size 92211

0
ready Normal file
View File