diff --git a/apache-commons-codec.spec b/apache-commons-codec.spec new file mode 100644 index 0000000..9654ebb --- /dev/null +++ b/apache-commons-codec.spec @@ -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 - 1.11-6 +- Package init diff --git a/commons-codec-1.11-src.tar.gz b/commons-codec-1.11-src.tar.gz new file mode 100644 index 0000000..29d4e20 Binary files /dev/null and b/commons-codec-1.11-src.tar.gz differ