Blame SPECS/apache-commons-codec.spec

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