2024-01-05 20:28:17 +01:00
|
|
|
Name: apache-commons-validator
|
2024-12-09 11:04:08 +01:00
|
|
|
Version: 1.9.0
|
2024-01-05 20:28:18 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 20:28:17 +01:00
|
|
|
Summary: Commons Validator Package
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 20:28:18 +01:00
|
|
|
URL: https://commons.apache.org/proper/commons-validator/
|
|
|
|
Source0: http://archive.apache.org/dist/commons/validator/binaries/commons-validator-%{version}-bin.zip
|
2024-01-05 20:28:17 +01:00
|
|
|
License: Apache License 2.0
|
2024-01-05 20:28:18 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: javapackages
|
|
|
|
Requires: javapackages
|
|
|
|
#Requires: apache-commons-beanutils
|
|
|
|
#Requires: apache-commons-digester18
|
|
|
|
#Requires: jakarta-commons-collections
|
|
|
|
#Requires: jakarta-commons-logging
|
|
|
|
#Requires: jakarta-oro
|
|
|
|
#Requires: jpackage-utils
|
|
|
|
#Requires: xml-commons-apis
|
2024-01-05 20:28:17 +01:00
|
|
|
Provides: jakarta-commons-validator
|
2024-01-05 20:28:18 +01:00
|
|
|
Obsoletes: jakarta-commons-validator <= 1.3.1
|
2024-01-05 20:28:17 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A common issue when receiving data either electronically or from user input is verifying the integrity of the data. This work is repetitive and becomes even more complicated when different sets of validation rules need to be applied to the same set of data based on locale.
|
|
|
|
Error messages may also vary by locale. This package addresses some of these issues to speed development and maintenance of validation rules.
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Group: Documentation
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
Jakarta Commons Validator Package
|
|
|
|
This package contains javadoc for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 20:28:18 +01:00
|
|
|
%setup -q -n commons-validator-%{version}
|
2024-01-05 20:28:17 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadir}/validator
|
|
|
|
|
2024-01-05 20:28:18 +01:00
|
|
|
install -p -m 644 commons-validator-%{version}.jar \
|
2024-01-05 20:28:17 +01:00
|
|
|
%{buildroot}%{_javadir}/%{name}-%{version}.jar
|
|
|
|
|
|
|
|
(
|
|
|
|
cd %{buildroot}%{_javadir}
|
|
|
|
for jar in *-%{version}*; do
|
|
|
|
ln -sf ${jar} `echo $jar| sed "s|apache-||g"`
|
|
|
|
done
|
|
|
|
)
|
|
|
|
|
|
|
|
(
|
|
|
|
cd %{buildroot}%{_javadir}
|
|
|
|
for jar in *-%{version}*; do
|
|
|
|
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
|
|
|
|
done
|
|
|
|
)
|
|
|
|
|
2024-01-05 20:28:18 +01:00
|
|
|
#mkdir -p %{buildroot}%{_datadir}/sgml/%{name}
|
|
|
|
#install -pm 644 conf/share/*.dtd \
|
|
|
|
# %{buildroot}%{_datadir}/sgml/%{name}
|
|
|
|
#install -pm 644 conf/share/catalog \
|
|
|
|
# %{buildroot}%{_datadir}/sgml/%{name}
|
2024-01-05 20:28:17 +01:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadocdir}/%{name}-%{version}
|
2024-01-05 20:28:18 +01:00
|
|
|
cp -pr apidocs/* %{buildroot}%{_javadocdir}/%{name}-%{version}
|
2024-01-05 20:28:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
#%{_bindir}/aot-compile-rpm
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/commons-validator-%{version}.jar
|
|
|
|
%{_javadir}/commons-validator.jar
|
|
|
|
%{_javadir}/apache-commons-validator-%{version}.jar
|
|
|
|
%{_javadir}/apache-commons-validator.jar
|
2024-01-05 20:28:18 +01:00
|
|
|
%doc LICENSE.txt
|
2024-01-05 20:28:17 +01:00
|
|
|
|
|
|
|
%files javadoc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadocdir}/%{name}-%{version}
|
2024-01-05 20:28:18 +01:00
|
|
|
%doc README.md NOTICE.txt RELEASE-NOTES.txt
|
2024-01-05 20:28:17 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-12-09 11:04:08 +01:00
|
|
|
* Sun Dec 08 2024 Automatic Build System <autodist@openmamba.org> 1.9.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-21 20:23:21 +01:00
|
|
|
* Sun Jan 21 2024 Automatic Build System <autodist@openmamba.org> 1.8.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 20:28:18 +01:00
|
|
|
* Fri Aug 19 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7-1mamba
|
|
|
|
- update to 1.7
|
|
|
|
|
2024-01-05 20:28:17 +01:00
|
|
|
* Sun Apr 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-2mamba
|
|
|
|
- install under directory recognized by build-classpath
|
|
|
|
|
|
|
|
* Sun Apr 12 2009 gil <puntogil@libero.it> 1.3.1-1mamba
|
|
|
|
- update to 1.3.1
|
|
|
|
- renamed to legacy apache-commons-validator (ex jakarta)
|
|
|
|
|
|
|
|
* Sat Mar 07 2009 gil <puntogil@libero.it> 1.1.4-1mamba
|
|
|
|
- package created by autospec
|