86 lines
2.7 KiB
RPMSpec
86 lines
2.7 KiB
RPMSpec
Name: apache-commons-beanutils
|
|
Version: 1.9.4
|
|
Release: 1mamba
|
|
Summary: Commons Beanutils Package
|
|
Group: Development/Libraries/Java
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://commons.apache.org/proper/commons-beanutils/
|
|
Source: https://downloads.apache.org//commons/beanutils/binaries/commons-beanutils-%{version}-bin.tar.gz
|
|
License: Apache Software License Version 2.0
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: javapackages
|
|
#Requires: jakarta-commons-collections
|
|
#Requires: jakarta-commons-logging
|
|
Requires: javapackages
|
|
Provides: apache-commons-beanutils18
|
|
Obsoletes: apache-commons-beanutils18 < 1.9.4
|
|
Obsoletes: apache-commons-beanutils-javadoc < 1.9.4
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q -n commons-beanutils-%{version}
|
|
|
|
%build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
mkdir -p %{buildroot}%{_javadir}/beanutils
|
|
|
|
install -p -m 644 commons-beanutils-%{version}.jar \
|
|
%{buildroot}%{_javadir}/beanutils/%{name}-%{version}.jar
|
|
|
|
(
|
|
cd %{buildroot}%{_javadir}/beanutils
|
|
for jar in *-%{version}*; do
|
|
ln -sf ${jar} `echo $jar| sed "s|apache-||g"`
|
|
done
|
|
)
|
|
|
|
(
|
|
cd %{buildroot}%{_javadir}/beanutils
|
|
for jar in *-%{version}*; do
|
|
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
|
|
done
|
|
)
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_javadir}/beanutils
|
|
%{_javadir}/beanutils/apache-commons-beanutils-%{version}.jar
|
|
%{_javadir}/beanutils/apache-commons-beanutils.jar
|
|
%{_javadir}/beanutils/commons-beanutils-%{version}.jar
|
|
%{_javadir}/beanutils/commons-beanutils.jar
|
|
%doc LICENSE.txt
|
|
|
|
%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
|
|
- obsolete apache-commons-beanutils18
|
|
|
|
* Tue Apr 27 2010 Automatic Build System <autodist@mambasoft.it> 1.8.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jan 26 2010 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Oct 23 2009 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Apr 12 2009 gil <puntogil@libero.it> 1.8.0-1mamba
|
|
- update to 1.8.0
|
|
- renamed to legacy apache-commons-beanutils (ex jakarta)
|
|
|
|
* Fri Mar 06 2009 gil <puntogil@libero.it> 1.7.0-1mamba
|
|
- package created by autospec
|