OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/update-desktop-files?expand=0&rev=15
This commit is contained in:
parent
0ea9ce025a
commit
b10d75c413
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:73570604761f31dd44773d909da34494c545759b9b6c79f43255cc92d5589b67
|
||||
size 118913
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:40713c278fb85f87110249d9527df8722eb2e7f677d65e114be840ff6a955809
|
||||
size 122727
|
@ -107,11 +107,11 @@ GNAME=no
|
||||
fi
|
||||
if [ "$INSTALL" = "yes" ]; then
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/applications/
|
||||
FILE=`find $RPM_SOURCE_DIR $RPM_BUILD_DIR . /usr/share/update-desktop-files/templates -name $APPLICATION.desktop| sort -r | head -n 1`
|
||||
FILE=`find $RPM_SOURCE_DIR $RPM_BUILD_DIR . -name $APPLICATION.desktop| sort -r | head -n 1`
|
||||
if [ -s "$FILE" ]; then
|
||||
cp -v "$FILE" $RPM_BUILD_ROOT/usr/share/applications/
|
||||
icon_file=`sed -n '/^\[Desktop Entry\]/,/(\[.*|$)/ s,Icon=\(.*\),\1,p' "$FILE"`
|
||||
icon_file=`find $RPM_SOURCE_DIR /usr/share/update-desktop-files/kappfinder-icons -maxdepth 1 -name ${icon_file}.png -o -name ${icon_file}.xpm -o -name $icon_file | sort -r | head -n 1`
|
||||
icon_file=`find $RPM_SOURCE_DIR $RPM_BUILD_DIR -maxdepth 1 -name ${icon_file}.png -o -name ${icon_file}.xpm -o -name $icon_file | sort -r | head -n 1`
|
||||
if [ -s "$icon_file" ]; then
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/
|
||||
cp -v "$icon_file" $RPM_BUILD_ROOT/usr/share/pixmaps/
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 5 17:18:18 CEST 2007 - coolo@suse.de
|
||||
|
||||
- don't package kappfinder files anymore and let packages provide their
|
||||
own files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 3 11:11:21 CEST 2007 - coolo@suse.de
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
Name: update-desktop-files
|
||||
Version: 10.3
|
||||
Release: 34
|
||||
Release: 35
|
||||
Summary: A Build Tool to Update Desktop Files
|
||||
License: GPL v2 or later
|
||||
Group: Development/Tools/Building
|
||||
@ -21,14 +21,12 @@ Requires: desktop-translations = %{version}
|
||||
Autoreqprov: on
|
||||
Source: suse_update_desktop_file.sh
|
||||
Source1: map-desktop-category.sh
|
||||
Source2: kappfinder.tar.bz2
|
||||
Source3: translate.pl
|
||||
Source4: untranslate.pl
|
||||
# pdb query --filter "needshw:sound" | sed -e "s, ,,g"
|
||||
Source5: packages-sound
|
||||
# pdb query --filter "needshw:3d" | sed -e "s, ,,g"
|
||||
Source6: packages-3D
|
||||
Source7: kappfinder-icons.tar.bz2
|
||||
Source10: desktop-translations.tar.bz2
|
||||
Source99: PREPARE_PACKAGE
|
||||
BuildArchitectures: noarch
|
||||
@ -85,9 +83,6 @@ for lang in *; do
|
||||
done
|
||||
install -m 0644 %SOURCE5 %SOURCE6 %SOURCE3 $RPM_BUILD_ROOT/usr/share/%name/
|
||||
install -m 755 %SOURCE4 $RPM_BUILD_ROOT/usr/share/%name/
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/%name/templates
|
||||
tar xfj %SOURCE2 -C $RPM_BUILD_ROOT/usr/share/%name/templates
|
||||
tar xfj %SOURCE7 -C $RPM_BUILD_ROOT/usr/share/%name/
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm
|
||||
install -m 0755 %SOURCE0 %SOURCE1 $RPM_BUILD_ROOT/usr/lib/rpm
|
||||
%if %suse_version <= 1000
|
||||
@ -125,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Jul 05 2007 - coolo@suse.de
|
||||
- don't package kappfinder files anymore and let packages provide their
|
||||
own files
|
||||
* Tue Jul 03 2007 - coolo@suse.de
|
||||
- adding some debug output to indicate copying templates
|
||||
* Thu Jun 21 2007 - stbinner@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user