A new user interface for you! Read more...

File advancecomp.spec of Package advancecomp

#
# spec file for package advancecomp
#
# 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:           advancecomp
Version:        2.1
Release:        0
Summary:        Zip, png, mng, zlib (deflate) Recompression Utilities
License:        GPL-2.0-or-later
Group:          Productivity/Archiving/Compression
URL:            http://www.advancemame.it/comp-readme.html
Source0:        https://github.com/amadvance/advancecomp/releases/download/v%{version}/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM advancecomp-1.18-manpage.patch lazy.kent@opensuse.org -- fix man page formatting to display correctly
Patch0:         advancecomp-1.18-manpage.patch
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(zlib)

%description
AdvanceCOMP is a collection of recompression utilities for your .ZIP
archives, .PNG snapshots, .MNG video clips and .GZ files.

This package contains:
advzip - Recompression and test utility for zip files.
advpng - Recompression utility for png files.
advmng - Recompression utility for mng files.
advdef - Recompression utility for deflate streams in .png, .mng and .gz
         files.

%prep
%setup -q
%patch0 -p1

%build
%configure
make %{?_smp_mflags}

%install
%make_install

%check
make %{?_smp_mflags} check-local

%files
%license COPYING
%doc AUTHORS HISTORY README
%{_bindir}/advdef
%{_bindir}/advmng
%{_bindir}/advpng
%{_bindir}/advzip
%{_mandir}/man?/*

%changelog