Accepting request 37478 from X11:common:Factory
Copy from X11:common:Factory/update-desktop-files based on submit request 37478 from user vuntz OBS-URL: https://build.opensuse.org/request/show/37478 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/update-desktop-files?expand=0&rev=64
This commit is contained in:
parent
f1894ddd3a
commit
06699249d2
@ -6,11 +6,13 @@ OLD_IFS="$IFS"
|
|||||||
while read instfile ; do
|
while read instfile ; do
|
||||||
case "$instfile" in
|
case "$instfile" in
|
||||||
*.desktop)
|
*.desktop)
|
||||||
|
if grep '^Type *= *Application' "$instfile" >/dev/null 2>&1 ; then
|
||||||
mime=$(sed -re '/^MimeType *= *([a-zA-Z0-9. _/;-]*)/!d' $instfile | cut -d'=' -f2)
|
mime=$(sed -re '/^MimeType *= *([a-zA-Z0-9. _/;-]*)/!d' $instfile | cut -d'=' -f2)
|
||||||
IFS=';'
|
IFS=';'
|
||||||
for type in $mime ; do
|
for type in $mime ; do
|
||||||
echo 'mimetype('$type')'
|
echo 'mimehandler('$type')'
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 8 15:21:18 CEST 2010 - mls@suse.de
|
||||||
|
|
||||||
|
- mimetypes.prov: filter bad desktop files, use mimehandler instead
|
||||||
|
of mimetype
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 3 12:19:58 UTC 2009 - coolo@novell.com
|
Tue Nov 3 12:19:58 UTC 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package update-desktop-files (Version 11.1)
|
# spec file for package update-desktop-files (Version 11.1)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,9 +20,9 @@
|
|||||||
|
|
||||||
Name: update-desktop-files
|
Name: update-desktop-files
|
||||||
Version: 11.1
|
Version: 11.1
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: A Build Tool to Update Desktop Files
|
Summary: A Build Tool to Update Desktop Files
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
|
Loading…
Reference in New Issue
Block a user