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

Revision 9676, 6.9 KB checked in by Takemikaduchi, 9 years ago (diff)

update

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