Import rpm: fb5e99a857304fd7449f60f5b9de79bcaa19a876
This commit is contained in:
parent
ba1a7a7ab9
commit
ba3feeddc4
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/commons-codec-1.11-src.tar.gz
|
SOURCES/commons-codec-1.8-src.tar.gz
|
||||||
|
@ -1,34 +1,51 @@
|
|||||||
Name: apache-commons-codec
|
%global base_name codec
|
||||||
Version: 1.11
|
%global short_name commons-%{base_name}
|
||||||
Release: 3%{?dist}
|
|
||||||
Summary: Implementations of common encoders and decoders
|
|
||||||
License: ASL 2.0
|
|
||||||
URL: http://commons.apache.org/codec/
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
Source0: http://archive.apache.org/dist/commons/codec/source/commons-codec-%{version}-src.tar.gz
|
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.
|
# 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.
|
||||||
|
|
||||||
%{?javadoc_package}
|
%package javadoc
|
||||||
|
Summary: API documentation for %{name}
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n commons-codec-%{version}-src
|
%setup -q -n %{short_name}-%{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
|
||||||
|
|
||||||
%mvn_file : commons-codec %{name}
|
# compatibility symlinks and aliases
|
||||||
%mvn_alias : commons-codec:commons-codec
|
%mvn_file : %{name} %{short_name}
|
||||||
|
%mvn_alias : %{short_name}:%{short_name}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_build
|
%mvn_build
|
||||||
@ -37,52 +54,20 @@ sed -i 's/\r//' RELEASE-NOTES*.txt LICENSE.txt NOTICE.txt
|
|||||||
%mvn_install
|
%mvn_install
|
||||||
|
|
||||||
%files -f .mfiles
|
%files -f .mfiles
|
||||||
%license LICENSE.txt NOTICE.txt aspell-mail.txt
|
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES* aspell-mail.txt
|
||||||
%doc RELEASE-NOTES*
|
|
||||||
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
%doc LICENSE.txt NOTICE.txt aspell-mail.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-3
|
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.8-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Mass rebuild 2013-12-27
|
||||||
|
|
||||||
* Mon Jan 29 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.11-2
|
* Fri Sep 20 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.8-6
|
||||||
- Cleanup spec file
|
- Add BuildRequires on apache-commons-parent >= 26-7
|
||||||
|
|
||||||
* Fri Nov 24 2017 Mat Booth <mat.booth@redhat.com> - 1.11-1
|
* Mon Aug 19 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.8-5
|
||||||
- Update to latest upstream version
|
- Migrate away from mvn-rpmbuild (#997446)
|
||||||
|
|
||||||
* 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)
|
||||||
@ -132,7 +117,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 <fedora@matbooth.co.uk> 1.4-12
|
* Thu Feb 10 2011 mbooth <mbooth@sd.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