commit f2a174fe4f3ee342da15d20e6f05d3507a5e4565
Author: Robert Scheck <robert(a)fedoraproject.org>
Date: Fri Dec 31 23:21:44 2010 +0100
Minor spec file cleanups and updated %description
.gitignore | 3 +--
lzop.spec | 52 ++++++++++++++++++++++++++--------------------------
2 files changed, 27 insertions(+), 28 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ffd9802..5cf9b71 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-lzop-1.02rc1.tar.gz
-/lzop-1.03.tar.gz
+lzop-1.03.tar.gz
diff --git a/lzop.spec b/lzop.spec
index 180ccfe..71b0aca 100644
--- a/lzop.spec
+++ b/lzop.spec
@@ -1,24 +1,21 @@
-Name: lzop
-Version: 1.03
-Release: 1%{?dist}
-
-Summary: Real-time file compressor
-
-Group: Applications/Archiving
-License: GPLv2+
-URL:
http://www.%{name}.org/
-Source:
http://www.%{name}.org/download/%{name}-%{version}.tar.gz
-Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: lzo-devel
+Summary: Real-time file compressor
+Name: lzop
+Version: 1.03
+Release: 2%{?dist}
+License: GPLv2+
+Group: Applications/Archiving
+URL:
http://www.lzop.org/
+Source:
http://www.lzop.org/download/%{name}-%{version}.tar.gz
+BuildRequires: lzo-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
-lzop is a compression utility which is designed to be a companion to gzip. It
-is based on the LZO library and its main advantages over gzip are much higher
-compression and decompression speed at the cost of compression ratio.
-
-lzop was designed with reliability, speed, portibility and as a reasonable
-drop-in compatiblity to gzip.
+lzop is a compression utility which is designed to be a companion to gzip.
+It is based on the LZO data compression library and its main advantages over
+gzip are much higher compression and decompression speed at the cost of some
+compression ratio. The lzop compression utility was designed with the goals
+of reliability, speed, portability and with reasonable drop-in compatibility
+to gzip.
%prep
%setup -q
@@ -28,19 +25,22 @@ drop-in compatiblity to gzip.
make %{?_smp_mflags}
%install
-rm -fr %{buildroot}
-%makeinstall
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
%clean
-rm -fr %{buildroot}
+rm -rf $RPM_BUILD_ROOT
%files
-%defattr(0644, root, root, 0755)
-%doc AUTHORS COPYING NEWS README THANKS ChangeLog
-%doc %{_mandir}/man?/*
-%attr(0755,root,root) %{_bindir}/*
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING NEWS README THANKS
+%{_bindir}/%{name}
+%{_mandir}/man?/%{name}.*
%changelog
+* Fri Dec 31 2010 Robert Scheck <robert(a)fedoraproject.org> 1.03-2
+- Minor spec file cleanups and updated %%description
+
* Tue Dec 07 2010 Kamil Dudka <kdudka(a)redhat.com> - 1.03-1
- update to 1.03