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

Revision 9139, 3.1 KB checked in by Takemikaduchi, 9 years ago (diff)

dvipng, tuxtype2: rebuild
others: new upstream release

Line 
1Name:             dvipng
2Version:          1.14
3Release:          2%{?_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* 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
Note: See TracBrowser for help on using the repository browser.