Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 07c359dff14ad17a4a4129fcea2c94bf > files > 2

ungifsicle-1.35-3mdk.src.rpm

%define name	ungifsicle
%define	version 1.35
%define release	3mdk

Summary: 	Powerful program for manipulating GIF images and animations
Name: 		%{name}
Version: 	%{version}
Release:	%{release}
Group: 		Graphics
License: 	GPL
Source: 	%{name}-%{version}.tar.bz2
URL: 		http://www.lcdf.org/gifsicle
BuildRoot: 	%_tmppath/%name-buildroot
Prefix: 	%{_prefix}

BuildRequires: XFree86-devel

%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.

Those programs don't use LZW compression
to avoid patent problems

%prep
%__rm -rf $RPM_BUILD_ROOT

%setup -q
touch `find . -type f`

%build
%configure --enable-ungif
%make

%install
%makeinstall
%__mkdir_p $RPM_BUILD_ROOT/%{_prefix}/X11R6/bin $RPM_BUILD_ROOT/%{_prefix}/X11R6/man/man1
%__mv  $RPM_BUILD_ROOT/%{_bindir}/gifview $RPM_BUILD_ROOT/%{_prefix}/X11R6/bin
%__mv  $RPM_BUILD_ROOT/%{_mandir}/man1/gifview.1 $RPM_BUILD_ROOT/%{_prefix}/X11R6/man/man1

%clean
%__rm -rf $RPM_BUILD_ROOT

%files
%defattr (-,root,root)
%doc NEWS README
%attr (0755,root,root) %_bindir/*
%attr (0644,root,root) %_mandir/man1/*
%attr (0755,root,root) %_prefix/X11R6/bin/*
%attr (0644,root,root) %_prefix/X11R6/man/man1/*

%changelog
* Mon Feb 23 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.35-3mdk
- rebuild

* Tue Jan 28 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.35-2mdk
- rebuild

* Thu Oct 10 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.35-1mdk
- 1.35

* Wed Sep 05 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.30-1mdk
- 1.30

* Wed Apr 25 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.25-1mdk
- added in contribs by Pierre-Michel THEVENY <pmt@mnhn.fr> :
	- Ported to Mandrake from rpm.spec in sources tarball
	- Build on Mandrake 8.0 (rpm-4.0)