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