diff --git a/xdg-utils-1.1.0-openmamba-default-browsers.patch b/xdg-utils-1.1.0-openmamba-default-browsers.patch deleted file mode 100644 index 5f6ad58..0000000 --- a/xdg-utils-1.1.0-openmamba-default-browsers.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Nru xdg-utils-1.1.0-rc1.orig/scripts/xdg-email xdg-utils-1.1.0-rc1/scripts/xdg-email ---- xdg-utils-1.1.0-rc1.orig/scripts/xdg-email 2011-01-01 11:03:14.000000000 +0100 -+++ xdg-utils-1.1.0-rc1/scripts/xdg-email 2013-05-26 16:06:28.197692537 +0200 -@@ -699,7 +699,7 @@ - if [ x"$BROWSER" = x"" ]; then - BROWSER=links2:links:lynx:w3m - if [ -n "$DISPLAY" ]; then -- BROWSER=firefox:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER -+ BROWSER=chromium:firefox:mozilla:midori:icecat:konqueror:epiphany:chrome:google-chrome:opera:$BROWSER - fi - fi - -diff -Nru xdg-utils-1.1.0-rc1.orig/scripts/xdg-open xdg-utils-1.1.0-rc1/scripts/xdg-open ---- xdg-utils-1.1.0-rc1.orig/scripts/xdg-open 2011-01-01 11:03:14.000000000 +0100 -+++ xdg-utils-1.1.0-rc1/scripts/xdg-open 2013-05-26 16:05:08.283648899 +0200 -@@ -526,7 +526,7 @@ - if [ x"$BROWSER" = x"" ]; then - BROWSER=links2:links:lynx:w3m - if [ -n "$DISPLAY" ]; then -- BROWSER=firefox:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER -+ BROWSER=chromium:firefox:mozilla:midori:icecat:konqueror:epiphany:chrome:google-chrome:opera:$BROWSER - fi - fi - diff --git a/xdg-utils-1.1.0_rc2-openmamba-default-browsers.patch b/xdg-utils-1.1.0_rc2-openmamba-default-browsers.patch new file mode 100644 index 0000000..3c03f3e --- /dev/null +++ b/xdg-utils-1.1.0_rc2-openmamba-default-browsers.patch @@ -0,0 +1,24 @@ +diff -Nru xdg-utils-1.1.0-rc2.orig/scripts/xdg-email.in xdg-utils-1.1.0-rc2/scripts/xdg-email.in +--- xdg-utils-1.1.0-rc2.orig/scripts/xdg-email.in 2014-02-07 15:17:03.000000000 +0100 ++++ xdg-utils-1.1.0-rc2/scripts/xdg-email.in 2014-10-04 19:41:44.601956387 +0200 +@@ -380,7 +380,7 @@ + if [ x"$BROWSER" = x"" ]; then + BROWSER=links2:elinks:links:lynx:w3m + if [ -n "$DISPLAY" ]; then +- BROWSER=x-www-browser:firefox:seamonkey:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER ++ BROWSER=x-www-browser:chromium:firefox:seamonkey:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER + fi + fi + +diff -Nru xdg-utils-1.1.0-rc2.orig/scripts/xdg-open.in xdg-utils-1.1.0-rc2/scripts/xdg-open.in +--- xdg-utils-1.1.0-rc2.orig/scripts/xdg-open.in 2014-02-07 15:17:03.000000000 +0100 ++++ xdg-utils-1.1.0-rc2/scripts/xdg-open.in 2014-10-04 19:41:28.515958261 +0200 +@@ -333,7 +333,7 @@ + if [ x"$BROWSER" = x"" ]; then + BROWSER=links2:elinks:links:lynx:w3m + if [ -n "$DISPLAY" ]; then +- BROWSER=x-www-browser:firefox:seamonkey:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER ++ BROWSER=x-www-browser:chromium:firefox:seamonkey:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER + fi + fi + diff --git a/xdg-utils.spec b/xdg-utils.spec index 75d247c..badd945 100644 --- a/xdg-utils.spec +++ b/xdg-utils.spec @@ -1,15 +1,17 @@ +%define pkgver %(echo %version | tr _ -) Name: xdg-utils -Version: 1.1.0 -Release: 3mamba +Version: 1.1.0_rc2 +Release: 1mamba Summary: Scripts providing desktop integration functions for any Free Desktop Group: System/Configuration Vendor: openmamba Distribution: openmamba Packager: Aleph0 URL: http://portland.freedesktop.org/ -Source: http://portland.freedesktop.org/download/xdg-utils-%{version}-rc1.tar.gz +Source: http://people.freedesktop.org/~rdieter/xdg-utils/xdg-utils-%{pkgver}.tar.gz +#http://portland.freedesktop.org/download/xdg-utils-%{pkgver}.tar.gz Source1: xdg-profile.sh -Patch0: xdg-utils-1.1.0-openmamba-default-browsers.patch +Patch0: xdg-utils-1.1.0_rc2-openmamba-default-browsers.patch License: MIT ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END @@ -32,7 +34,7 @@ The following tools are included in xdg-utils 1.0: * xdg-screensaver Control the screensaver %prep -%setup -q -n %{name}-%{version}-rc1 +%setup -q -n %{name}-%{pkgver} %patch0 -p1 %build @@ -69,6 +71,9 @@ install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/xprofile.d/xdg.sh %doc ChangeLog LICENSE README RELEASE_NOTES TODO %changelog +* Sat Oct 04 2014 Silvan Calarco 1.1.0_rc2-1mamba +- update to 1.1.0_rc2 + * Wed Sep 11 2013 Silvan Calarco 1.1.0-3mamba - xdg-profile.sh: check for kde4-config existence before calling it to avoid pk to look for it