Blame SPECS/apache-commons-validator.spec

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