summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/lzop.manifest5
-rw-r--r--packaging/lzop.spec44
2 files changed, 49 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..5e220ec
--- /dev/null
+++ b/packaging/lzop.spec
@@ -0,0 +1,44 @@
+Name: lzop
+Version: 1.03
+Release: 1
+License: GPLv2+
+Summary: lzop
+URL: http://www.lzop.org
+Group: Applications/Text
+Source: %{name}-%{version}.tar.gz
+Source1001: packaging/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
+
+%clean
+rm -rf %{buildroot}
+
+%docs_package
+
+%files
+%manifest lzop.manifest
+%defattr(-,root,root,-)
+%doc NEWS README COPYING
+%{_bindir}/*
+%{_mandir}/*/*