source: projects/specs/trunk/d/dvipng/dvipng-vl.spec @ 5243

Revision 5243, 3.0 KB checked in by munepi, 12 years ago (diff)

updated dvipng-vl.spec

Line 
1Name:             dvipng
2Version:          1.14
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} == "vl5"
17BuildRequires:    tetex
18%else
19BuildRequires:    texlive-common
20%endif
21BuildRequires:    texinfo
22BuildRequires:    t1lib-devel
23BuildRequires:    freetype2-devel
24BuildRequires:    fontconfig-devel
25
26BuildRoot:        %{_tmppath}/%{name}-%{version}-root
27
28Vendor:           Project Vine
29Distribution:     Vine Linux
30Packager:         munepi
31
32%description
33This program makes PNG and/or GIF graphics from DVI files as obtained
34from TeX and its relatives.
35
36It is intended to produce anti-aliased screen-resolution images as
37fast as is possible. The target audience is people who need to generate
38and regenerate many images again and again.
39
40
41%description -l ja
42TeX やその関連ツールにより作成される DVI ファイルを
43PNG または 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
69if [ "$1" = "0" ] ; then
70    /sbin/install-info --delete %{_infodir}/dvipng.info %{_infodir}/dir 2>/dev/null || :
71fi
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* Sat Dec  3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.14
86- new upstream release
87- TeX Live 2011 (vl7)
88
89* Wed Sep 29 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.13-1
90- new upstream release
91  - upgrades dvipng to version 1.13 which fixes CVE-2010-0829
92- added BuildRequires: texlive (for vl6)
93
94* Sat Oct 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.12-1
95- new upstream release
96- changed Group tag to Applications/Publishing
97- updated License tag to GPLv2+ and OFSFDL
98
99* Wed Nov 29 2006 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
100- Rebuilt for VineLinux4.0
101
102* Mon Nov 13 2006 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
103- Updated to 1.9
104
105* Tue Apr  4 2006 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
106- Updated to 1.8
107- The URL has moved
108
109* Wed Sep 28 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
110- Updated to 1.6
111
112* Tue Nov  9 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
113- Initial package for VineLinux3.0
114
Note: See TracBrowser for help on using the repository browser.