rpms/pari/devel pari-2.3.4-xdgopen.patch, NONE, 1.1 pari.spec, 1.13, 1.14
Paul Howarth
pghmcfc at fedoraproject.org
Wed Jul 7 13:26:33 UTC 2010
Author: pghmcfc
Update of /cvs/pkgs/rpms/pari/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv32011
Modified Files:
pari.spec
Added Files:
pari-2.3.4-xdgopen.patch
Log Message:
* Wed Jul 7 2010 Paul Howarth <paul at city-fan.org> - 2.3.4-4
- apply patch from Patrice Dumas to use xdg-open rather than xdvi to display
DVI content, and move the xdg-open requirement from the main package to the
gp sub-package (#530565)
pari-2.3.4-xdgopen.patch:
gphelp.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE pari-2.3.4-xdgopen.patch ---
--- pari-2.3.4/doc/gphelp.in 2010-05-31 19:39:57.000000000 +0200
+++ pari-2.3.4/doc/gphelp.in 2010-05-31 19:40:20.000000000 +0200
@@ -47,8 +47,8 @@ $datadir= "@datadir@";
# no expanded material (@key@) below
$wwwsite= "http://pari.math.u-bordeaux.fr/";
-$xdvi = $ENV{GPXDVI} || "xdvi";
-$xdviref = $ENV{GPXDVIREF} || "$xdvi -paper 29.7x21cm";
+$xdvi = $ENV{GPXDVI} || "xdg-open";
+$xdviref = $ENV{GPXDVIREF} || "$xdvi";
$gzip = "gzip";
$zcat = "$gzip -dc";
$docdir = &get_docdir();
Index: pari.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pari/devel/pari.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- pari.spec 25 Jul 2009 23:15:37 -0000 1.13
+++ pari.spec 7 Jul 2010 13:26:33 -0000 1.14
@@ -1,13 +1,14 @@
Name: pari
Version: 2.3.4
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Number Theory-oriented Computer Algebra System
Group: System Environment/Libraries
# No version is specified.
License: GPL+
-URL: http://pari.math.u-bordeaux.fr
+URL: http://pari.math.u-bordeaux.fr/
Source: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.3.4.tar.gz
+Patch0: pari-2.3.4-xdgopen.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: emacs
BuildRequires: readline-devel
@@ -16,7 +17,6 @@ BuildRequires: tetex
BuildRequires: tetex-dvips
BuildRequires: desktop-file-utils
BuildRequires: libX11-devel
-Requires: tetex-xdvi
%description
@@ -44,6 +44,8 @@ Header files and libraries for PARI deve
Summary: PARI calculator
Group: Applications/Engineering
Requires: gzip
+Requires: xdg-utils
+Requires: mimehandler(application/x-dvi)
%description gp
PARI/GP is an advanced programmable calculator, which computes
@@ -63,6 +65,10 @@ Emacs mode for PARI/GP.
%prep
%setup -q
+
+# Use xdg-open rather than xdvi to display DVI files (#530565)
+%patch0 -p1 -b .xdgopen
+
sed -i "s|runpathprefix='.*'|runpathprefix=''|" config/get_ld
@@ -163,6 +169,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Jul 7 2010 Paul Howarth <paul at city-fan.org> - 2.3.4-4
+- apply patch from Patrice Dumas to use xdg-open rather than xdvi to display
+ DVI content, and move the xdg-open requirement from the main package to the
+ gp sub-package (#530565)
+
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.3.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the scm-commits
mailing list