!1 init package

Merge pull request !1 from chenholmes/cl
This commit is contained in:
openeuler-ci-bot 2020-02-14 15:17:40 +08:00 committed by Gitee
commit d24d545b02
2 changed files with 46 additions and 0 deletions

46
apache-commons-codec.spec Normal file
View 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

Binary file not shown.