update to 1.9.4 [release 1.9.4-1mamba;Tue Jun 01 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 20:27:48 +01:00
parent 5ca5f14a11
commit 4591616714

View File

@ -1,61 +1,39 @@
Name: apache-commons-beanutils Name: apache-commons-beanutils
Version: 1.8.3 Version: 1.9.4
Release: 2mamba Release: 1mamba
Summary: Commons Beanutils Package Summary: Commons Beanutils Package
Group: Development/Libraries/Java Group: Development/Libraries/Java
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: gil <puntogil@libero.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://commons.apache.org/beanutils/ URL: http://commons.apache.org/proper/commons-beanutils/
Source: http://apache.panu.it/commons/beanutils/source/commons-beanutils-%{version}-src.tar.gz Source: https://downloads.apache.org//commons/beanutils/binaries/commons-beanutils-%{version}-bin.tar.gz
License: Apache Software License Version 2.0 License: Apache Software License Version 2.0
BuildRequires: apache-ant ## AUTOBUILDREQ-BEGIN
BuildRequires: coreutils ## AUTOBUILDREQ-END
BuildRequires: jakarta-commons-collections BuildRequires: javapackages
BuildRequires: jakarta-commons-logging #Requires: jakarta-commons-collections
BuildRequires: java-junit3 #Requires: jakarta-commons-logging
BuildRequires: jpackage-utils Requires: javapackages
Requires: jakarta-commons-collections
Requires: jakarta-commons-logging
Requires: jpackage-utils
Provides: apache-commons-beanutils18 Provides: apache-commons-beanutils18
Obsoletes: apache-commons-beanutils18 Obsoletes: apache-commons-beanutils18 < 1.9.4
BuildRoot: %{_tmppath}/%{name}-%{version}-root Obsoletes: apache-commons-beanutils-javadoc < 1.9.4
%description %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. 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
Group: Documentation
Summary: Javadoc for %{name}
%description javadoc
Commons Beanutils Package
This package contains javadoc for %{name}.
%prep %prep
%setup -q -n commons-beanutils-%{version}
%setup -q -n commons-beanutils-%{version}-src
for j in $(find . -name "*.jar"); do
mv $j $j.no
done
%build %build
export CLASSPATH=$(build-classpath commons-collections commons-logging)
export OPT_JAR_LIST="/opt/java/ant/lib/ant-junit.jar $(build-classpath junit-4.5)"
ant -Dbuild.sysclasspath=first dist
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_javadir}/beanutils mkdir -p %{buildroot}%{_javadir}/beanutils
install -p -m 644 dist/commons-beanutils-%{version}.jar \ install -p -m 644 commons-beanutils-%{version}.jar \
%{buildroot}%{_javadir}/beanutils/%{name}-%{version}.jar %{buildroot}%{_javadir}/beanutils/%{name}-%{version}.jar
install -p -m 644 dist/commons-beanutils-core-%{version}.jar \
%{buildroot}%{_javadir}/beanutils/%{name}-core-%{version}.jar
install -p -m 644 dist/commons-beanutils-bean-collections-%{version}.jar \
%{buildroot}%{_javadir}/beanutils/%{name}-bean-collections-%{version}.jar
( (
cd %{buildroot}%{_javadir}/beanutils cd %{buildroot}%{_javadir}/beanutils
@ -71,10 +49,6 @@ install -p -m 644 dist/commons-beanutils-bean-collections-%{version}.jar \
done done
) )
mkdir -p %{buildroot}%{_javadocdir}/%{name}-%{version}
cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -82,26 +56,15 @@ ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_javadir}/beanutils %dir %{_javadir}/beanutils
%{_javadir}/beanutils/apache-commons-beanutils-%{version}.jar %{_javadir}/beanutils/apache-commons-beanutils-%{version}.jar
%{_javadir}/beanutils/apache-commons-beanutils-bean-collections-%{version}.jar
%{_javadir}/beanutils/apache-commons-beanutils-bean-collections.jar
%{_javadir}/beanutils/apache-commons-beanutils-core-%{version}.jar
%{_javadir}/beanutils/apache-commons-beanutils-core.jar
%{_javadir}/beanutils/apache-commons-beanutils.jar %{_javadir}/beanutils/apache-commons-beanutils.jar
%{_javadir}/beanutils/commons-beanutils-%{version}.jar %{_javadir}/beanutils/commons-beanutils-%{version}.jar
%{_javadir}/beanutils/commons-beanutils-bean-collections-%{version}.jar
%{_javadir}/beanutils/commons-beanutils-bean-collections.jar
%{_javadir}/beanutils/commons-beanutils-core-%{version}.jar
%{_javadir}/beanutils/commons-beanutils-core.jar
%{_javadir}/beanutils/commons-beanutils.jar %{_javadir}/beanutils/commons-beanutils.jar
%doc dist/LICENSE.txt dist/NOTICE.txt %doc LICENSE.txt
%doc dist/README.txt dist/RELEASE-NOTES.txt
%files javadoc
%defattr(-,root,root)
%{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}
%changelog %changelog
* Tue Jun 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.4-1mamba
- update to 1.9.4
* Tue Aug 16 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.3-2mamba * Tue Aug 16 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.3-2mamba
- obsolete apache-commons-beanutils18 - obsolete apache-commons-beanutils18