- update to 1.8.3 and rename to apache- to follow the upstream
- fixes in this release * memory leak in jdk5/jdk6 BEANUTILS-291, BEANUTILS-366 * BEANUTILS-373 MethodUtils is not thread safe because WeakFastHashMap which uses WeakHashMap is not thread-safe * [BEANUTILS-371] Add constructors which have useColumnLabel parameter to ResultSetDynaClass and RowSetDynaClass * and a lot of other like NPE in BeanUtilsBean.setProperty() - don't use icecream - use source="1.4" and target="1.4" for build with java 1.5 - converted neededforbuild to BuildRequires - Adjustments in the spec file. - Current version 1.7.0 from JPackage.org - update to version 1.7.0 - don't use icecream - Fix prerequires of javadoc subpackage - Initial package created with version 1.6.1 (JPackage 1.5) OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-beanutils?expand=0&rev=1
This commit is contained in:
commit
41c3bfb7eb
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
49
apache-commons-beanutils.changes
Normal file
49
apache-commons-beanutils.changes
Normal file
@ -0,0 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 13:23:15 UTC 2012 - mvyskocil@suse.cz
|
||||
|
||||
- update to 1.8.3 and rename to apache- to follow the upstream
|
||||
- fixes in this release
|
||||
* memory leak in jdk5/jdk6 BEANUTILS-291, BEANUTILS-366
|
||||
* BEANUTILS-373 MethodUtils is not thread safe because WeakFastHashMap which
|
||||
uses WeakHashMap is not thread-safe
|
||||
* [BEANUTILS-371] Add constructors which have useColumnLabel parameter to
|
||||
ResultSetDynaClass and RowSetDynaClass
|
||||
* and a lot of other like NPE in BeanUtilsBean.setProperty()
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 25 11:25:13 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:36 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 27 16:04:33 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Adjustments in the spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 18 16:00:36 CEST 2005 - jsmeix@suse.de
|
||||
|
||||
- Current version 1.7.0 from JPackage.org
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 21 15:30:10 CET 2005 - skh@suse.de
|
||||
|
||||
- update to version 1.7.0
|
||||
- don't use icecream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 16 16:09:13 CEST 2004 - skh@suse.de
|
||||
|
||||
- Fix prerequires of javadoc subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 5 21:45:14 CEST 2004 - skh@suse.de
|
||||
|
||||
- Initial package created with version 1.6.1 (JPackage 1.5)
|
||||
|
117
apache-commons-beanutils.spec
Normal file
117
apache-commons-beanutils.spec
Normal file
@ -0,0 +1,117 @@
|
||||
#
|
||||
# spec file for package apache-commons-beanutils
|
||||
#
|
||||
# Copyright (c) 2012 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/
|
||||
#
|
||||
# icecream 0
|
||||
|
||||
%define base_name beanutils
|
||||
%define short_name commons-%{base_name}
|
||||
|
||||
Name: apache-commons-beanutils
|
||||
Version: 1.8.3
|
||||
Release: 0
|
||||
Summary: Jakarta Commons BeanUtils Package
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/Java
|
||||
Source0: commons-beanutils-%{version}-src.tar.gz
|
||||
#Patch: %{name}-java14compat.patch
|
||||
URL: http://commons.apache.org/beanutils
|
||||
|
||||
BuildRequires: ant
|
||||
BuildRequires: jakarta-commons-collections
|
||||
BuildRequires: jakarta-commons-logging
|
||||
BuildRequires: java-devel >= 1.6.0
|
||||
BuildRequires: xml-commons-apis
|
||||
|
||||
Requires: jakarta-commons-collections >= 2.0
|
||||
Requires: jakarta-commons-logging >= 1.0
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
Provides: %{short_name} = %{version}-%{release}
|
||||
Obsoletes: %{short_name} < %{version}-%{release}
|
||||
Provides: jakarta-%{short_name} = %{version}-%{release}
|
||||
Obsoletes: jakarta-%{short_name} < %{version}-%{release}
|
||||
|
||||
%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
|
||||
sed -i 's/\r//' *.txt
|
||||
|
||||
%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}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
||||
|
||||
# main jar created from these, we install them just for safe measure
|
||||
install -m 644 dist/%{short_name}-bean-collections-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-bean-collections.jar
|
||||
install -m 644 dist/%{short_name}-core-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-core.jar
|
||||
|
||||
pushd $RPM_BUILD_ROOT%{_javadir}
|
||||
for jar in *.jar; do
|
||||
ln -sf ${jar} `echo $jar| sed "s|apache-||g"`
|
||||
done
|
||||
popd # come back from javadir
|
||||
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
||||
install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
|
||||
|
||||
# javadoc
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
cp -pr dist/docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc *.txt
|
||||
%{_javadir}/*
|
||||
%{_mavenpomdir}/JPP-%{name}.pom
|
||||
# % {_mavendepmapfragdir}/%{name}
|
||||
|
||||
%files javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
3
commons-beanutils-1.8.3-src.tar.gz
Normal file
3
commons-beanutils-1.8.3-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:df6d6a625db8da38b33d018030715130a258c0b493ea39f20c5e8d075b21b4ed
|
||||
size 383126
|
Loading…
Reference in New Issue
Block a user