Package init

This commit is contained in:
overweight 2019-09-30 11:03:12 -04:00
commit b949ad4b36
2 changed files with 41 additions and 0 deletions

BIN
lzop-1.04.tar.gz Normal file

Binary file not shown.

41
lzop.spec Normal file
View File

@ -0,0 +1,41 @@
Name: lzop
Summary: lzop is a file compressor very similar to gzip.
Version: 1.04
Release: 1
License: GPLv2+
URL: https://www.lzop.org/
Source: https://www.lzop.org/download/%{name}-%{version}.tar.gz
BuildRequires: gcc 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).
%package_help
%prep
%setup -q
%build
%configure
%make_build
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
%files
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc AUTHORS NEWS README THANKS
%{_bindir}/*
%files help
%{_pkgdocdir}
%{_mandir}/man?/%{name}.*
%changelog
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.04-1
- Package init