[compress-lzf] Initial import (#1007478).

gil gil at fedoraproject.org
Tue Sep 17 20:46:17 UTC 2013


commit 3f6e99d33cc519d3faf7fef01c413931222aa42c
Author: gil <puntogil at libero.it>
Date:   Tue Sep 17 22:45:59 2013 +0200

    Initial import (#1007478).

 .gitignore        |    1 +
 compress-lzf.spec |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..41f01d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/compress-lzf-0.9.8.tar.gz
diff --git a/compress-lzf.spec b/compress-lzf.spec
new file mode 100644
index 0000000..646c77a
--- /dev/null
+++ b/compress-lzf.spec
@@ -0,0 +1,59 @@
+Name:          compress-lzf
+Version:       0.9.8
+Release:       1%{?dist}
+Summary:       Basic LZF codec, compatible with standard C LZF package
+License:       ASL 2.0
+URL:           https://github.com/ning/compress
+Source0:       https://github.com/ning/compress/archive/%{name}-%{version}.tar.gz
+
+BuildRequires: java-devel
+
+# test deps
+BuildRequires: mvn(org.testng:testng)
+
+BuildRequires: maven-local
+BuildRequires: maven-enforcer-plugin
+BuildRequires: maven-plugin-bundle
+BuildRequires: maven-surefire-provider-testng
+
+BuildArch:     noarch
+
+%description
+Compression codec for LZF encoding for particularly encoding/decoding,
+with reasonable compression. Compressor is basic Lempel-Ziv codec,
+without Huffman (deflate/gzip) or statistical post-encoding. See
+"http://oldhome.schmorp.de/marc/liblzf.html" for more on
+original LZF package.
+
+%package javadoc
+Summary:       Javadoc for %{name}
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q -n compress-%{name}-%{version}
+
+find . -name "*.class" -print -delete
+find . -name "*.jar" -type f -print -delete
+
+%pom_remove_plugin :maven-source-plugin
+%pom_xpath_remove "pom:project/pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:executions"
+
+%build
+
+%mvn_file : %{name}
+%mvn_build -- -Poffline-testing
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc LICENSE README.md VERSION.txt
+
+%files javadoc -f .mfiles-javadoc
+%doc LICENSE
+
+%changelog
+* Wed Aug 14 2013 gil cattaneo <puntogil at libero.it> 0.9.8-1
+- initial rpm
\ No newline at end of file
diff --git a/sources b/sources
index e69de29..42493af 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+32c36f9f3e93810c7e9d10f594e012c2  compress-lzf-0.9.8.tar.gz


More information about the scm-commits mailing list