gv-vl.spec 6.3 KB

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