source: projects/specs/trunk/g/gv/gv-vl.spec @ 652

Revision 652, 6.3 KB checked in by owa, 14 years ago (diff)

new upstream release

Line 
1Summary: A X front-end for the Ghostscript PostScript(TM) interpreter
2Summary(ja): PostScript(TM) インタープリタである ghostscript の拡張フロントエンド
3Name: gv
4Version: 3.6.8
5Release: 1%{?_dist_release}
6License: GPL
7Group: Applications/Publishing
8URL: http://www.gnu.org/software/gv/
9Source0: ftp://ftp.gnu.org/gnu/gv/gv-%{version}.tar.gz
10Source1: gv.desktop
11
12Patch0: gv-3.5.8-buffer.patch
13Patch1: gv-3.6.1-pkglibdir.patch
14
15# security fix
16Patch100: gv-3.6.2-CVE-2006-5864.patch
17
18Requires: ghostscript
19Requires(post): desktop-file-utils, install-info
20Requires(preun): install-info
21Requires(postun): desktop-file-utils
22BuildRequires: Xaw3d-devel, texinfo
23BuildRoot: %{_tmppath}/%{name}-%{version}-root
24Obsoletes: ghostview
25
26Distribution: Vine Linux
27Vendor: Project Vine
28
29%description
30Gv is a user interface for the Ghostscript PostScript(TM) interpreter.
31Gv can display PostScript and PDF documents on an X Window System.
32
33Install the gv package if you'd like to view PostScript and PDF
34documents on your system.  You'll also need to have the ghostscript
35package and X installed.
36
37%description -l ja
38Gv は PostScript(TM) インタープリターである ghostscript のための
39ユーザーインターフェースを提供します。ghostscript プログラムにより、
40gv は X Window System を使用して、PostScript と PDF ドキュメントを
41表示することができます。
42
43システム上で PostScript や PDF のドキュメントを表示したいときには
44gv プログラムをインストールしてください。ghostscript と X Window System
45も必要です。
46
47%prep
48%setup -q
49
50##%patch0 -p1 -b .buffer
51%patch1 -p1 -b .pkglibdir
52
53# security fix
54#%patch100 -p1 -b .CVE-2006-5864
55
56%build
57%configure
58%__make %{?_smp_mflags}
59
60%install
61%__rm -rf %{buildroot}
62%makeinstall
63
64# symlink
65%__mkdir_p %{buildroot}%{_bindir}
66%__ln_s -f gv %{buildroot}%{_bindir}/ghostview
67
68# desktop file
69%__mkdir_p %{buildroot}%{_datadir}/applications
70%__install -p -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/
71
72%clean
73%__rm -rf %{buildroot}
74
75%post
76%{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 ||:
77%{_syssbindir}/install-info %{_infodir}/%{name}.info %{_infodir}/dir ||:
78
79%preun
80[ "$1" = "1" ] && exit
81%{_syssbindir}/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir ||:
82
83%postun
84[ "$1" = "1" ] && exit
85%{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 ||:
86
87%files
88%defattr(-,root,root)
89%doc AUTHORS COPYING ChangeLog NEWS README
90%{_bindir}/gv
91%{_bindir}/ghostview
92%{_datadir}/gv
93%{_datadir}/applications/*.desktop
94%{_infodir}/gv.info*
95%{_mandir}/man1/gv.*
96
97%changelog
98* Tue Mar 23 2010 Shu KONNO <owa@bg.wakwak.com> 3.6.8-1
99- rebuit with new toolchain
100- new upstream release
101- dropt Patch0: gv-3.5.8-buffer.patch
102
103* Sat Aug 23 2008 Shu KONNO <owa@bg.wakwak.com> 3.6.5-1vl5
104- new upstream release
105- dropt gv-3.6.2-CVE-2006-5864.patch (fixed)
106- applied new versioning policy, spec in utf-8
107
108* Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.6.2-0vl4
109- rebuild with Xaw3d-1.5E
110
111* Sun Dec 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.6.2-0vl3
112- s/descrption/description/
113
114* Wed Dec 13 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.6.2-0vl2
115- add BuildRequires: texinfo
116
117* Tue Dec 12 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.6.2-0vl1
118- [SECURITY FIX]
119  - new upstream release
120  - add patch100 to fix stack-based buffer overflow (CVE-2006-5864)
121- drop obsolete patches
122- update URLs
123- update desktop file
124  - add application/pdf into MimeType
125  - use postscript-viewer.png as icon
126
127* Fri Sep 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.5.8_jp-23vl4
128- add and update desktop file (source1)
129- move desktop file to /usr/share/applications
130- exec update-desktop-database at %post,%postun
131- add Requires(post,postun): desktop-file-utils
132
133* Sun Jul 23 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.8_jp-23vl3
134- rebuild with Xaw3d-1.5-17vl3 (libXaw3d.so.8)
135- /Copyright/License/
136
137* Wed Dec 10 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.5.8_jp-23vl2
138- merged with rawhide package
139- added pathc7
140
141* Wed Mar 06 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.8_jp-9vl2
142- merged with rawhide package
143  * Tue Aug  8 2000 Jun Nishii <jun@vinelinux.org>
144  - gv-3.5.8_jp-9vl1
145  - follow up with RHL62
146  * Tue Nov 23 1999 Norihito Ohmori <ohmori@flatout.org>
147  - modify for Vine Linux.
148  * Mon Nov 8 1999 Toru Hoshina <t@kondara.org>
149  - be a NoSrc :-P
150  * Tue Nov 2 1999 Norihito Ohmori <nono@kondara.org>
151  - I18N-mb.patch build bug fix.
152  * Sat Oct 29 1999 Norihito Ohmori <nono@kondara.org>
153  - rebuild for Kondara.
154  * Tue Oct 12 1999 Norihito Ohmori <ohmori@flatout.org>
155  - change papersize Letter -> A4
156  * Tue Oct 12 1999 Yasuyuki Furukawa <yasu@on.cs.keio.ac.jp>
157  - (Vine)adjust font settings and some Japanese messages
158  - added I18N patch (by Daisuke Suzuki)
159
160* Thu Feb 21 2002 Bill Nottingham <notting@redhat.com>
161- rebuild
162
163* Fri Jan 25 2002 Bill Nottingham <notting@redhat.com>
164- fix anti-aliasing (#58686)
165
166* Fri Jul 13 2001 Bill Nottingham <notting@redhat.com>
167- fix some build issues (#48983, #48984)
168
169* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
170- automatic rebuild
171
172* Fri Jun  9 2000 Bill Nottingham <notting@redhat.com>
173- add filename quoting patch from debian
174- rebuild in new build environment
175
176* Mon May  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
177- rebuild with new libXaw3d
178
179* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
180- wmconfig -> desktop
181
182* Thu Feb  3 2000 Bill Nottingham <notting@redhat.com>
183- handle compressed man pages
184
185* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
186- auto rebuild in the new build environment (release 7)
187
188* Mon Jan 23 1999 Michael Maher <mike@redhat.com>
189- fixed bug #272, changed group
190
191* Thu Dec 17 1998 Michael Maher <mike@redhat.com>
192- built pacakge for 6.0
193
194* Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
195- build root
196
197* Fri May 08 1998 Prospector System <bugs@redhat.com>
198- translations modified for de, fr, tr
199
200* Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
201- Manhattan build
202
203* Thu Nov 06 1997 Cristian Gafton <gafton@redhat.com>
204- we are installin a symlink to ghostview
205
206* Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
207- updated to 3.5.8
208
209* Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
210- built against glibc
211
212* Tue Apr 15 1997 Erik Troan <ewt@redhat.com>
213- added ghostscript requirement, added errlist patch for glibc.
Note: See TracBrowser for help on using the repository browser.