gif2png.spec.in
上传用户:sorock1981
上传日期:2007-01-06
资源大小:73k
文件大小:1k
- %define name @PACKAGE@
- %define version @VERSION@
- %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