[apache-commons-collections4/f19] Initial packaging
Mikolaj Izdebski
mizdebsk at fedoraproject.org
Mon Feb 10 15:23:13 UTC 2014
commit 693d6a4e7139f93b51093cadfaf110f4b045157a
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Mon Feb 10 16:22:42 2014 +0100
Initial packaging
.gitignore | 1 +
apache-commons-collections4.spec | 46 ++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9584ead 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/commons-collections4-4.0-src.tar.gz
diff --git a/apache-commons-collections4.spec b/apache-commons-collections4.spec
new file mode 100644
index 0000000..c13f068
--- /dev/null
+++ b/apache-commons-collections4.spec
@@ -0,0 +1,46 @@
+Summary: Extension of the Java Collections Framework
+Name: apache-commons-collections4
+Version: 4.0
+Release: 1%{?dist}
+License: ASL 2.0
+URL: http://commons.apache.org/proper/commons-collections/
+BuildArch: noarch
+
+Source0: http://www.apache.org/dist/commons/collections/source/commons-collections4-4.0-src.tar.gz
+
+BuildRequires: maven-local
+BuildRequires: mvn(junit:junit)
+BuildRequires: mvn(org.apache.commons:commons-parent)
+BuildRequires: mvn(org.apache.maven.plugins:maven-checkstyle-plugin)
+BuildRequires: mvn(org.easymock:easymock)
+
+%description
+Commons-Collections seek to build upon the JDK classes by providing
+new interfaces, implementations and utilities.
+
+%package javadoc
+Summary: API documentation for %{name}
+
+%description javadoc
+This package provides %{summary}.
+
+%prep
+%setup -q -n commons-collections4-%{version}-src
+%mvn_file : %{name} commons-collections4
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc README.txt RELEASE-NOTES.txt
+%doc LICENSE.txt NOTICE.txt
+
+%files javadoc -f .mfiles-javadoc
+%doc LICENSE.txt NOTICE.txt
+
+%changelog
+* Mon Jan 27 2014 Mikolaj Izdebski <mizdebsk at redhat.com> - 4.0-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..3092896 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d0f1e679725945eaf3e2f0c0a33532a5 commons-collections4-4.0-src.tar.gz
More information about the scm-commits
mailing list