2012-01-05 05:00:23 +01:00
|
|
|
#
|
|
|
|
# spec file for package lzop
|
|
|
|
#
|
2020-05-20 10:01:16 +02:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2012-01-05 05:00:23 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-05-20 10:01:16 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-01-05 05:00:23 +01:00
|
|
|
#
|
|
|
|
|
2015-03-13 14:09:43 +01:00
|
|
|
|
2012-01-05 05:00:23 +01:00
|
|
|
Name: lzop
|
2017-11-11 19:31:20 +01:00
|
|
|
Version: 1.04
|
2012-01-05 05:00:23 +01:00
|
|
|
Release: 0
|
2017-11-16 12:48:27 +01:00
|
|
|
Summary: Dictionary-based LZ-type compressor favoring speed
|
2020-05-20 10:01:16 +02:00
|
|
|
License: GPL-2.0-or-later
|
2012-01-05 05:00:23 +01:00
|
|
|
Group: Productivity/Archiving/Compression
|
2020-05-20 10:01:16 +02:00
|
|
|
URL: https://www.lzop.org
|
2015-03-13 14:09:43 +01:00
|
|
|
Source0: http://www.lzop.org/download/%{name}-%{version}.tar.gz
|
2017-11-11 19:40:40 +01:00
|
|
|
Source1: %{name}.changes
|
2017-11-11 19:38:41 +01:00
|
|
|
BuildRequires: cmake >= 3.0
|
2018-02-09 11:04:17 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(lzo2)
|
2007-05-31 07:50:22 +02:00
|
|
|
|
|
|
|
%description
|
2017-11-16 12:48:27 +01:00
|
|
|
lzop is a general-purpose file compressor similar to gzip.
|
|
|
|
It favors higher compression and decompression speed at the cost
|
2007-05-31 07:50:22 +02:00
|
|
|
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
|
2020-05-20 10:01:16 +02:00
|
|
|
%autosetup
|
2007-05-31 07:50:22 +02:00
|
|
|
|
|
|
|
%build
|
2017-11-11 19:36:12 +01:00
|
|
|
%cmake
|
2020-05-20 10:01:16 +02:00
|
|
|
%cmake_build
|
2007-05-31 07:50:22 +02:00
|
|
|
|
|
|
|
%install
|
2017-11-11 19:36:12 +01:00
|
|
|
%cmake_install
|
2017-11-11 19:31:20 +01:00
|
|
|
# Remove unwanted doc folder created during build
|
2017-11-11 19:36:12 +01:00
|
|
|
rm -fr %{buildroot}%{_datadir}/doc
|
|
|
|
|
|
|
|
%check
|
|
|
|
%ctest
|
2007-05-31 07:50:22 +02:00
|
|
|
|
|
|
|
%files
|
2018-02-09 11:04:17 +01:00
|
|
|
%doc AUTHORS ChangeLog NEWS README THANKS
|
|
|
|
%license COPYING
|
2007-05-31 07:50:22 +02:00
|
|
|
%{_bindir}/lzop
|
2020-05-20 10:01:16 +02:00
|
|
|
%{_mandir}/man1/lzop.1%{?ext_man}
|
2007-05-31 07:50:22 +02:00
|
|
|
|
|
|
|
%changelog
|