Mat Booth a362fb
%global short_name      commons-validator
spike 558d6b
spike 558d6b
Name:             apache-%{short_name}
Mikolaj Izdebski 756da3
Version:          1.5.0
Fedora Release Engineering 5e5bc0
Release:          7%{?dist}
spike 558d6b
Summary:          Apache Commons Validator
spike 558d6b
License:          ASL 2.0
Mat Booth a362fb
URL:              http://commons.apache.org/validator/
spike 558d6b
BuildArch:        noarch
spike 558d6b
Mikolaj Izdebski f51fe0
Source0:          http://www.apache.org/dist/commons/validator/source/%{short_name}-%{version}-src.tar.gz
Mikolaj Izdebski f51fe0
Mikolaj Izdebski f51fe0
BuildRequires:  maven-local
Mikolaj Izdebski f51fe0
BuildRequires:  mvn(commons-beanutils:commons-beanutils)
Mikolaj Izdebski f51fe0
BuildRequires:  mvn(commons-collections:commons-collections)
Mikolaj Izdebski f51fe0
BuildRequires:  mvn(commons-digester:commons-digester)
Mikolaj Izdebski f51fe0
BuildRequires:  mvn(commons-logging:commons-logging)
Mikolaj Izdebski f51fe0
BuildRequires:  mvn(junit:junit)
Mikolaj Izdebski f51fe0
BuildRequires:  mvn(org.apache.commons:commons-parent:pom:)
Mikolaj Izdebski f51fe0
BuildRequires:  mvn(org.apache.maven.plugins:maven-antrun-plugin)
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 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
Fedora Release Engineering 5e5bc0
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-7
Fedora Release Engineering 5e5bc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Fedora Release Engineering 5e5bc0
Fedora Release Engineering 23797d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-6
Fedora Release Engineering 23797d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Fedora Release Engineering 23797d
Fedora Release Engineering 2fe1e0
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-5
Fedora Release Engineering 2fe1e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Fedora Release Engineering 2fe1e0
Fedora Release Engineering 05b43c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
Fedora Release Engineering 05b43c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Fedora Release Engineering 05b43c
Mikolaj Izdebski f51fe0
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5.0-3
Mikolaj Izdebski f51fe0
- Regenerate build-requires
Mikolaj Izdebski f51fe0
Dennis Gilmore 0a585e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
Dennis Gilmore 0a585e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Dennis Gilmore 0a585e
Mikolaj Izdebski 756da3
* Tue Jan  5 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.5.0-1
Mikolaj Izdebski 756da3
- Update to upstream version 1.5.0
Mikolaj Izdebski 756da3
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