Blame SPECS/apache-commons-codec.spec

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