gv-vl.spec 6.9 KB

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