source: projects/specs/branches/6/d/dvipng/dvipng-vl.spec @ 1971

Revision 1971, 3.0 KB checked in by munepi, 14 years ago (diff)

updated dvipng-vl.spec

Line 
1Name:             dvipng
2Version:          1.13
3Release:          1%{?_dist_release}
4
5Summary:          Converts DVI files to PNG/GIF format
6Summary(ja):      DVIファイルをPNG/GIF画像に変換
7Source:           %{name}-%{version}.tar.gz
8URL:              http://sourceforge.net/projects/dvipng/
9Group:            Applications/Publishing
10License:          GPLv2+ and OFSFDL
11
12BuildRequires:    libkpathsea-devel
13BuildRequires:    gd-devel
14BuildRequires:    zlib-devel
15BuildRequires:    libpng-devel
16%if %{?_dist_release} == "vl6"
17BuildRequires:    texlive
18%endif
19%if %{?_dist_release} == "vl5"
20BuildRequires:    tetex
21%endif
22BuildRequires:    texinfo
23BuildRequires:    t1lib-devel
24BuildRequires:    freetype2-devel
25BuildRequires:    fontconfig-devel
26
27BuildRoot:        %{_tmppath}/%{name}-%{version}-root
28
29Vendor:           Project Vine
30Distribution:     Vine Linux
31Packager:         munepi
32
33%description
34This program makes PNG and/or GIF graphics from DVI files as obtained
35from TeX and its relatives.
36
37It is intended to produce anti-aliased screen-resolution images as
38fast as is possible. The target audience is people who need to generate
39and regenerate many images again and again.
40
41
42%description -l ja
43TeX やその関連ツールにより作成される DVI ファイルを
44PNG または 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
70if [ "$1" = "0" ] ; then
71    /sbin/install-info --delete %{_infodir}/dvipng.info %{_infodir}/dir 2>/dev/null || :
72fi
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
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
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
Note: See TracBrowser for help on using the repository browser.