Blame SPECS/apache-commons-validator.spec

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