Initial import (#832803).
This commit is contained in:
parent
074912363b
commit
117f76953d
4 changed files with 1956 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -0,0 +1 @@
|
|||
/commons-primitives-ba65d72f2634bae13e0c0157de297c12a7329b16.tar.gz
|
||||
1880
apache-commons-primitives-1.1.678495-javadoc.patch
Normal file
1880
apache-commons-primitives-1.1.678495-javadoc.patch
Normal file
File diff suppressed because it is too large
Load diff
74
apache-commons-primitives.spec
Normal file
74
apache-commons-primitives.spec
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
|
||||
%global short_name commons-primitives
|
||||
# Use this pre-release because it implements new features without breaking the backward compatibility
|
||||
# and fix some issues in the 1.0 release.
|
||||
# https://github.com/apache/commons-primitives/commit/ba65d72f2634bae13e0c0157de297c12a7329b16
|
||||
%global svn_rev 678495
|
||||
%global githash ba65d72f2634bae13e0c0157de297c12a7329b16
|
||||
|
||||
Name: apache-commons-primitives
|
||||
Version: 1.1
|
||||
Release: 0.1.%{svn_rev}%{?dist}
|
||||
Summary: A set of collection and utility classes for primitive types
|
||||
License: ASL 2.0
|
||||
Url: http://commons.apache.org/proper/commons-primitives/
|
||||
# svn export -r 678495 http://svn.apache.org/repos/asf/commons/proper/primitives/trunk/ commons-primitives-1.1
|
||||
# tar cJf commons-primitives-1.1.tar.xz commons-primitives-1.1
|
||||
# or
|
||||
Source0: https://github.com/apache/commons-primitives/archive/%{githash}/%{short_name}-%{githash}.tar.gz
|
||||
|
||||
Patch0: apache-commons-primitives-1.1.678495-javadoc.patch
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(commons-collections:commons-collections-testframework)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Commons Primitives is a set of collection and
|
||||
utility classes for primitive types. The Java
|
||||
language has a clear distinction between
|
||||
Object and primitive types. A lot of functionality
|
||||
is provided for Object types, including the Java
|
||||
Collection Framework. Relatively little functionality
|
||||
is provided by the JDK for primitives. This package
|
||||
addresses this by providing a set of utility and
|
||||
collection classes for primitives.
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
|
||||
%description javadoc
|
||||
This package contains javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{short_name}-%{githash}
|
||||
find . -name '*.class' -delete
|
||||
find . -name '*.jar' -delete
|
||||
|
||||
%patch0 -p1
|
||||
|
||||
%pom_remove_plugin :maven-assembly-plugin
|
||||
|
||||
%mvn_file ":{*}" %{name} @1
|
||||
|
||||
%build
|
||||
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%doc RELEASE-NOTES.txt PROPOSAL.html
|
||||
%license LICENSE.txt NOTICE.txt
|
||||
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
%license LICENSE.txt NOTICE.txt
|
||||
|
||||
%changelog
|
||||
* Sat May 19 2012 gil cattaneo <puntogil@libero.it> 1.1-0.1.678495
|
||||
- initial rpm
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
4b8e179b12f78568127e8ec0aa22e609 commons-primitives-ba65d72f2634bae13e0c0157de297c12a7329b16.tar.gz
|
||||
Reference in a new issue