Blame SPECS/apache-commons-validator.spec

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