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