File ungifsicle.spec of Package ungifsicle

#
# spec file for package ungifsicle
#
# Copyright (c) 2011 SUSE LINUX Products 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:           ungifsicle
BuildRequires:  libtool xorg-x11 xorg-x11-devel
License:        GPL-2.0+
Group:          Productivity/Graphics/Other
Version:        1.39
Release:        1
Url:            http://www.lcdf.org/gifsicle/
Source0:        http://www.lcdf.org/gifsicle/ungifsicle-1.39.tar.bz2
Patch0:         bugzilla-395358-64bit-va-list-null.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Creating and editing, GIF images and animations

%description
Gifsicle twaddles GIF image files in a variety of ways. It is better
than many of the freely available GIF twaddlers on the market -- for
one thing, it has more options.

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; flipping and rotation; optimizing animations for space; and
changing images' colormaps, among other things. Extensive command-line
options control which, if any, of these occur.

Gifview, a companion program requiring X11, displays GIF images and
animations on an X display. It can display multi-frame GIFs either as
slideshows, displaying one frame at a time, or as real-time animations.

Gifdiff, another companion program, checks two GIF files for identical
visual appearance. This is probably most useful for testing
GIF-manipulating software.



Authors:
--------
    Eddie Kohler <eddietwo@lcs.mit.edu>

%prep
%setup0
%patch0 -p1

%build
# update config.{guess,sub}
%{?suse_update_config:%{suse_update_config -f zlib}}
libtoolize  --force
aclocal # -I m4
autoheader
automake -a 
autoconf
export CFLAGS="$RPM_OPT_FLAGS"
%configure --enable-ungif 
make 

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean

%files
%defattr(-, root, root)
%doc INSTALL* NEWS* README*
%{_prefix}/bin/*
%{_mandir}/man1/*

%changelog