dvipng-vl.spec 3.0 KB

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