dvipng-vl.spec 3.0 KB

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