diff --git a/Ignore-some-test-because-bep.patch b/Ignore-some-test-because-bep.patch new file mode 100644 index 0000000..e69de29 diff --git a/apache-commons-io.spec b/apache-commons-io.spec new file mode 100644 index 0000000..9a275c6 --- /dev/null +++ b/apache-commons-io.spec @@ -0,0 +1,45 @@ +Name: apache-commons-io +Epoch: 1 +Version: 2.6 +Release: 5 +Summary: A library of utilities for developing IO functionality. +License: ASL 2.0 +URL: http://commons.apache.org/proper/commons-io +Source0: http://archive.apache.org/dist/commons/io/source/commons-io-%{version}-src.tar.gz +Patch9000: Ignore-some-test-because-bep.patch +BuildArch: noarch +BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) maven-local +BuildRequires: mvn(org.apache.commons:commons-parent:pom:) mvn(junit:junit) + +%description +Apache commons IO library is used for developing IO functionality. It contains a collecton of utilities with +utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more. + +%package help +Summary: Help documents for apache-commons-io +Provides: %{name}-javadoc = %{version}-%{release} +Obsoletes: %{name}-javadoc < %{version}-%{release} + +%description help +Help documents for apache-commons-io. + +%prep +%autosetup -n commons-io-%{version}-src -p1 + +%build +%mvn_file : commons-io %{name} +%mvn_alias : org.apache.commons: +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE.txt NOTICE.txt + +%files help -f .mfiles-javadoc +%doc RELEASE-NOTES.txt + +%changelog +* Thu Dec 5 2019 chenzhenyu - 1:2.6-5 +- Package init diff --git a/commons-io-2.6-src.tar.gz b/commons-io-2.6-src.tar.gz new file mode 100644 index 0000000..5347e29 Binary files /dev/null and b/commons-io-2.6-src.tar.gz differ