File: gif2png.spec

package info (click to toggle)
gif2png 2.2.5-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 360 kB
  • ctags: 288
  • sloc: sh: 1,684; ansic: 1,557; python: 244; makefile: 61
file content (53 lines) | stat: -rw-r--r-- 1,268 bytes parent folder | download
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
%define	name	gif2png
%define	version	2.2.5
%define	release	1
%define	serial	1
%define	prefix	/usr

Summary:	gif2png -- GIF to PNG graphics file conversion.
Name:		%{name}
Version:	%{version}
Release:	%{release}
Serial:		%{serial}
Prefix:		%{prefix}
Copyright:	MIT-like
Group:		Applications/Publishing
URL:		http://www.tuxedo.org/~esr/gif2png/
Vendor:		Eric S. Raymond <esr@thyrsus.com>
Source:		%{name}-%{version}.tar.gz
BuildRoot:	/var/tmp/%{name}-%{version}
Requires:	python >= 1.5.2

%description 
The gif2png program converts files from the patent-encumbered Graphic
Interchange Format to Portable Network Graphics.

This distribution also supplies web2png, a Python front end for
gif2png which automagically converts entire web hierarchies (the
graphics files themselves and references to them in web pages).

%prep
%setup -q

%build
%configure --prefix=%{prefix}

make

%install
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
mkdir -p $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
%{prefix}/bin/gif2png
%{prefix}/bin/web2png
%{prefix}/man/man1/gif2png.1
%{prefix}/man/man1/web2png.1

%changelog