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