gif2png.spec.in
上传用户:sorock1981
上传日期:2007-01-06
资源大小:73k
文件大小:1k
源码类别:

图片显示

开发平台:

Unix_Linux

  1. %define name @PACKAGE@
  2. %define version @VERSION@
  3. %define release 1
  4. %define serial 1
  5. %define prefix /usr
  6. Summary: gif2png -- GIF to PNG graphics file conversion.
  7. Name: %{name}
  8. Version: %{version}
  9. Release: %{release}
  10. Serial: %{serial}
  11. Prefix: %{prefix}
  12. Copyright: MIT-like
  13. Group: Applications/Publishing
  14. URL: http://www.tuxedo.org/~esr/gif2png/
  15. Vendor: Eric S. Raymond <esr@thyrsus.com>
  16. Source: %{name}-%{version}.tar.gz
  17. BuildRoot: /var/tmp/%{name}-%{version}
  18. Requires: python >= 1.5.2
  19. %description 
  20. The gif2png program converts files from the patent-encumbered Graphic
  21. Interchange Format to Portable Network Graphics.
  22. This distribution also supplies web2png, a Python front end for
  23. gif2png which automagically converts entire web hierarchies (the
  24. graphics files themselves and references to them in web pages).
  25. %prep
  26. %setup -q
  27. %build
  28. %configure --prefix=%{prefix}
  29. make
  30. %install
  31. if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
  32. mkdir -p $RPM_BUILD_ROOT
  33. make DESTDIR=$RPM_BUILD_ROOT install
  34. %clean
  35. if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
  36. %files
  37. %defattr(-,root,root)
  38. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
  39. %{prefix}/bin/gif2png
  40. %{prefix}/bin/web2png
  41. %{prefix}/man/man1/gif2png.1
  42. %{prefix}/man/man1/web2png.1
  43. %changelog