gifsicle/gifsicle.spec
Manfred Schwarb 184405baf0 Accepting request 825202 from home:elimat:branches:graphics
- Update to version 1.92
  * Add `--lossy` option from Kornel Lipiński.
  * Remove an assertion failure possible with
    `--conserve-memory` + `--colors` + `--careful`.
- Drop fix_gifdiff_null_pointer_deref.patch fixed upstream
- Run spec-cleaner
  * Remove package groups
  * Use make macros

OBS-URL: https://build.opensuse.org/request/show/825202
OBS-URL: https://build.opensuse.org/package/show/graphics/gifsicle?expand=0&rev=21
2020-08-14 13:41:35 +00:00

75 lines
2.1 KiB
RPMSpec

#
# spec file for package gifsicle
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: gifsicle
Version: 1.92
Release: 0
Summary: Creating and editing GIF images and animations
License: GPL-2.0-only
URL: https://www.lcdf.org/gifsicle/
Source: https://www.lcdf.org/gifsicle/%{name}-%{version}.tar.gz
BuildRequires: pkgconfig
BuildRequires: pkgconfig(x11)
Obsoletes: ungifsicle < %{version}
Provides: ungifsicle = %{version}
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires: perl-Time-HiRes
%endif
%description
Gifsicle manipulates GIF image files on the
command line. It supports merging several GIFs
into a GIF animation; exploding an animation into
its component frames; changing individual frames
in an animation; turning interlacing on and off;
adding transparency; adding delays, disposals, and
looping to animations; adding or removing
comments; optimizing animations for space; and
changing images' colormaps, among other things.
The gifsicle package contains two other programs:
gifview, a lightweight GIF viewer for X, can show
animations as slideshows or in real time, and
gifdiff compares two GIFs for identical visual
appearance.
%prep
%autosetup
%build
%configure
%make_build
%check
%make_build check
%install
%make_install
%files
%license COPYING
%doc NEWS.md README.md
%{_bindir}/gifdiff
%{_bindir}/gifsicle
%{_bindir}/gifview
%{_mandir}/man1/gifdiff.1%{?ext_man}
%{_mandir}/man1/gifsicle.1%{?ext_man}
%{_mandir}/man1/gifview.1%{?ext_man}
%changelog