|
|
2c13ad |
%global base_name validator
|
|
|
2c13ad |
%global short_name commons-%{base_name}
|
|
|
2c13ad |
|
|
|
2c13ad |
Name: apache-%{short_name}
|
|
|
2c13ad |
Version: 1.4.0
|
|
|
2c13ad |
Release: 8%{?dist}
|
|
|
2c13ad |
Summary: Apache Commons Validator
|
|
|
2c13ad |
Group: Development/Libraries
|
|
|
2c13ad |
License: ASL 2.0
|
|
|
2c13ad |
URL: http://commons.apache.org/%{base_name}/
|
|
|
2c13ad |
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
|
|
2c13ad |
BuildArch: noarch
|
|
|
2c13ad |
|
|
|
2c13ad |
BuildRequires: java-devel >= 1:1.6.0
|
|
|
2c13ad |
BuildRequires: jpackage-utils
|
|
|
2c13ad |
BuildRequires: apache-commons-parent >= 26-7
|
|
|
2c13ad |
BuildRequires: apache-commons-beanutils
|
|
|
2c13ad |
BuildRequires: apache-commons-digester
|
|
|
2c13ad |
BuildRequires: apache-commons-logging
|
|
|
2c13ad |
BuildRequires: maven-local
|
|
|
2c13ad |
BuildRequires: junit
|
|
|
2c13ad |
|
|
|
2c13ad |
|
|
|
2c13ad |
%description
|
|
|
2c13ad |
A common issue when receiving data either electronically or from user input is
|
|
|
2c13ad |
verifying the integrity of the data. This work is repetitive and becomes even
|
|
|
2c13ad |
more complicated when different sets of validation rules need to be applied to
|
|
|
2c13ad |
the same set of data based on locale for example. Error messages may also vary
|
|
|
2c13ad |
by locale. This package attempts to address some of these issues and speed
|
|
|
2c13ad |
development and maintenance of validation rules.
|
|
|
2c13ad |
|
|
|
2c13ad |
%package javadoc
|
|
|
2c13ad |
Summary: Javadoc for %{name}
|
|
|
2c13ad |
Group: Documentation
|
|
|
2c13ad |
|
|
|
2c13ad |
|
|
|
2c13ad |
%description javadoc
|
|
|
2c13ad |
This package contains the API documentation for %{name}.
|
|
|
2c13ad |
|
|
|
2c13ad |
%prep
|
|
|
2c13ad |
%setup -q -n %{short_name}-%{version}-src
|
|
|
2c13ad |
sed -i 's/\r//' LICENSE.txt
|
|
|
2c13ad |
sed -i 's/\r//' RELEASE-NOTES.txt
|
|
|
2c13ad |
sed -i 's/\r//' NOTICE.txt
|
|
|
2c13ad |
|
|
|
2c13ad |
# Compatibility links
|
|
|
2c13ad |
%mvn_file :commons-validator %{name}
|
|
|
2c13ad |
|
|
|
2c13ad |
%build
|
|
|
2c13ad |
%mvn_build
|
|
|
2c13ad |
|
|
|
2c13ad |
%install
|
|
|
2c13ad |
%mvn_install
|
|
|
2c13ad |
|
|
|
2c13ad |
%files -f .mfiles
|
|
|
2c13ad |
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
|
|
|
2c13ad |
|
|
|
2c13ad |
%files javadoc -f .mfiles-javadoc
|
|
|
2c13ad |
%doc LICENSE.txt NOTICE.txt
|
|
|
2c13ad |
|
|
|
2c13ad |
|
|
|
2c13ad |
%changelog
|
|
|
2c13ad |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4.0-8
|
|
|
2c13ad |
- Mass rebuild 2013-12-27
|
|
|
2c13ad |
|
|
|
2c13ad |
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.0-7
|
|
|
2c13ad |
- Add BuildRequires on apache-commons-parent >= 26-7
|
|
|
2c13ad |
|
|
|
2c13ad |
* Thu Aug 22 2013 Michal Srb <msrb@redhat.com> - 1.4.0-6
|
|
|
2c13ad |
- Migrate away from mvn-rpmbuild (Resolves: #997476)
|
|
|
2c13ad |
|
|
|
2c13ad |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.0-5
|
|
|
2c13ad |
- Rebuild to regenerate API documentation
|
|
|
2c13ad |
- Resolves: CVE-2013-1571
|
|
|
2c13ad |
|
|
|
2c13ad |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-4
|
|
|
2c13ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
2c13ad |
|
|
|
2c13ad |
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4.0-3
|
|
|
2c13ad |
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
|
|
|
2c13ad |
- Replace maven BuildRequires with maven-local
|
|
|
2c13ad |
|
|
|
2c13ad |
* Fri Nov 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.0-2
|
|
|
2c13ad |
- Install NOTICE file with javadoc package
|
|
|
2c13ad |
|
|
|
2c13ad |
* Fri Oct 19 2012 Chris Spike <spike@fedoraproject.org> 1.4.0-1
|
|
|
2c13ad |
- Updated to 1.4.0
|
|
|
2c13ad |
- Switched build tool from ant to maven
|
|
|
2c13ad |
- Updated to latest java packaging guidelines
|
|
|
2c13ad |
- Dropped oro BR/R
|
|
|
2c13ad |
|
|
|
2c13ad |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-9
|
|
|
2c13ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2c13ad |
|
|
|
2c13ad |
* Fri May 18 2012 Stanislav Ochotnicky <sochotnicky@redhat.com>- 1.3.1-8
|
|
|
2c13ad |
- Fix tests after junit update
|
|
|
2c13ad |
|
|
|
2c13ad |
* Sat Jan 14 2012 Ville Skyttä <ville.skytta@iki.fi> - 1.3.1-7
|
|
|
2c13ad |
- Tweak source encoding to fix build with Java 1.7.
|
|
|
2c13ad |
- Drop versioned jars and javadoc dir.
|
|
|
2c13ad |
- Drop no longer needed javadoc Obsoletes.
|
|
|
2c13ad |
- Crosslink with local JDK API docs.
|
|
|
2c13ad |
|
|
|
2c13ad |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-6
|
|
|
2c13ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
2c13ad |
|
|
|
2c13ad |
* Tue Feb 22 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.3.1-5
|
|
|
2c13ad |
- Change oro to jakarta-oro in BR/R
|
|
|
2c13ad |
|
|
|
2c13ad |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
|
|
|
2c13ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
2c13ad |
|
|
|
2c13ad |
* Wed Oct 20 2010 Chris Spike <chris.spike@arcor.de> 1.3.1-3
|
|
|
2c13ad |
- Moved junit tests to check section
|
|
|
2c13ad |
|
|
|
2c13ad |
* Sat Oct 2 2010 Chris Spike <chris.spike@arcor.de> 1.3.1-2
|
|
|
2c13ad |
- Rename and rebase from jakarta-commons-validator
|