diff --git a/xsane-0.999-xdg-open.patch b/xsane-0.999-xdg-open.patch new file mode 100644 index 0000000..db1f9bd --- /dev/null +++ b/xsane-0.999-xdg-open.patch @@ -0,0 +1,12 @@ +diff -up xsane-0.995/src/xsane.h.xdg-open xsane-0.995/src/xsane.h +--- xsane-0.995/src/xsane.h.xdg-open 2007-08-13 09:20:32.000000000 +0200 ++++ xsane-0.995/src/xsane.h 2007-11-23 11:50:49.000000000 +0100 +@@ -251,7 +251,7 @@ + # elif defined(HAVE_OS2_H) + # define DEFAULT_BROWSER "netscape" + # else +-# define DEFAULT_BROWSER "netscape" ++# define DEFAULT_BROWSER "xdg-open" + # endif + #endif + diff --git a/xsane.spec b/xsane.spec index 8d5ece4..f0f3789 100644 --- a/xsane.spec +++ b/xsane.spec @@ -1,7 +1,7 @@ Summary: An X Window System front-end for the SANE scanner interface. Name: xsane Version: 0.999 -Release: 1mamba +Release: 2mamba Group: Graphical Desktop/Applications/Graphics Distribution: openmamba Vendor: openmamba @@ -9,30 +9,24 @@ Packager: Silvan Calarco URL: http://www.xsane.org/ Source0: http://www.xsane.org/download/%{name}-%{version}.tar.gz Patch0: xsane-0.999-libpng-1.5.patch +Patch1: xsane-0.999-xdg-open.patch License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel -BuildRequires: libavahi-devel BuildRequires: libcairo-devel -BuildRequires: libexif-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel -BuildRequires: libgphoto-devel BuildRequires: libgtk2-devel BuildRequires: libjpeg-devel BuildRequires: liblcms-devel -BuildRequires: libnetsnmp-devel -BuildRequires: libopenssl-devel BuildRequires: libpango-devel BuildRequires: libpng-devel BuildRequires: libsane-backends-devel BuildRequires: libtiff-devel -BuildRequires: libusb0-devel -BuildRequires: libv4l-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END @@ -43,6 +37,7 @@ This package also includes THE GIMP plug-in %prep %setup -q %patch0 -p1 +%patch1 -p1 %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} @@ -100,6 +95,9 @@ rm -rf %{buildroot} #%doc xsane* %changelog +* Wed Aug 01 2018 Silvan Calarco 0.999-2mamba +- rebuilt + * Tue Aug 06 2013 Automatic Build System 0.999-1mamba - automatic update by autodist