summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/lzop.manifest5
-rw-r--r--packaging/lzop.spec43
2 files changed, 48 insertions, 0 deletions
diff --git a/packaging/lzop.manifest b/packaging/lzop.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/lzop.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/lzop.spec b/packaging/lzop.spec
new file mode 100644
index 0000000..0be8333
--- /dev/null
+++ b/packaging/lzop.spec
@@ -0,0 +1,43 @@
+Name: lzop
+Version: 1.04
+Release: 0
+License: GPLv2+
+Summary: lzop
+URL: http://www.lzop.org
+Group: Applications/Text
+Source: %{name}-%{version}.tar.gz
+Source1001: lzop.manifest
+BuildRequires: lzo
+BuildRequires: lzo-devel
+
+
+%description
+lzop is a file compressor which is very similar to gzip. lzop uses
+the LZO data compression library for compression services, and its
+main advantages over gzip are much higher compression and
+decompression speed (at the cost of some compression ratio).
+
+lzop is copyrighted OpenSource software distributed under the terms
+of the GNU General Public License (GPL).
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+%configure --disable-nls
+make PR_PROGRAM=%{_bindir}/pr
+
+%install
+%make_install
+%remove_docs
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%license COPYING
+%{_bindir}/*