f3b3db
%global base_name codec
f3b3db
%global short_name commons-%{base_name}
f3b3db
f3b3db
Name:          apache-%{short_name}
f3b3db
Version:       1.8
5da88c
Release:       7%{?dist}
f3b3db
Summary:       Implementations of common encoders and decoders
f3b3db
License:       ASL 2.0
f3b3db
URL:           http://commons.apache.org/%{base_name}/
f3b3db
f3b3db
Source0:       http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
f3b3db
# Data in DoubleMetaphoneTest.java originally has an inadmissible license.
f3b3db
# The author gives MIT in e-mail communication.
f3b3db
Source1:       aspell-mail.txt
f3b3db
f3b3db
f3b3db
BuildArch:     noarch
f3b3db
f3b3db
BuildRequires: java-devel
f3b3db
BuildRequires: jpackage-utils
f3b3db
BuildRequires: maven-local
f3b3db
BuildRequires: apache-commons-parent >= 26-7
f3b3db
BuildRequires: maven-antrun-plugin
f3b3db
BuildRequires: maven-assembly-plugin
f3b3db
BuildRequires: maven-resources-plugin
f3b3db
BuildRequires: maven-doxia-sitetools
f3b3db
BuildRequires: maven-plugin-bundle
f3b3db
f3b3db
f3b3db
%description
f3b3db
Commons Codec is an attempt to provide definitive implementations of
f3b3db
commonly used encoders and decoders. Examples include Base64, Hex,
f3b3db
Phonetic and URLs.
f3b3db
f3b3db
%package javadoc
f3b3db
Summary:       API documentation for %{name}
f3b3db
f3b3db
%description javadoc
f3b3db
%{summary}.
f3b3db
f3b3db
%prep
f3b3db
%setup -q -n %{short_name}-%{version}-src
f3b3db
cp %{SOURCE1} aspell-mail.txt
f3b3db
sed -i 's/\r//' RELEASE-NOTES*.txt LICENSE.txt NOTICE.txt
f3b3db
f3b3db
# compatibility symlinks and aliases
f3b3db
%mvn_file : %{name} %{short_name}
f3b3db
%mvn_alias : %{short_name}:%{short_name}
f3b3db
f3b3db
%build
f3b3db
%mvn_build
f3b3db
f3b3db
%install
f3b3db
%mvn_install
f3b3db
f3b3db
%files -f .mfiles
f3b3db
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES* aspell-mail.txt
f3b3db
f3b3db
%files javadoc -f .mfiles-javadoc
f3b3db
%doc LICENSE.txt NOTICE.txt aspell-mail.txt
f3b3db
f3b3db
%changelog
5da88c
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.8-7
5da88c
- Mass rebuild 2013-12-27
5da88c
f3b3db
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8-6
f3b3db
- Add BuildRequires on apache-commons-parent >= 26-7
f3b3db
f3b3db
* Mon Aug 19 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.8-5
f3b3db
- Migrate away from mvn-rpmbuild (#997446)
f3b3db
f3b3db
* Mon Jul 08 2013 Tomas Radej <tradej@redhat.com> - 1.8-4
f3b3db
- Fixed license tag (MIT is only in test that doesn't make it into binary RPM)
f3b3db
f3b3db
* Tue Jun 25 2013 Tomas Radej <tradej@redhat.com> - 1.8-2
f3b3db
- Clarified licensing of DoubleMetaphoneTest.java
f3b3db
f3b3db
* Fri May 03 2013 Mat Booth <fedora@matbooth.co.uk> - 1.8-1
f3b3db
- Update to 1.8, rhbz #957598
f3b3db
f3b3db
* Mon Apr 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-5
f3b3db
- Remove unneeded BR: maven-idea-plugin
f3b3db
f3b3db
* Mon Feb 18 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.7-4
f3b3db
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
f3b3db
- Replace maven BuildRequires with maven-local
f3b3db
f3b3db
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3
f3b3db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f3b3db
f3b3db
* Mon Nov 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.7-2
f3b3db
- Add Provides/Obsoletes for jakarta-commons-codec
f3b3db
f3b3db
* Thu Oct 25 2012 Mat Booth <fedora@matbooth.co.uk> - 1.7-1
f3b3db
- Update to 1.7.
f3b3db
- Can finally remove the provides/obsoletes on the old jakarta name.
f3b3db
f3b3db
* Mon Sep 17 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6-5
f3b3db
- Restore apache-commons-codec.jar symlink, resolves #857947
f3b3db
f3b3db
* Tue Aug  7 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6-4
f3b3db
- Enable tests
f3b3db
- Install NOTICE with javadoc package
f3b3db
- Fix file permissions
f3b3db
- Remove versioned symlinks
f3b3db
f3b3db
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3
f3b3db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f3b3db
f3b3db
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
f3b3db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f3b3db
f3b3db
* Wed Dec 7 2011 akurtakov <akurtakov@rh.akurtakov> 1.6-1
f3b3db
- Update to latest upstream (1.6).
f3b3db
f3b3db
* Wed Nov 30 2011 Alexander Kurtakov <akurtako@redhat.com> 1.4-13
f3b3db
- Build with maven 3.
f3b3db
- Adapt to current guidelines.
f3b3db
f3b3db
* Thu Feb 10 2011 mbooth <mbooth@sd.matbooth.co.uk> 1.4-12
f3b3db
- Drop versioned jars and javadocs.
f3b3db
f3b3db
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-11
f3b3db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f3b3db
f3b3db
* Fri May 21 2010 Mat Booth <fedora@matbooth.co.uk> 1.4-10
f3b3db
- Correct dep-map names #594717.
f3b3db
f3b3db
* Fri May 21 2010 Alexander Kurtakov <akurtako@redhat.com> 1.4-9
f3b3db
- Obsolete/Provide commons-codec.
f3b3db
f3b3db
* Fri May 14 2010 Mat Booth <fedora@matbooth.co.uk> - 1.4-8
f3b3db
- Obsolete jakarta javadoc package.
f3b3db
- Keep legacy depmap around.
f3b3db
f3b3db
* Thu May 13 2010 Mat Booth <fedora@matbooth.co.uk> - 1.4-7
f3b3db
- Use global instead of define.
f3b3db
- Drop really old obsoletes/provides on short_name.
f3b3db
- Fix requires.
f3b3db
f3b3db
* Tue May 11 2010 Mat Booth <fedora@matbooth.co.uk> - 1.4-6
f3b3db
- Rename package (jakarta-commons-codec->apache-commons-codec).
f3b3db
f3b3db
* Tue Dec 8 2009 Mat Booth <fedora@matbooth.co.uk> - 1.4-5
f3b3db
- Enable OSGi automatic depsolving (from Alphonse Van Assche).
f3b3db
f3b3db
* Sun Nov 8 2009 Mat Booth <fedora@matbooth.co.uk> - 1.4-4
f3b3db
- Fix javadoc package requires
f3b3db
f3b3db
* Sat Nov 7 2009 Mat Booth <fedora@matbooth.co.uk> - 1.4-3
f3b3db
- Correct Obsoletes/Provides according to naming guidelines
f3b3db
f3b3db
* Sat Nov 7 2009 Mat Booth <fedora@matbooth.co.uk> - 1.4-2
f3b3db
- Add all maven related build reqs
f3b3db
- Require Java 1.6 because tests fail on GCJ
f3b3db
f3b3db
* Sat Nov 7 2009 Mat Booth <fedora@matbooth.co.uk> - 1.4-1
f3b3db
- Update to 1.4
f3b3db
- Rewrite spec file to build using upstream-preferred maven instead of ant
f3b3db
- Drop patch to add OSGi manifest (done automatically in the maven build)
f3b3db
- Install pom and add to maven dep-map
f3b3db
- Re-enable all tests
f3b3db
f3b3db
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3-11.4
f3b3db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f3b3db
f3b3db
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.3-10.4
f3b3db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f3b3db
f3b3db
* Thu Jul 24 2008 Andrew Overholt <overholt@redhat.com> 1.3-9.4
f3b3db
- Update OSGi manifest.
f3b3db
f3b3db
* Wed Jul  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.3-9.3
f3b3db
- drop repotag
f3b3db
- fix license tag
f3b3db
f3b3db
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0:1.3-9jpp.2
f3b3db
- Autorebuild for GCC 4.3
f3b3db
f3b3db
* Thu Sep 06 2007 Andrew Overholt <overholt@redhat.com> 1.3-8jpp.2
f3b3db
- Add OSGi manifest.
f3b3db
f3b3db
* Wed Mar 21 2007 Matt Wringe <mwringe@redhat.com> 0:1.3-8jpp.1
f3b3db
- Update to latest jpp version
f3b3db
- Fix rpmlint issues
f3b3db
f3b3db
* Wed Mar 21 2007 Matt Wringe <mwringe@redhat.com> 0:1.3-8jpp
f3b3db
- Fix some rpmlint warnings
f3b3db
- Update copyright year
f3b3db
f3b3db
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> 0:1.3-7jpp.2
f3b3db
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
f3b3db
f3b3db
* Tue Sep 26 2006 Matt Wringe <mwringe at redhat.com> 0:1.3-7jpp.1
f3b3db
- Merge with upstream version.
f3b3db
f3b3db
* Tue Sep 26 2006 Matt Wringe <mwringe at redhat.com> 0:1.3-7jpp
f3b3db
- Add missing java-javadoc requires and buildrequires.
f3b3db
f3b3db
* Mon Sep 25 2006 Matt Wringe <mwringe at redhat.com> 0:1.3-6jpp.1
f3b3db
- Merge with upstream version.
f3b3db
f3b3db
* Mon Sep 25 2006 Matt Wringe <mwringe at redhat.com> 0:1.3-6jpp
f3b3db
- Update jakarta-commons-codec-1.3-buildscript.patch to build
f3b3db
  offline.
f3b3db
f3b3db
* Thu Aug 10 2006 Matt Wringe <mwringe at redhat.com> 0:1.3-5jpp.1
f3b3db
- Merge with upstream version
f3b3db
 - Add missing javadoc requires
f3b3db
f3b3db
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> - 0:1.3-4jpp_2fc
f3b3db
- Rebuilt
f3b3db
f3b3db
* Thu Jul 20 2006 Matt Wringe <mwringe at redhat.com> 0:1.3-4jpp_1fc
f3b3db
- Merged with upstream version
f3b3db
- Now is natively compiled
f3b3db
f3b3db
* Thu Jul 20 2006 Matt Wringe <mwringe at redhat.com> 0:1.3-4jpp
f3b3db
- Added conditional native compiling
f3b3db
f3b3db
* Tue Apr 04 2006 Ralph Apel <r.apel@r-apel.de> 0:1.3-3jpp
f3b3db
- First JPP-1.7 release
f3b3db
f3b3db
* Wed Sep 08 2004 Fernando Nasser <fnasser@redhat.com> 0:1.3-2jpp
f3b3db
- Do not stop on test failure
f3b3db
f3b3db
* Tue Sep 07 2004 Fernando Nasser <fnasser@redhat.com> 0:1.3-1jpp
f3b3db
- Upgrade to 1.3
f3b3db
- Rebuilt with Ant 1.6.2
f3b3db
f3b3db
* Thu Jan 22 2004 David Walluck <david@anti-microsoft.org> 0:1.2-1jpp
f3b3db
- 1.2
f3b3db
- use perl instead of patch
f3b3db
f3b3db
* Wed May 28 2003 Ville Skyttä <jpackage-discuss at zarb.org> - 0:1.1-1jpp
f3b3db
- First JPackage release.