- Run tests during build OBS-URL: https://build.opensuse.org/package/show/Archiving/lzop?expand=0&rev=20
61 lines
1.6 KiB
RPMSpec
61 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package lzop
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: lzop
|
|
Version: 1.04
|
|
Release: 0
|
|
Summary: The fastest compressor and decompressor around
|
|
License: GPL-2.0+
|
|
Group: Productivity/Archiving/Compression
|
|
Url: http://www.lzop.org
|
|
Source0: http://www.lzop.org/download/%{name}-%{version}.tar.gz
|
|
BuildRequires: cmake
|
|
BuildRequires: lzo-devel
|
|
|
|
%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
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake
|
|
%make_jobs
|
|
|
|
%install
|
|
%cmake_install
|
|
# Remove unwanted doc folder created during build
|
|
rm -fr %{buildroot}%{_datadir}/doc
|
|
|
|
%check
|
|
%ctest
|
|
|
|
%files
|
|
%doc AUTHORS ChangeLog COPYING NEWS README THANKS
|
|
%{_bindir}/lzop
|
|
%{_mandir}/man1/lzop.1%{ext_man}
|
|
|
|
%changelog
|