gv-vl.spec 7.0 KB

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