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