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

Revision 3641, 7.0 KB checked in by munepi, 13 years ago (diff)

updated gv-vl.spec

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