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