From f4caead6eac755f989bbdc439ef95543ddae6241 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 31 2019 12:31:40 +0000 Subject: import apache-commons-codec-1.8-7.el7 --- diff --git a/.apache-commons-codec.metadata b/.apache-commons-codec.metadata new file mode 100644 index 0000000..d2cddc6 --- /dev/null +++ b/.apache-commons-codec.metadata @@ -0,0 +1 @@ +26f86615df1752c4d394572bfef52a7063ba33e4 SOURCES/commons-codec-1.8-src.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2ced490 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/commons-codec-1.8-src.tar.gz diff --git a/SOURCES/aspell-mail.txt b/SOURCES/aspell-mail.txt new file mode 100644 index 0000000..97dd72f --- /dev/null +++ b/SOURCES/aspell-mail.txt @@ -0,0 +1,85 @@ +Return-Path: kevina@misc.kevina.org +Received: from zmta06.collab.prod.int.phx2.redhat.com (LHLO + zmta06.collab.prod.int.phx2.redhat.com) (10.5.81.13) by + zmail15.collab.prod.int.phx2.redhat.com with LMTP; Tue, 21 Aug 2012 + 08:38:00 -0400 (EDT) +Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) + by zmta06.collab.prod.int.phx2.redhat.com (Postfix) with ESMTP id D74A71609E2 + for ; Tue, 21 Aug 2012 08:37:59 -0400 (EDT) +Received: from mx1.redhat.com (ext-mx15.extmail.prod.ext.phx2.redhat.com [10.5.110.20]) + by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q7LCbx5d031748 + for ; Tue, 21 Aug 2012 08:37:59 -0400 +Received: from misc.kevina.org (misc.kevina.org [96.126.107.114]) + by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7LCbwlx024966 + for ; Tue, 21 Aug 2012 08:37:58 -0400 +Received: by misc.kevina.org (Postfix, from userid 1000) + id 576F124ED81; Tue, 21 Aug 2012 08:37:57 -0400 (EDT) +Date: Tue, 21 Aug 2012 14:37:57 +0200 (CEST) +From: Kevin Atkinson +X-X-Sender: kevina@misc.kevina.org +To: Tomas Radej +Subject: Re: Aspell results licensing +In-Reply-To: <20120821095056.266cfca47594ad0e03f332f8@redhat.com> +Message-ID: +References: <20120816110627.3b433e1e1a2cfa2a3c29f8e2@redhat.com> <20120821095056.266cfca47594ad0e03f332f8@redhat.com> +User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) +MIME-Version: 1.0 +Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed +X-RedHat-Spam-Score: -2.111 (BAYES_00,RP_MATCHES_RCVD) +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 +X-Scanned-By: MIMEDefang 2.68 on 10.5.110.20 + + +How's this: + + Copyright 2007 by Kevin Atkinson + + Permission to use, copy, modify, distribute and sell the file + batch0.tab (available at http://aspell.net/test/cur/) is hereby + granted without fee, provided that the above copyright notice appears + in all copies and that both that copyright notice and this permission + notice appear in supporting documentation. Kevin Atkinson makes no + representations about the suitability of this array for any + purpose. It is provided "as is" without express or implied warranty. + +2007 since that is the year I belive I last modified the data. Would 2012 be +better? + +On Tue, 21 Aug 2012, Tomas Radej wrote: + +> Hi, +> +> On Thu, 16 Aug 2012 20:12:27 +0200 (CEST) +> Kevin Atkinson wrote: +> +>> If you are using the results than there shouldn't be a problem regardless of +>> what copyright I use. +> +> It's necessary to say that I'm not a maintainer in that project, I +> simply package it into Fedora. +> +>> If the original data file will some how be distributed +>> please let me know what your requirements are and I will see about +>> explicitly +>> assigning a compatible copyright. +> +> While checking the package, I found out that some of the data are +> actually embedded in the code [1], so yes, your data is actually being +> distributed. If I may, I would suggest you use either the MIT/X11 +> licence or the 2 or 3 clause BSD licence, as both of these can be +> combined with both the ASL 2.0 licence and GPL v2+ [2]. +> +> Thank you, TR +> +> [1] +> http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/language/DoubleMetaphoneTest.java?view=markup +> , +> line 49 onwards +> +> [2] http://fedoraproject.org/wiki/Licensing:Main#Good_Licenses +> +> -- +> Tomas Radej +> +> + diff --git a/SPECS/apache-commons-codec.spec b/SPECS/apache-commons-codec.spec new file mode 100644 index 0000000..32d637c --- /dev/null +++ b/SPECS/apache-commons-codec.spec @@ -0,0 +1,236 @@ +%global base_name codec +%global short_name commons-%{base_name} + +Name: apache-%{short_name} +Version: 1.8 +Release: 7%{?dist} +Summary: Implementations of common encoders and decoders +License: ASL 2.0 +URL: http://commons.apache.org/%{base_name}/ + +Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz +# Data in DoubleMetaphoneTest.java originally has an inadmissible license. +# The author gives MIT in e-mail communication. +Source1: aspell-mail.txt + + +BuildArch: noarch + +BuildRequires: java-devel +BuildRequires: jpackage-utils +BuildRequires: maven-local +BuildRequires: apache-commons-parent >= 26-7 +BuildRequires: maven-antrun-plugin +BuildRequires: maven-assembly-plugin +BuildRequires: maven-resources-plugin +BuildRequires: maven-doxia-sitetools +BuildRequires: maven-plugin-bundle + + +%description +Commons Codec is an attempt to provide definitive implementations of +commonly used encoders and decoders. Examples include Base64, Hex, +Phonetic and URLs. + +%package javadoc +Summary: API documentation for %{name} + +%description javadoc +%{summary}. + +%prep +%setup -q -n %{short_name}-%{version}-src +cp %{SOURCE1} aspell-mail.txt +sed -i 's/\r//' RELEASE-NOTES*.txt LICENSE.txt NOTICE.txt + +# compatibility symlinks and aliases +%mvn_file : %{name} %{short_name} +%mvn_alias : %{short_name}:%{short_name} + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%doc LICENSE.txt NOTICE.txt RELEASE-NOTES* aspell-mail.txt + +%files javadoc -f .mfiles-javadoc +%doc LICENSE.txt NOTICE.txt aspell-mail.txt + +%changelog +* Fri Dec 27 2013 Daniel Mach - 1.8-7 +- Mass rebuild 2013-12-27 + +* Fri Sep 20 2013 Mikolaj Izdebski - 1.8-6 +- Add BuildRequires on apache-commons-parent >= 26-7 + +* Mon Aug 19 2013 Stanislav Ochotnicky - 1.8-5 +- Migrate away from mvn-rpmbuild (#997446) + +* Mon Jul 08 2013 Tomas Radej - 1.8-4 +- Fixed license tag (MIT is only in test that doesn't make it into binary RPM) + +* Tue Jun 25 2013 Tomas Radej - 1.8-2 +- Clarified licensing of DoubleMetaphoneTest.java + +* Fri May 03 2013 Mat Booth - 1.8-1 +- Update to 1.8, rhbz #957598 + +* Mon Apr 29 2013 Mikolaj Izdebski - 1.7-5 +- Remove unneeded BR: maven-idea-plugin + +* Mon Feb 18 2013 Java SIG - 1.7-4 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Wed Feb 13 2013 Fedora Release Engineering - 1.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Nov 19 2012 Mikolaj Izdebski - 1.7-2 +- Add Provides/Obsoletes for jakarta-commons-codec + +* Thu Oct 25 2012 Mat Booth - 1.7-1 +- Update to 1.7. +- Can finally remove the provides/obsoletes on the old jakarta name. + +* Mon Sep 17 2012 Mikolaj Izdebski - 1.6-5 +- Restore apache-commons-codec.jar symlink, resolves #857947 + +* Tue Aug 7 2012 Mikolaj Izdebski - 1.6-4 +- Enable tests +- Install NOTICE with javadoc package +- Fix file permissions +- Remove versioned symlinks + +* Wed Jul 18 2012 Fedora Release Engineering - 1.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jan 12 2012 Fedora Release Engineering - 1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Dec 7 2011 akurtakov 1.6-1 +- Update to latest upstream (1.6). + +* Wed Nov 30 2011 Alexander Kurtakov 1.4-13 +- Build with maven 3. +- Adapt to current guidelines. + +* Thu Feb 10 2011 mbooth 1.4-12 +- Drop versioned jars and javadocs. + +* Mon Feb 07 2011 Fedora Release Engineering - 1.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri May 21 2010 Mat Booth 1.4-10 +- Correct dep-map names #594717. + +* Fri May 21 2010 Alexander Kurtakov 1.4-9 +- Obsolete/Provide commons-codec. + +* Fri May 14 2010 Mat Booth - 1.4-8 +- Obsolete jakarta javadoc package. +- Keep legacy depmap around. + +* Thu May 13 2010 Mat Booth - 1.4-7 +- Use global instead of define. +- Drop really old obsoletes/provides on short_name. +- Fix requires. + +* Tue May 11 2010 Mat Booth - 1.4-6 +- Rename package (jakarta-commons-codec->apache-commons-codec). + +* Tue Dec 8 2009 Mat Booth - 1.4-5 +- Enable OSGi automatic depsolving (from Alphonse Van Assche). + +* Sun Nov 8 2009 Mat Booth - 1.4-4 +- Fix javadoc package requires + +* Sat Nov 7 2009 Mat Booth - 1.4-3 +- Correct Obsoletes/Provides according to naming guidelines + +* Sat Nov 7 2009 Mat Booth - 1.4-2 +- Add all maven related build reqs +- Require Java 1.6 because tests fail on GCJ + +* Sat Nov 7 2009 Mat Booth - 1.4-1 +- Update to 1.4 +- Rewrite spec file to build using upstream-preferred maven instead of ant +- Drop patch to add OSGi manifest (done automatically in the maven build) +- Install pom and add to maven dep-map +- Re-enable all tests + +* Fri Jul 24 2009 Fedora Release Engineering - 0:1.3-11.4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0:1.3-10.4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Jul 24 2008 Andrew Overholt 1.3-9.4 +- Update OSGi manifest. + +* Wed Jul 9 2008 Tom "spot" Callaway - 0:1.3-9.3 +- drop repotag +- fix license tag + +* Tue Feb 19 2008 Fedora Release Engineering - 0:1.3-9jpp.2 +- Autorebuild for GCC 4.3 + +* Thu Sep 06 2007 Andrew Overholt 1.3-8jpp.2 +- Add OSGi manifest. + +* Wed Mar 21 2007 Matt Wringe 0:1.3-8jpp.1 +- Update to latest jpp version +- Fix rpmlint issues + +* Wed Mar 21 2007 Matt Wringe 0:1.3-8jpp +- Fix some rpmlint warnings +- Update copyright year + +* Sun Oct 01 2006 Jesse Keating 0:1.3-7jpp.2 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 + +* Tue Sep 26 2006 Matt Wringe 0:1.3-7jpp.1 +- Merge with upstream version. + +* Tue Sep 26 2006 Matt Wringe 0:1.3-7jpp +- Add missing java-javadoc requires and buildrequires. + +* Mon Sep 25 2006 Matt Wringe 0:1.3-6jpp.1 +- Merge with upstream version. + +* Mon Sep 25 2006 Matt Wringe 0:1.3-6jpp +- Update jakarta-commons-codec-1.3-buildscript.patch to build + offline. + +* Thu Aug 10 2006 Matt Wringe 0:1.3-5jpp.1 +- Merge with upstream version + - Add missing javadoc requires + +* Sat Jul 22 2006 Jakub Jelinek - 0:1.3-4jpp_2fc +- Rebuilt + +* Thu Jul 20 2006 Matt Wringe 0:1.3-4jpp_1fc +- Merged with upstream version +- Now is natively compiled + +* Thu Jul 20 2006 Matt Wringe 0:1.3-4jpp +- Added conditional native compiling + +* Tue Apr 04 2006 Ralph Apel 0:1.3-3jpp +- First JPP-1.7 release + +* Wed Sep 08 2004 Fernando Nasser 0:1.3-2jpp +- Do not stop on test failure + +* Tue Sep 07 2004 Fernando Nasser 0:1.3-1jpp +- Upgrade to 1.3 +- Rebuilt with Ant 1.6.2 + +* Thu Jan 22 2004 David Walluck 0:1.2-1jpp +- 1.2 +- use perl instead of patch + +* Wed May 28 2003 Ville Skyttä - 0:1.1-1jpp +- First JPackage release.