gil pushed to jbzip2 (master). "Initial import (#1214396)."

notifications at fedoraproject.org notifications at fedoraproject.org
Thu May 14 17:02:37 UTC 2015


From 17f7cbafd9c0aaa0a317d03efb715fe96888bc37 Mon Sep 17 00:00:00 2001
From: gil <puntogil at libero.it>
Date: Thu, 14 May 2015 19:01:41 +0200
Subject: Initial import (#1214396).


diff --git a/.gitignore b/.gitignore
index e69de29..509897a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jbzip2-590bf408804d2f307b4f60eba06f690bd9fded09.tar.gz
diff --git a/jbzip2.spec b/jbzip2.spec
new file mode 100644
index 0000000..344aa1a
--- /dev/null
+++ b/jbzip2.spec
@@ -0,0 +1,53 @@
+%global githash 590bf408804d2f307b4f60eba06f690bd9fded09
+Name:          jbzip2
+Version:       0.9.1
+Release:       2%{?dist}
+Summary:       A Java bzip2 library
+License:       MIT
+URL:           https://github.com/buttnerchristopher/maven-jbzip2
+Source0:       https://github.com/buttnerchristopher/maven-jbzip2/archive/%{githash}/%{name}-%{githash}.tar.gz
+BuildRequires: maven-local
+BuildRequires: mvn(junit:junit)
+BuildArch:     noarch
+
+%description
+jbzip2 is a Java bzip2 compression/decompression library.
+
+%package javadoc
+Summary:       Javadoc for %{name}
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q -n maven-%{name}-%{githash}
+
+# Cleanup
+find -name "*.class" -print -delete
+find -name "*.jar" -print -delete
+find -name ".svn" | xargs rm -r
+
+sed -i 's/\r//' AUTHORS LICENCE
+
+%mvn_file org.itadaki:bzip2 %{name} bzip2
+
+%build
+
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc AUTHORS README.md
+%license LICENCE
+
+%files javadoc -f .mfiles-javadoc
+%license LICENCE
+
+%changelog
+* Thu May 14 2015 gil cattaneo <puntogil at libero.it> 0.9.1-2
+- remove pre-built binaries
+
+* Wed Apr 22 2015 gil cattaneo <puntogil at libero.it> 0.9.1-1
+- initial rpm
diff --git a/sources b/sources
index e69de29..cb44899 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c9419a098533a0f7af744f4756484fc0  jbzip2-590bf408804d2f307b4f60eba06f690bd9fded09.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/jbzip2.git/commit/?h=master&id=17f7cbafd9c0aaa0a317d03efb715fe96888bc37


More information about the scm-commits mailing list