commit
d24d545b02
46
apache-commons-codec.spec
Normal file
46
apache-commons-codec.spec
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
Name: apache-commons-codec
|
||||||
|
Version: 1.11
|
||||||
|
Release: 6
|
||||||
|
Summary: Apache common encoders and decoders
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: http://commons.apache.org/codec/
|
||||||
|
Source0: http://archive.apache.org/dist/commons/codec/source/commons-codec-%{version}-src.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: maven-local mvn(org.apache.commons:commons-parent:pom:)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
||||||
|
|
||||||
|
%description
|
||||||
|
Apache Commons Codec (TM) software provides implementations of common
|
||||||
|
encoders and decoders such as Base64, Hex, Phonetic and URLs.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Documents for apache-common-codec
|
||||||
|
|
||||||
|
Provides: %{name}-javadoc = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||||
|
|
||||||
|
%description help
|
||||||
|
The apache-commons-codec-help package contains related documents.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n commons-codec-%{version}-src
|
||||||
|
|
||||||
|
%mvn_file : commons-codec %{name}
|
||||||
|
%mvn_alias : commons-codec:commons-codec
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%doc LICENSE.txt
|
||||||
|
|
||||||
|
%files help -f .mfiles-javadoc
|
||||||
|
%doc RELEASE-NOTES* NOTICE.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Dec 03 2019 Jiangping Hu <hujiangping@huawei.com> - 1.11-6
|
||||||
|
- Package init
|
||||||
BIN
commons-codec-1.11-src.tar.gz
Normal file
BIN
commons-codec-1.11-src.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user