- xdg-utils-1.0beta3

This commit is contained in:
Rex Dieter 2006-08-21 15:05:42 +00:00
parent 64a8b28f10
commit 07bd03900f
4 changed files with 9 additions and 53 deletions

View File

@ -1 +1 @@
xdg-utils-20060721.tgz
xdg-utils-1.0beta3.tgz

View File

@ -1 +1 @@
fde4bf35fc34c58faa562bfb96103eb5 xdg-utils-20060721.tgz
14ad3d9f467c865487b26ac03bdef2a7 xdg-utils-1.0beta3.tgz

View File

@ -1,40 +0,0 @@
--- xdg-utils-20060721/scripts/xdg-icon-resource.optgnome 2006-07-21 18:26:31.000000000 -0500
+++ xdg-utils-20060721/scripts/xdg-icon-resource 2006-07-24 13:31:42.000000000 -0500
@@ -315,16 +315,13 @@
update_icon_database()
{
- IFS_save=$IFS
- IFS=":"
- for x in $PATH:/opt/gnome/bin; do
+ for x in `echo $PATH | sed 's/:/ /g'` /opt/gnome/bin ; do
if [ -x $x/gtk-update-icon-cache ] ; then
DEBUG 1 "Running $x/gtk-update-icon-cache -f -t \"$1\""
eval '$x/gtk-update-icon-cache -f -t "$1"'$xdg_redirect_output
return
fi
done
- IFS=$IFS_save
}
[ x"$1" != x"" ] || exit_failure_syntax
--- xdg-utils-20060721/scripts/xdg-mime.optgnome 2006-07-21 18:26:31.000000000 -0500
+++ xdg-utils-20060721/scripts/xdg-mime 2006-07-24 13:31:12.000000000 -0500
@@ -344,16 +344,13 @@
update_mime_database()
{
- IFS_save=$IFS
- IFS=":"
- for x in $PATH:/opt/gnome/bin; do
+ for x in `echo $PATH | sed 's/:/ /g'` /opt/gnome/bin ; do
if [ -x $x/update-mime-database ] ; then
DEBUG 1 "Running $x/update-mime-database $1"
eval '$x/update-mime-database $1'$xdg_redirect_output
return
fi
done
- IFS=$IFS_save
}
info_kde()

View File

@ -1,22 +1,18 @@
%define beta 20060721
%define beta beta3
Summary: Basic desktop integration functions
Name: xdg-utils
Version: 1.0
Release: 0.5.%{beta}%{?dist}
Release: 0.6.%{beta}%{?dist}
URL: http://portland.freedesktop.org/
#Source0: http://portland.freedesktop.org/download/xdg-utils-%{version}%{?beta}.tgz
Source0: http://portland.freedesktop.org/download/xdg-utils-%{beta}.tgz
Source0: http://portland.freedesktop.org/download/xdg-utils-%{version}%{?beta}.tgz
License: MIT
Group: System Environment/Base
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# upstream patches
Patch1: xdg-utils-20060721-optgnome.patch
# Not really used (yet)
#BuildRequires: xmlto
@ -51,10 +47,7 @@ The following scripts are provided at this time:
%prep
#setup -q -n %{name}-%{version}%{?beta}
%setup -q -n %{name}-%{beta}
%patch1 -p1 -b .optgnome
%setup -q -n %{name}-%{version}%{?beta}
%build
@ -81,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Aug 21 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.6.beta3
- xdg-utils-1.0beta3
* Thu Jul 27 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0-0.5.20060721
- Release: append/use %%{?dist}