2013-10-02 01:11:51 +00:00
|
|
|
#
|
|
|
|
# spec file for package clzip
|
|
|
|
#
|
2025-01-19 15:47:33 +01:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2013-04-01 15:04:56 +00:00
|
|
|
# Copyright (c) 2011-2013 Pascal Bleser <pascal.bleser@opensuse.org>
|
2012-03-29 18:59:20 +00: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.
|
2011-05-23 18:09:19 +00:00
|
|
|
|
2018-12-14 11:52:50 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-10-02 01:11:51 +00:00
|
|
|
#
|
|
|
|
|
2012-03-29 18:59:20 +00:00
|
|
|
|
|
|
|
Name: clzip
|
2025-01-19 15:47:33 +01:00
|
|
|
Version: 1.15
|
2012-03-29 18:59:20 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Lossless Data Compressor based on LZMA
|
2018-03-05 19:34:12 +00:00
|
|
|
License: GPL-2.0-or-later
|
2013-10-02 01:11:51 +00:00
|
|
|
Group: Productivity/Archiving/Compression
|
2018-12-14 11:52:50 +00:00
|
|
|
URL: http://www.nongnu.org/lzip/clzip.html
|
2022-02-13 22:33:01 +00:00
|
|
|
Source: http://download.savannah.gnu.org/releases/lzip/clzip/%name-%version.tar.gz
|
2019-03-14 20:49:30 +00:00
|
|
|
Source2: http://download.savannah.gnu.org/releases/lzip/clzip/%name-%version.tar.gz.sig
|
2013-10-02 01:11:51 +00:00
|
|
|
Source3: %name.keyring
|
2012-03-29 18:59:20 +00:00
|
|
|
Requires(post): info
|
|
|
|
Requires(preun):info
|
2011-05-23 18:09:19 +00:00
|
|
|
|
|
|
|
%description
|
2013-06-10 11:36:57 +00:00
|
|
|
Clzip is a lossless data compressor based on the LZMA algorithm, with
|
|
|
|
very safe integrity checking and a user interface similar to that of
|
|
|
|
gzip or bzip2. Clzip decompresses almost as fast as gzip and
|
|
|
|
compresses better than bzip2, which makes it well suited for software
|
|
|
|
distribution and data archiving. Clzip uses the lzip file format; the
|
|
|
|
files produced by clzip are fully compatible with lzip-1.4 or newer.
|
|
|
|
Clzip is, in fact, a C language implementation of lzip, intended for
|
|
|
|
embedded devices or systems lacking a C++ compiler.
|
2011-05-23 18:09:19 +00:00
|
|
|
|
|
|
|
%prep
|
2022-02-13 22:33:01 +00:00
|
|
|
%autosetup
|
2011-05-23 18:09:19 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
# not autoconf
|
2018-12-14 11:52:50 +00:00
|
|
|
mkdir build
|
|
|
|
pushd build/
|
|
|
|
../configure --prefix="%_prefix" --bindir="%_bindir" --datadir="%_datadir" \
|
|
|
|
--infodir="%_infodir" --mandir="%_mandir" --sysconfdir="%_sysconfdir" \
|
2021-03-12 22:16:08 +00:00
|
|
|
CFLAGS="%optflags"
|
|
|
|
%make_build
|
2018-12-14 11:52:50 +00:00
|
|
|
popd
|
2011-05-23 18:09:19 +00:00
|
|
|
|
|
|
|
%install
|
2018-12-14 11:52:50 +00:00
|
|
|
pushd build/
|
2017-05-11 09:54:16 +00:00
|
|
|
%make_install
|
2018-12-14 11:52:50 +00:00
|
|
|
popd
|
2011-05-23 18:09:19 +00:00
|
|
|
|
2016-05-28 09:36:19 +00:00
|
|
|
%check
|
2018-12-14 11:52:50 +00:00
|
|
|
pushd build/
|
2024-02-08 13:16:49 +00:00
|
|
|
%make_build check
|
2018-12-14 11:52:50 +00:00
|
|
|
popd
|
2016-05-28 09:36:19 +00:00
|
|
|
|
2011-05-23 18:09:19 +00:00
|
|
|
%post
|
2014-09-23 15:20:36 +00:00
|
|
|
%install_info --info-dir="%_infodir" "%_infodir/clzip.info%ext_info"
|
2011-05-23 18:09:19 +00:00
|
|
|
|
|
|
|
%preun
|
2014-09-23 15:20:36 +00:00
|
|
|
%install_info_delete --info-dir="%_infodir" "%_infodir/clzip.info%ext_info"
|
2011-05-23 18:09:19 +00:00
|
|
|
|
|
|
|
%files
|
2022-02-13 22:33:55 +00:00
|
|
|
%doc ChangeLog README
|
|
|
|
%license COPYING
|
2014-09-23 15:20:36 +00:00
|
|
|
%_bindir/clzip
|
2018-12-14 11:52:50 +00:00
|
|
|
%_mandir/man1/clzip.1%ext_man
|
|
|
|
%_infodir/clzip.info%ext_info
|
2011-05-23 18:09:19 +00:00
|
|
|
|
2012-03-29 18:59:20 +00:00
|
|
|
%changelog
|