dvipng-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Name: dvipng
  2. Version: 1.12
  3. Release: 1%{?_dist_release}
  4. Summary: Converts DVI files to PNG/GIF format
  5. Summary(ja): DVIファイルをPNG/GIF画像に変換
  6. Source: %{name}-%{version}.tar.gz
  7. URL: http://sourceforge.net/projects/dvipng/
  8. Group: Applications/Publishing
  9. License: GPLv2+ and OFSFDL
  10. BuildRequires: libkpathsea-devel
  11. BuildRequires: gd-devel
  12. BuildRequires: zlib-devel
  13. BuildRequires: libpng-devel
  14. BuildRequires: tetex
  15. BuildRequires: texinfo
  16. BuildRequires: t1lib-devel
  17. BuildRequires: freetype2-devel
  18. BuildRequires: fontconfig-devel
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: munepi
  23. %description
  24. This program makes PNG and/or GIF graphics from DVI files as obtained
  25. from TeX and its relatives.
  26. It is intended to produce anti-aliased screen-resolution images as
  27. fast as is possible. The target audience is people who need to generate
  28. and regenerate many images again and again.
  29. %description -l ja
  30. TeX やその関連ツールにより作成される DVI ファイルを
  31. PNG または GIF 画像に変換するプログラムです。
  32. 可能な限り素早くアンチエリアスが効いた画面解像度の画像を生成します。
  33. このソフトの主な対象者は、多数の画像を何度も繰り返し再生成したい人です。
  34. %prep
  35. %setup -q
  36. %build
  37. %configure
  38. %__make %{?_smp_mflags}
  39. %install
  40. %__rm -rf ${RPM_BUILD_ROOT}
  41. %__make install DESTDIR=${RPM_BUILD_ROOT}
  42. %__rm -rf ${RPM_BUILD_ROOT}/%{_infodir}/dir
  43. %clean
  44. %__rm -rf ${RPM_BUILD_ROOT}
  45. %post
  46. /sbin/install-info %{_infodir}/dvipng.info %{_infodir}/dir 2>/dev/null || :
  47. %preun
  48. if [ "$1" = "0" ] ; then
  49. /sbin/install-info --delete %{_infodir}/dvipng.info %{_infodir}/dir 2>/dev/null || :
  50. fi
  51. %files
  52. %defattr(-,root,root,-)
  53. %doc COPYING ChangeLog ChangeLog.0 README RELEASE
  54. %{_bindir}/dvigif
  55. %{_bindir}/dvipng
  56. %{_infodir}/dvipng.info*
  57. %{_mandir}/man1/dvigif.1*
  58. %{_mandir}/man1/dvipng.1*
  59. %changelog
  60. * Sat Oct 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.12-1
  61. - new upstream release
  62. - changed Group tag to Applications/Publishing
  63. - updated License tag to GPLv2+ and OFSFDL
  64. * Wed Nov 29 2006 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  65. - Rebuilt for VineLinux4.0
  66. * Mon Nov 13 2006 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  67. - Updated to 1.9
  68. * Tue Apr 4 2006 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  69. - Updated to 1.8
  70. - The URL has moved
  71. * Wed Sep 28 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  72. - Updated to 1.6
  73. * Tue Nov 9 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  74. - Initial package for VineLinux3.0