OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/update-desktop-files?expand=0&rev=33
This commit is contained in:
parent
49ceeb2ba9
commit
7d2154bbf9
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9af740fd0771f4dca60f201c1783934cc2136ee2340e490ee5c659a4c17def14
|
||||
size 9215257
|
||||
oid sha256:335d36c1d703e881568326319c6e7b000f71390c2183f276d16589b19b133390
|
||||
size 9206215
|
||||
|
@ -132,7 +132,11 @@ fi
|
||||
#
|
||||
# find file
|
||||
#
|
||||
for i in /$RPM_BUILD_ROOT/opt/kde3/share/applications/kde/ /$RPM_BUILD_ROOT/opt/kde3/share/applnk /$RPM_BUILD_ROOT/usr/share/applications/ /$RPM_BUILD_ROOT/usr/share/gnome/apps/ ; do
|
||||
for i in /$RPM_BUILD_ROOT/opt/kde3/share/applications/kde/ \
|
||||
/$RPM_BUILD_ROOT/opt/kde3/share/applnk \
|
||||
/$RPM_BUILD_ROOT/usr/share/applications/ \
|
||||
/$RPM_BUILD_ROOT/usr/share/gnome/apps/ \
|
||||
/$RPM_BUILD_ROOT/etc/xdg/autostart/ ; do
|
||||
[ -e "$i" ] && DIRS="$DIRS $i"
|
||||
done
|
||||
if [ "${APPLICATION:0:1}" == "/" -a -e "$APPLICATION" ]; then
|
||||
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 25 17:01:04 CET 2008 - ke@suse.de
|
||||
|
||||
- Add /etc/xdg/autostart/ for autostarted applications. Provided by
|
||||
Vincent Untz; bnc#370483.
|
||||
- Update translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 23 07:26:46 CET 2008 - coolo@suse.de
|
||||
|
||||
- adding check against additional newlines and updating
|
||||
from (fixed) SVN
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 20 14:11:35 CET 2008 - ke@suse.de
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
Name: update-desktop-files
|
||||
Version: 10.3
|
||||
Release: 99
|
||||
Release: 104
|
||||
Summary: A Build Tool to Update Desktop Files
|
||||
License: GPL v2 or later
|
||||
Group: Development/Tools/Building
|
||||
@ -75,6 +75,8 @@ for lang in *; do
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/locale/$lang/LC_MESSAGES
|
||||
for f in $lang/*.po; do
|
||||
msgfmt -o $RPM_BUILD_ROOT/usr/share/locale/$lang/LC_MESSAGES/desktop_translations.mo $f
|
||||
msgunfmt --no-wrap $RPM_BUILD_ROOT/usr/share/locale/$lang/LC_MESSAGES/desktop_translations.mo | \
|
||||
grep -v '^"[A-Z][^ ]*: ' | grep '[^\][\]n"' && exit 1
|
||||
ln -s /usr/share/locale/$lang/LC_MESSAGES/desktop_translations.mo \
|
||||
$RPM_BUILD_ROOT/usr/share/%name/locale/translations/en_US/LC_MESSAGES/$lang\_`echo $f | sed -e 's#.*/##; s#\.po#.mo#'`
|
||||
done
|
||||
@ -98,6 +100,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Tue Mar 25 2008 ke@suse.de
|
||||
- Add /etc/xdg/autostart/ for autostarted applications. Provided by
|
||||
Vincent Untz; bnc#370483.
|
||||
- Update translations.
|
||||
* Sun Mar 23 2008 coolo@suse.de
|
||||
- adding check against additional newlines and updating
|
||||
from (fixed) SVN
|
||||
* Thu Mar 20 2008 ke@suse.de
|
||||
- update translations.
|
||||
* Tue Feb 12 2008 coolo@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user