ngompa pushed to jsemver (f22). "Initial import (#1196925)"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 14 19:21:48 UTC 2015


>From 603f4dd815af8efbc307174dbe08c6201f6076bf Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngompa13 at gmail.com>
Date: Tue, 14 Apr 2015 15:13:37 -0400
Subject: Initial import (#1196925)


diff --git a/.gitignore b/.gitignore
index e69de29..d5af3ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/0.8.0.tar.gz
diff --git a/jsemver.spec b/jsemver.spec
new file mode 100644
index 0000000..f476da8
--- /dev/null
+++ b/jsemver.spec
@@ -0,0 +1,56 @@
+Name:           jsemver
+Version:        0.8.0
+Release:        1%{?dist}
+Summary:        A Java implementation of the Semantic Versioning Specification
+
+License:        MIT
+URL:            https://github.com/zafarkhaja/jsemver
+Source0:        https://github.com/zafarkhaja/jsemver/archive/%{version}.tar.gz
+
+BuildArch:      noarch
+
+BuildRequires:  maven-local
+BuildRequires:  maven-compiler-plugin >= 3.1
+BuildRequires:  maven-javadoc-plugin >= 2.9.1
+BuildRequires:  junit >= 4.11
+
+%description
+JSemVer (formerly Java SemVer) is a Java implementation of
+version 2.0.0 of the Semantic Versioning Specification
+
+%package javadoc
+Summary:        Javadocs for %{name}
+
+%description javadoc
+This package contains the API documentation for %{name}
+
+%prep
+%setup -q
+find -name \*.jar -delete
+find -name \*.class -delete
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%dir %{_javadir}/%{name}
+%dir %{_mavenpomdir}/%{name}
+%doc CHANGELOG.md
+%doc README.md
+%license LICENSE
+
+%files javadoc -f .mfiles-javadoc
+%license LICENSE
+
+
+%changelog
+* Wed Apr 8 2015 Neal Gompa <ngompa13{%}gmail{*}com> - 0.8.0-1
+- Added extra prep step to delete *.class/*.jar files
+- Added statement to own maven pom dir
+- Removed duplicate doc files from -javadoc
+- Removed license file going into doc
+- Removed unnecessary epoch
+- Initial Packaging
diff --git a/sources b/sources
index e69de29..39062ed 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bead673692ad7d76b6070a7b7788fafa  0.8.0.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/jsemver.git/commit/?h=f22&id=603f4dd815af8efbc307174dbe08c6201f6076bf


More information about the scm-commits mailing list