gv-vl.spec 6.9 KB

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