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

Revision 10582, 7.0 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Summary: A X front-end for the Ghostscript PostScript(TM) interpreter
2Summary(ja): PostScript(TM) インタープリタである ghostscript の拡張フロントエンド
3Name: gv
4Version: 3.7.4
5Release: 3%{?_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* Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.7.4-3
104- rebuild with Xaw3d-1.6.2
105
106* Sat Jul 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.7.4-2
107- update to 3.7.4
108
109* Sun Jan 15 2012 Munehiro Yamamoto <munepi@vinelinux.org> 3.7.3-1
110- new upstream release
111
112* Thu Apr 21 2011 Munehiro Yamamoto <munepi@vinelinux.org> 3.7.1-1
113- new upstream release
114- dropped obsolete/upstreamed patches
115- applied gv-3.7.1-aplinedel.patch
116- updated our gv.desktop (%%{SOURCE1})
117  - added gv.png
118- added BuildRequires:
119  - desktop-file-utils
120  - libXinerama-devel
121
122* Tue Mar 23 2010 Shu KONNO <owa@bg.wakwak.com> 3.6.8-1
123- rebuit with new toolchain
124- new upstream release
125- dropt Patch0: gv-3.5.8-buffer.patch
126
127* Sat Aug 23 2008 Shu KONNO <owa@bg.wakwak.com> 3.6.5-1vl5
128- new upstream release
129- dropt gv-3.6.2-CVE-2006-5864.patch (fixed)
130- applied new versioning policy, spec in utf-8
131
132* Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.6.2-0vl4
133- rebuild with Xaw3d-1.5E
134
135* Sun Dec 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.6.2-0vl3
136- s/descrption/description/
137
138* Wed Dec 13 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.6.2-0vl2
139- add BuildRequires: texinfo
140
141* Tue Dec 12 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.6.2-0vl1
142- [SECURITY FIX]
143  - new upstream release
144  - add patch100 to fix stack-based buffer overflow (CVE-2006-5864)
145- drop obsolete patches
146- update URLs
147- update desktop file
148  - add application/pdf into MimeType
149  - use postscript-viewer.png as icon
150
151* Fri Sep 08 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.5.8_jp-23vl4
152- add and update desktop file (source1)
153- move desktop file to /usr/share/applications
154- exec update-desktop-database at %post,%postun
155- add Requires(post,postun): desktop-file-utils
156
157* Sun Jul 23 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.8_jp-23vl3
158- rebuild with Xaw3d-1.5-17vl3 (libXaw3d.so.8)
159- /Copyright/License/
160
161* Wed Dec 10 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.5.8_jp-23vl2
162- merged with rawhide package
163- added pathc7
164
165* Wed Mar 06 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.8_jp-9vl2
166- merged with rawhide package
167  * Tue Aug  8 2000 Jun Nishii <jun@vinelinux.org>
168  - gv-3.5.8_jp-9vl1
169  - follow up with RHL62
170  * Tue Nov 23 1999 Norihito Ohmori <ohmori@flatout.org>
171  - modify for Vine Linux.
172  * Mon Nov 8 1999 Toru Hoshina <t@kondara.org>
173  - be a NoSrc :-P
174  * Tue Nov 2 1999 Norihito Ohmori <nono@kondara.org>
175  - I18N-mb.patch build bug fix.
176  * Sat Oct 29 1999 Norihito Ohmori <nono@kondara.org>
177  - rebuild for Kondara.
178  * Tue Oct 12 1999 Norihito Ohmori <ohmori@flatout.org>
179  - change papersize Letter -> A4
180  * Tue Oct 12 1999 Yasuyuki Furukawa <yasu@on.cs.keio.ac.jp>
181  - (Vine)adjust font settings and some Japanese messages
182  - added I18N patch (by Daisuke Suzuki)
183
184* Thu Feb 21 2002 Bill Nottingham <notting@redhat.com>
185- rebuild
186
187* Fri Jan 25 2002 Bill Nottingham <notting@redhat.com>
188- fix anti-aliasing (#58686)
189
190* Fri Jul 13 2001 Bill Nottingham <notting@redhat.com>
191- fix some build issues (#48983, #48984)
192
193* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
194- automatic rebuild
195
196* Fri Jun  9 2000 Bill Nottingham <notting@redhat.com>
197- add filename quoting patch from debian
198- rebuild in new build environment
199
200* Mon May  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
201- rebuild with new libXaw3d
202
203* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
204- wmconfig -> desktop
205
206* Thu Feb  3 2000 Bill Nottingham <notting@redhat.com>
207- handle compressed man pages
208
209* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
210- auto rebuild in the new build environment (release 7)
211
212* Sat Jan 23 1999 Michael Maher <mike@redhat.com>
213- fixed bug #272, changed group
214
215* Thu Dec 17 1998 Michael Maher <mike@redhat.com>
216- built pacakge for 6.0
217
218* Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
219- build root
220
221* Fri May 08 1998 Prospector System <bugs@redhat.com>
222- translations modified for de, fr, tr
223
224* Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
225- Manhattan build
226
227* Thu Nov 06 1997 Cristian Gafton <gafton@redhat.com>
228- we are installin a symlink to ghostview
229
230* Tue Oct 21 1997 Cristian Gafton <gafton@redhat.com>
231- updated to 3.5.8
232
233* Thu Jul 17 1997 Erik Troan <ewt@redhat.com>
234- built against glibc
235
236* Tue Apr 15 1997 Erik Troan <ewt@redhat.com>
237- added ghostscript requirement, added errlist patch for glibc.
Note: See TracBrowser for help on using the repository browser.