56 lines
1.3 KiB
RPMSpec
56 lines
1.3 KiB
RPMSpec
# norootforbuild
|
|
|
|
%define _prefix /usr
|
|
|
|
Name: lzop
|
|
Version: 1.02rc1
|
|
Release: 0
|
|
Summary: LZOP is a fast File Compressor
|
|
Source: http://www.lzop.org/download/lzop-%{version}.tar.gz
|
|
URL: http://www.oberhumer.com/opensource/lzop/
|
|
Group: Archiving/Compression
|
|
License: GNU General Public License (GPL)
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
BuildRequires: lzo lzo-devel
|
|
BuildRequires: gcc make glibc-devel
|
|
BuildRequires: autoconf automake libtool
|
|
|
|
%description
|
|
lzop is a file compressor similar to gzip. Its main advantages over gzip
|
|
are much higher compression and decompression speed at the cost
|
|
of compression ratio.
|
|
|
|
lzop was designed with the following goals in mind:
|
|
- speed (both compression and decompression)
|
|
- reasonable drop-in compatibility to gzip
|
|
- portability
|
|
|
|
%debug_package
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CPPFLAGS="-I/usr/include/lzo"
|
|
export LDFLAGS="-L%{_libdir}"
|
|
%configure
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
%clean
|
|
%__rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS ChangeLog COPYING NEWS README THANKS
|
|
%{_bindir}/lzop
|
|
%doc %{_mandir}/man1/lzop.1*
|
|
|
|
%changelog
|
|
* Wed Jun 6 2007 Pascal Bleser <guru@unixtech.be>
|
|
- update to 1.02rc1
|
|
* Thu May 31 2007 Pascal Bleser <guru@unixtech.be>
|
|
- initial submission to openSUSE Build Service
|
|
- patch to compile against lzo 2
|