Blame SPECS/apache-commons-validator.spec

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