import sources
This commit is contained in:
parent
ba3feeddc4
commit
66418dbe47
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
SOURCES/commons-codec-1.8-src.tar.gz
|
SOURCES/commons-codec-1.8-src.tar.gz
|
||||||
|
/commons-codec-1.11-src.tar.gz
|
||||||
|
@ -1,51 +1,34 @@
|
|||||||
%global base_name codec
|
Name: apache-commons-codec
|
||||||
%global short_name commons-%{base_name}
|
Version: 1.11
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Summary: Implementations of common encoders and decoders
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: http://commons.apache.org/codec/
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
Name: apache-%{short_name}
|
Source0: http://archive.apache.org/dist/commons/codec/source/commons-codec-%{version}-src.tar.gz
|
||||||
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.
|
# Data in DoubleMetaphoneTest.java originally has an inadmissible license.
|
||||||
# The author gives MIT in e-mail communication.
|
# The author gives MIT in e-mail communication.
|
||||||
Source1: aspell-mail.txt
|
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
|
|
||||||
|
|
||||||
|
BuildRequires: maven-local
|
||||||
|
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Commons Codec is an attempt to provide definitive implementations of
|
Commons Codec is an attempt to provide definitive implementations of
|
||||||
commonly used encoders and decoders. Examples include Base64, Hex,
|
commonly used encoders and decoders. Examples include Base64, Hex,
|
||||||
Phonetic and URLs.
|
Phonetic and URLs.
|
||||||
|
|
||||||
%package javadoc
|
%{?javadoc_package}
|
||||||
Summary: API documentation for %{name}
|
|
||||||
|
|
||||||
%description javadoc
|
|
||||||
%{summary}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{short_name}-%{version}-src
|
%autosetup -n commons-codec-%{version}-src
|
||||||
cp %{SOURCE1} aspell-mail.txt
|
cp %{SOURCE1} aspell-mail.txt
|
||||||
sed -i 's/\r//' RELEASE-NOTES*.txt LICENSE.txt NOTICE.txt
|
sed -i 's/\r//' RELEASE-NOTES*.txt LICENSE.txt NOTICE.txt
|
||||||
|
|
||||||
# compatibility symlinks and aliases
|
%mvn_file : commons-codec %{name}
|
||||||
%mvn_file : %{name} %{short_name}
|
%mvn_alias : commons-codec:commons-codec
|
||||||
%mvn_alias : %{short_name}:%{short_name}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_build
|
%mvn_build
|
||||||
@ -54,20 +37,52 @@ sed -i 's/\r//' RELEASE-NOTES*.txt LICENSE.txt NOTICE.txt
|
|||||||
%mvn_install
|
%mvn_install
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES* aspell-mail.txt
|
%license LICENSE.txt NOTICE.txt aspell-mail.txt
|
||||||
|
%doc RELEASE-NOTES*
|
||||||
%files javadoc -f .mfiles-javadoc
|
|
||||||
%doc LICENSE.txt NOTICE.txt aspell-mail.txt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.8-7
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-3
|
||||||
- Mass rebuild 2013-12-27
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8-6
|
* Mon Jan 29 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.11-2
|
||||||
- Add BuildRequires on apache-commons-parent >= 26-7
|
- Cleanup spec file
|
||||||
|
|
||||||
* Mon Aug 19 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.8-5
|
* Fri Nov 24 2017 Mat Booth <mat.booth@redhat.com> - 1.11-1
|
||||||
- Migrate away from mvn-rpmbuild (#997446)
|
- Update to latest upstream version
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Nov 17 2014 Mat Booth <mat.booth@redhat.com> - 1.10-1
|
||||||
|
- Update to upstream version 1.10
|
||||||
|
|
||||||
|
* Tue Oct 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-5
|
||||||
|
- Remove legacy Obsoletes/Provides for jakarta-commons
|
||||||
|
|
||||||
|
* Wed Jul 30 2014 Mat Booth <mat.booth@redhat.com> - 1.9-4
|
||||||
|
- Fix incorrect parent BR causing FTBFS
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.9-2
|
||||||
|
- Use Requires: java-headless rebuild (#1067528)
|
||||||
|
|
||||||
|
* Mon Jan 6 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.9-1
|
||||||
|
- Update to upstream version 1.9
|
||||||
|
- Update to current packaging guidelines
|
||||||
|
|
||||||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Jul 08 2013 Tomas Radej <tradej@redhat.com> - 1.8-4
|
* Mon Jul 08 2013 Tomas Radej <tradej@redhat.com> - 1.8-4
|
||||||
- Fixed license tag (MIT is only in test that doesn't make it into binary RPM)
|
- Fixed license tag (MIT is only in test that doesn't make it into binary RPM)
|
||||||
@ -117,7 +132,7 @@ sed -i 's/\r//' RELEASE-NOTES*.txt LICENSE.txt NOTICE.txt
|
|||||||
- Build with maven 3.
|
- Build with maven 3.
|
||||||
- Adapt to current guidelines.
|
- Adapt to current guidelines.
|
||||||
|
|
||||||
* Thu Feb 10 2011 mbooth <mbooth@sd.matbooth.co.uk> 1.4-12
|
* Thu Feb 10 2011 mbooth <fedora@matbooth.co.uk> 1.4-12
|
||||||
- Drop versioned jars and javadocs.
|
- Drop versioned jars and javadocs.
|
||||||
|
|
||||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-11
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-11
|
||||||
|
Loading…
Reference in New Issue
Block a user