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