|
Mat Booth |
a362fb |
%global short_name commons-validator
|
|
spike |
558d6b |
|
|
spike |
558d6b |
Name: apache-%{short_name}
|
|
Michal Srb |
670b8b |
Version: 1.4.1
|
|
Michal Srb |
670b8b |
Release: 1%{?dist}
|
|
spike |
558d6b |
Summary: Apache Commons Validator
|
|
spike |
558d6b |
Group: Development/Libraries
|
|
spike |
558d6b |
License: ASL 2.0
|
|
Mat Booth |
a362fb |
URL: http://commons.apache.org/validator/
|
|
Mat Booth |
a362fb |
Source0: http://www.apache.org/dist/commons/validator/source/%{short_name}-%{version}-src.tar.gz
|
|
spike |
558d6b |
BuildArch: noarch
|
|
spike |
558d6b |
|
|
spike |
558d6b |
BuildRequires: java-devel >= 1:1.6.0
|
|
spike |
558d6b |
BuildRequires: jpackage-utils
|
|
spike |
558d6b |
BuildRequires: apache-commons-beanutils
|
|
spike |
558d6b |
BuildRequires: apache-commons-digester
|
|
spike |
558d6b |
BuildRequires: apache-commons-logging
|
|
Stanislav Ochotnicky |
d7f241 |
BuildRequires: maven-local
|
|
Stanislav Ochotnicky |
3bf8a2 |
Requires: java-headless >= 1:1.6.0
|
|
spike |
558d6b |
Requires: jpackage-utils
|
|
spike |
558d6b |
|
|
spike |
558d6b |
%description
|
|
Stanislav Ochotnicky |
6a68c7 |
A common issue when receiving data either electronically or from user input is
|
|
Stanislav Ochotnicky |
6a68c7 |
verifying the integrity of the data. This work is repetitive and becomes even
|
|
Stanislav Ochotnicky |
6a68c7 |
more complicated when different sets of validation rules need to be applied to
|
|
Stanislav Ochotnicky |
6a68c7 |
the same set of data based on locale for example. Error messages may also vary
|
|
Stanislav Ochotnicky |
6a68c7 |
by locale. This package attempts to address some of these issues and speed
|
|
spike |
558d6b |
development and maintenance of validation rules.
|
|
spike |
558d6b |
|
|
spike |
558d6b |
%package javadoc
|
|
spike |
558d6b |
Summary: Javadoc for %{name}
|
|
spike |
558d6b |
Group: Documentation
|
|
spike |
2c026e |
Requires: jpackage-utils
|
|
spike |
2c026e |
|
|
spike |
558d6b |
%description javadoc
|
|
spike |
558d6b |
This package contains the API documentation for %{name}.
|
|
spike |
558d6b |
|
|
spike |
558d6b |
%prep
|
|
spike |
558d6b |
%setup -q -n %{short_name}-%{version}-src
|
|
spike |
558d6b |
sed -i 's/\r//' LICENSE.txt
|
|
spike |
558d6b |
sed -i 's/\r//' RELEASE-NOTES.txt
|
|
spike |
558d6b |
sed -i 's/\r//' NOTICE.txt
|
|
spike |
558d6b |
|
|
Mat Booth |
a362fb |
# Compatibility links
|
|
Mat Booth |
a362fb |
%mvn_alias "%{short_name}:%{short_name}" "org.apache.commons:%{short_name}"
|
|
Mat Booth |
a362fb |
%mvn_file :commons-validator %{short_name} %{name}
|
|
Stanislav Ochotnicky |
f2edda |
|
|
spike |
558d6b |
%build
|
|
Mat Booth |
a362fb |
%mvn_build
|
|
spike |
558d6b |
|
|
spike |
558d6b |
%install
|
|
Mat Booth |
a362fb |
%mvn_install
|
|
spike |
558d6b |
|
|
Mat Booth |
a362fb |
%files -f .mfiles
|
|
spike |
558d6b |
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
|
|
spike |
558d6b |
|
|
Mat Booth |
a362fb |
%files javadoc -f .mfiles-javadoc
|
|
Mikolaj Izdebski |
e05a46 |
%doc LICENSE.txt NOTICE.txt
|
|
spike |
2c026e |
|
|
spike |
558d6b |
%changelog
|
|
Michal Srb |
670b8b |
* Wed Jul 08 2015 Michal Srb <msrb@redhat.com> - 1.4.1-1
|
|
Michal Srb |
670b8b |
- Updated to 1.4.1
|
|
Michal Srb |
670b8b |
|
|
Dennis Gilmore |
f408b1 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-9
|
|
Dennis Gilmore |
f408b1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
Dennis Gilmore |
f408b1 |
|
|
Dennis Gilmore |
056fe2 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-8
|
|
Dennis Gilmore |
056fe2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
Dennis Gilmore |
056fe2 |
|
|
Stanislav Ochotnicky |
3bf8a2 |
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.0-7
|
|
Stanislav Ochotnicky |
3bf8a2 |
- Use Requires: java-headless rebuild (#1067528)
|
|
Stanislav Ochotnicky |
3bf8a2 |
|
|
Mat Booth |
a362fb |
* Tue Aug 06 2013 Mat Booth <fedora@matbooth.co.uk> - 1.4.0-6
|
|
Mat Booth |
a362fb |
- Update for newer guidelines
|
|
Mat Booth |
a362fb |
|
|
Dennis Gilmore |
20df1d |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-5
|
|
Dennis Gilmore |
20df1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
Dennis Gilmore |
20df1d |
|
|
Dennis Gilmore |
df2de9 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-4
|
|
Dennis Gilmore |
df2de9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
Dennis Gilmore |
df2de9 |
|
|
Stanislav Ochotnicky |
d7f241 |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4.0-3
|
|
Stanislav Ochotnicky |
d7f241 |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
Stanislav Ochotnicky |
d7f241 |
- Replace maven BuildRequires with maven-local
|
|
Stanislav Ochotnicky |
d7f241 |
|
|
Mikolaj Izdebski |
e05a46 |
* Fri Nov 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.0-2
|
|
Mikolaj Izdebski |
e05a46 |
- Install NOTICE file with javadoc package
|
|
Mikolaj Izdebski |
e05a46 |
|
|
spike |
2c026e |
* Fri Oct 19 2012 Chris Spike <spike@fedoraproject.org> 1.4.0-1
|
|
spike |
2c026e |
- Updated to 1.4.0
|
|
spike |
2c026e |
- Switched build tool from ant to maven
|
|
spike |
2c026e |
- Updated to latest java packaging guidelines
|
|
spike |
2c026e |
- Dropped oro BR/R
|
|
spike |
2c026e |
|
|
Dennis Gilmore |
93ebd3 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-9
|
|
Dennis Gilmore |
93ebd3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
Dennis Gilmore |
93ebd3 |
|
|
Stanislav Ochotnicky |
f2edda |
* Fri May 18 2012 Stanislav Ochotnicky <sochotnicky@redhat.com>- 1.3.1-8
|
|
Stanislav Ochotnicky |
f2edda |
- Fix tests after junit update
|
|
Stanislav Ochotnicky |
f2edda |
|
|
Ville Skyttä |
24ce85 |
* Sat Jan 14 2012 Ville Skyttä <ville.skytta@iki.fi> - 1.3.1-7
|
|
Ville Skyttä |
24ce85 |
- Tweak source encoding to fix build with Java 1.7.
|
|
Ville Skyttä |
24ce85 |
- Drop versioned jars and javadoc dir.
|
|
Ville Skyttä |
24ce85 |
- Drop no longer needed javadoc Obsoletes.
|
|
Ville Skyttä |
24ce85 |
- Crosslink with local JDK API docs.
|
|
Ville Skyttä |
24ce85 |
|
|
Dennis Gilmore |
6be65e |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-6
|
|
Dennis Gilmore |
6be65e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
Dennis Gilmore |
6be65e |
|
|
Stanislav Ochotnicky |
6a68c7 |
* Tue Feb 22 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3.1-5
|
|
Stanislav Ochotnicky |
6a68c7 |
- Change oro to jakarta-oro in BR/R
|
|
Stanislav Ochotnicky |
6a68c7 |
|
|
Dennis Gilmore |
806fb8 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
|
|
Dennis Gilmore |
806fb8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
Dennis Gilmore |
806fb8 |
|
|
spike |
558d6b |
* Wed Oct 20 2010 Chris Spike <chris.spike@arcor.de> 1.3.1-3
|
|
spike |
558d6b |
- Moved junit tests to check section
|
|
spike |
558d6b |
|
|
spike |
558d6b |
* Sat Oct 2 2010 Chris Spike <chris.spike@arcor.de> 1.3.1-2
|
|
spike |
558d6b |
- Rename and rebase from jakarta-commons-validator
|