gv-vl.spec 7.0 KB

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