source: projects/specs/branches/6/g/gv/gv-vl.spec @ 5432

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