[jenkins-version-number/f19] Initial import
Michal Srb
msrb at fedoraproject.org
Wed May 15 14:15:55 UTC 2013
commit 2cd526401559113230bb5bdde7f58629cee6c1d4
Author: Michal Srb <msrb at redhat.com>
Date: Wed May 15 16:15:13 2013 +0200
Initial import
.gitignore | 3 ++
jenkins-version-number.spec | 57 +++++++++++++++++++++++++++++++++++++++++++
sources | 3 ++
3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..96e992d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,3 @@
+/version-number-1.1.tar.gz
+/LICENSE-2.0.txt
+/LICENSE.txt
diff --git a/jenkins-version-number.spec b/jenkins-version-number.spec
new file mode 100644
index 0000000..e443a56
--- /dev/null
+++ b/jenkins-version-number.spec
@@ -0,0 +1,57 @@
+%global short_name version-number
+
+Name: jenkins-version-number
+Version: 1.1
+Release: 1%{?dist}
+Summary: Version number manipulation library for Java
+
+# Main class has been rewritten by Apache guys, rest of the project is under MIT
+# ASL 2.0: VersionNumber.java
+# MIT: VersionNumberTest.java
+License: ASL 2.0 and MIT
+URL: https://github.com/jenkinsci/lib-version-number
+Source0: https://github.com/jenkinsci/lib-%{short_name}/archive/%{short_name}-%{version}.tar.gz
+Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
+Source2: https://raw.github.com/jenkinsci/jenkins/jenkins-1.510/LICENSE.txt
+
+BuildRequires: maven-local
+BuildRequires: mvn(junit:junit)
+
+BuildArch: noarch
+
+%description
+This package contains small Java library which can be used
+for manipulating version numbers in various Jenkins modules.
+
+%package javadoc
+Summary: Javadoc for %{name}
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+
+%prep
+%setup -q -n lib-%{short_name}-%{short_name}-%{version}
+
+# Nothing really interesting in parent
+%pom_remove_parent
+%pom_xpath_inject "pom:project" "<groupId>org.jenkins-ci</groupId>"
+
+cp %{SOURCE1} LICENSE-ASL
+cp %{SOURCE2} LICENSE-MIT
+
+%build
+%mvn_build -- -Dproject.build.sourceEncoding=ISO-8859-1
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc LICENSE-ASL LICENSE-MIT
+%files javadoc -f .mfiles-javadoc
+%doc LICENSE-ASL LICENSE-MIT
+
+%changelog
+* Mon May 13 2013 Michal Srb <msrb at redhat.com> - 1.1-1
+- Initial package
+
diff --git a/sources b/sources
index e69de29..b44d03f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,3 @@
+6e6cd0c1fd6826414a432ffeddcb0836 version-number-1.1.tar.gz
+3b83ef96387f14655fc854ddc3c6bd57 LICENSE-2.0.txt
+9cc0a29e6ed42f3362df214b05448545 LICENSE.txt
More information about the scm-commits
mailing list