zutils/zutils.spec
Martin Pluskal e1766c879f Accepting request 578025 from home:alois:branches:Archiving
- Update to version 1.6
  * zcmp.cc: Accept 'B' suffix in '--ignore-initial=1kB:1234B'.
  * zutils.cc (feed_data): Show input filename in error messages.
  Version 1.5
  * zupdate.cc (zupdate_file): Pass '-q' to zcmp if verbosity < 0.
  * zcat.cc zgrep.cc ztest.cc (main): Don't use stdin more than
    once.
  * zdiff.cc (set_fifonames): Use '_' if both names are different.
  * configure: Avoid warning on some shells when testing for g++.
  * Makefile.in: Detect the existence of install-info.
  * testsuite/check.sh: A POSIX shell is required to run the
    tests.

OBS-URL: https://build.opensuse.org/request/show/578025
OBS-URL: https://build.opensuse.org/package/show/Archiving/zutils?expand=0&rev=6
2018-02-20 07:37:20 +00:00

82 lines
2.5 KiB
RPMSpec

#
# spec file for package zutils
#
# Copyright (c) 2018 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: zutils
Version: 1.6
Release: 0
Summary: Collection of utilities for dealing with compressed files
License: GPL-2.0+
Group: Productivity/Archiving/Compression
URL: https://www.nongnu.org/zutils/zutils.html
Source0: https://download.savannah.gnu.org/releases/zutils/zutils-%{version}.tar.lz
Source1: https://download.savannah.gnu.org/releases/zutils/zutils-%{version}.tar.lz.sig
Source2: %{name}.keyring
BuildRequires: gcc-c++
BuildRequires: lzip
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
Conflicts: gzip
%description
Zutils is a collection of utilities able to deal with any combination
of compressed and uncompressed files transparently. If any given file,
including standard input, is compressed, its decompressed content is
used. Compressed files are decompressed on the fly; no temporary files
are created.
These utilities are not wrapper scripts but safer and more efficient
C++ programs. In particular the "--recursive" option is very efficient
in those utilities supporting it.
%prep
%setup -q
%build
%configure
make CXXFLAGS="%{optflags}" %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files
%doc ChangeLog README
%license COPYING
%config %{_sysconfdir}/zutilsrc
%{_bindir}/zcat
%{_bindir}/zcmp
%{_bindir}/zdiff
%{_bindir}/zegrep
%{_bindir}/zfgrep
%{_bindir}/zgrep
%{_bindir}/ztest
%{_bindir}/zupdate
%{_infodir}/zutils.info.gz
%{_mandir}/man1/zcat.1.gz
%{_mandir}/man1/zcmp.1.gz
%{_mandir}/man1/zdiff.1.gz
%{_mandir}/man1/zgrep.1.gz
%{_mandir}/man1/ztest.1.gz
%{_mandir}/man1/zupdate.1.gz
%changelog