|
@@ -1,25 +1,27 @@
|
|
Summary: A X front-end for the Ghostscript PostScript(TM) interpreter
|
|
Summary: A X front-end for the Ghostscript PostScript(TM) interpreter
|
|
Summary(ja): PostScript(TM) インタープリタである ghostscript の拡張フロントエンド
|
|
Summary(ja): PostScript(TM) インタープリタである ghostscript の拡張フロントエンド
|
|
Name: gv
|
|
Name: gv
|
|
-Version: 3.6.8
|
|
+Version: 3.7.1
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
-License: GPL
|
|
+License: GPLv3+
|
|
Group: Applications/Publishing
|
|
Group: Applications/Publishing
|
|
URL: http://www.gnu.org/software/gv/
|
|
URL: http://www.gnu.org/software/gv/
|
|
Source0: ftp://ftp.gnu.org/gnu/gv/gv-%{version}.tar.gz
|
|
Source0: ftp://ftp.gnu.org/gnu/gv/gv-%{version}.tar.gz
|
|
Source1: gv.desktop
|
|
Source1: gv.desktop
|
|
|
|
+Source2: gv.png
|
|
|
|
|
|
-Patch0: gv-3.5.8-buffer.patch
|
|
+## from Gentoo's Bugzilla – Bug 339394
|
|
-Patch1: gv-3.6.1-pkglibdir.patch
|
|
+## app-text/gv-3.7.1 complains about keysym apLineDel
|
|
-
|
|
+## See http://bugs.gentoo.org/339394
|
|
-# security fix
|
|
+Patch100: gv-3.7.1-aplinedel.patch
|
|
-Patch100: gv-3.6.2-CVE-2006-5864.patch
|
|
|
|
|
|
|
|
Requires: ghostscript
|
|
Requires: ghostscript
|
|
Requires(post): desktop-file-utils, install-info
|
|
Requires(post): desktop-file-utils, install-info
|
|
Requires(preun): install-info
|
|
Requires(preun): install-info
|
|
Requires(postun): desktop-file-utils
|
|
Requires(postun): desktop-file-utils
|
|
|
|
+BuildRequires: desktop-file-utils
|
|
BuildRequires: Xaw3d-devel, texinfo
|
|
BuildRequires: Xaw3d-devel, texinfo
|
|
|
|
+BuildRequires: libXinerama-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
Obsoletes: ghostview
|
|
Obsoletes: ghostview
|
|
|
|
|
|
@@ -27,7 +29,7 @@ Distribution: Vine Linux
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
|
|
|
|
%description
|
|
%description
|
|
-Gv is a user interface for the Ghostscript PostScript(TM) interpreter.
|
|
+GNU gv is a user interface for the Ghostscript PostScript(TM) interpreter.
|
|
Gv can display PostScript and PDF documents on an X Window System.
|
|
Gv can display PostScript and PDF documents on an X Window System.
|
|
|
|
|
|
Install the gv package if you'd like to view PostScript and PDF
|
|
Install the gv package if you'd like to view PostScript and PDF
|
|
@@ -35,7 +37,7 @@ documents on your system. You'll also need to have the ghostscript
|
|
package and X installed.
|
|
package and X installed.
|
|
|
|
|
|
%description -l ja
|
|
%description -l ja
|
|
-Gv は PostScript(TM) インタープリターである ghostscript のための
|
|
+GNU gv は PostScript(TM) インタープリターである ghostscript のための
|
|
ユーザーインターフェースを提供します。ghostscript プログラムにより、
|
|
ユーザーインターフェースを提供します。ghostscript プログラムにより、
|
|
gv は X Window System を使用して、PostScript と PDF ドキュメントを
|
|
gv は X Window System を使用して、PostScript と PDF ドキュメントを
|
|
表示することができます。
|
|
表示することができます。
|
|
@@ -47,14 +49,12 @@ gv プログラムをインストールしてください。ghostscript と X Wi
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
-##%patch0 -p1 -b .buffer
|
|
+%patch100 -p1 -b .aplinedel
|
|
-%patch1 -p1 -b .pkglibdir
|
|
|
|
-
|
|
|
|
-# security fix
|
|
|
|
-#%patch100 -p1 -b .CVE-2006-5864
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure
|
|
+%configure \
|
|
|
|
+ --enable-scrollbar-code \
|
|
|
|
+ ;
|
|
%__make %{?_smp_mflags}
|
|
%__make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
@@ -67,7 +67,16 @@ gv プログラムをインストールしてください。ghostscript と X Wi
|
|
|
|
|
|
# desktop file
|
|
# desktop file
|
|
%__mkdir_p %{buildroot}%{_datadir}/applications
|
|
%__mkdir_p %{buildroot}%{_datadir}/applications
|
|
-%__install -p -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/
|
|
+
|
|
|
|
+desktop-file-install --vendor=vine \
|
|
|
|
+ --dir %{buildroot}%{_datadir}/applications/ \
|
|
|
|
+ %{SOURCE1}
|
|
|
|
+
|
|
|
|
+%__mkdir_p $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
|
|
+%__cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
|
|
+
|
|
|
|
+# Remove info dir file
|
|
|
|
+%__rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
|
|
|
|
|
|
%clean
|
|
%clean
|
|
%__rm -rf %{buildroot}
|
|
%__rm -rf %{buildroot}
|
|
@@ -89,12 +98,25 @@ gv プログラムをインストールしてください。ghostscript と X Wi
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%{_bindir}/gv
|
|
%{_bindir}/gv
|
|
%{_bindir}/ghostview
|
|
%{_bindir}/ghostview
|
|
|
|
+%{_bindir}/gv-update-userconfig
|
|
%{_datadir}/gv
|
|
%{_datadir}/gv
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/applications/*.desktop
|
|
%{_infodir}/gv.info*
|
|
%{_infodir}/gv.info*
|
|
|
|
+%{_datadir}/pixmaps/gv.png
|
|
%{_mandir}/man1/gv.*
|
|
%{_mandir}/man1/gv.*
|
|
|
|
+%{_mandir}/man1/gv-update-userconfig.*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Apr 21 2011 Munehiro Yamamoto <munepi@vinelinux.org> 3.7.1-1
|
|
|
|
+- new upstream release
|
|
|
|
+- dropped obsolete/upstreamed patches
|
|
|
|
+- applied gv-3.7.1-aplinedel.patch
|
|
|
|
+- updated our gv.desktop (%%{SOURCE1})
|
|
|
|
+ - added gv.png
|
|
|
|
+- added BuildRequires:
|
|
|
|
+ - desktop-file-utils
|
|
|
|
+ - libXinerama-devel
|
|
|
|
+
|
|
* Tue Mar 23 2010 Shu KONNO <owa@bg.wakwak.com> 3.6.8-1
|
|
* Tue Mar 23 2010 Shu KONNO <owa@bg.wakwak.com> 3.6.8-1
|
|
- rebuit with new toolchain
|
|
- rebuit with new toolchain
|
|
- new upstream release
|
|
- new upstream release
|