forked from kohler/gifsicle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gifsicle.spec
59 lines (47 loc) · 1.58 KB
/
gifsicle.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Summary: GIF image and animation manipulator
Name: gifsicle
Version: 1.78
Release: 1
Source: http://www.lcdf.org/gifsicle/gifsicle-1.78.tar.gz
Icon: logo1.gif
URL: http://www.lcdf.org/gifsicle/
Group: Applications/Graphics
Vendor: Little Cambridgeport Design Factory
Packager: Eddie Kohler <[email protected]>
License: GPL
BuildRoot: /tmp/gifsicle-build
%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
%setup
%build
%configure
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
%post
%files
%attr(-,root,root) %doc NEWS README
%attr(0755,root,root) %{_bindir}/gifsicle
%attr(0755,root,root) %{_bindir}/gifdiff
%attr(0755,root,root) %{_bindir}/gifview
%attr(0644,root,root) %{_mandir}/man1/gifsicle.1*
%attr(0644,root,root) %{_mandir}/man1/gifdiff.1*
%attr(0644,root,root) %{_mandir}/man1/gifview.1*