OBS User unknown 2008-03-28 04:05:37 +00:00 committed by Git OBS Bridge
parent 49ceeb2ba9
commit 7d2154bbf9
4 changed files with 30 additions and 4 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:9af740fd0771f4dca60f201c1783934cc2136ee2340e490ee5c659a4c17def14 oid sha256:335d36c1d703e881568326319c6e7b000f71390c2183f276d16589b19b133390
size 9215257 size 9206215

View File

@ -132,7 +132,11 @@ fi
# #
# find file # 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" [ -e "$i" ] && DIRS="$DIRS $i"
done done
if [ "${APPLICATION:0:1}" == "/" -a -e "$APPLICATION" ]; then if [ "${APPLICATION:0:1}" == "/" -a -e "$APPLICATION" ]; then

View File

@ -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 Thu Mar 20 14:11:35 CET 2008 - ke@suse.de

View File

@ -13,7 +13,7 @@
Name: update-desktop-files Name: update-desktop-files
Version: 10.3 Version: 10.3
Release: 99 Release: 104
Summary: A Build Tool to Update Desktop Files Summary: A Build Tool to Update Desktop Files
License: GPL v2 or later License: GPL v2 or later
Group: Development/Tools/Building Group: Development/Tools/Building
@ -75,6 +75,8 @@ for lang in *; do
mkdir -p $RPM_BUILD_ROOT/usr/share/locale/$lang/LC_MESSAGES mkdir -p $RPM_BUILD_ROOT/usr/share/locale/$lang/LC_MESSAGES
for f in $lang/*.po; do for f in $lang/*.po; do
msgfmt -o $RPM_BUILD_ROOT/usr/share/locale/$lang/LC_MESSAGES/desktop_translations.mo $f 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 \ 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#'` $RPM_BUILD_ROOT/usr/share/%name/locale/translations/en_US/LC_MESSAGES/$lang\_`echo $f | sed -e 's#.*/##; s#\.po#.mo#'`
done done
@ -98,6 +100,13 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root) %defattr(-,root,root)
%changelog %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 * Thu Mar 20 2008 ke@suse.de
- update translations. - update translations.
* Tue Feb 12 2008 coolo@suse.de * Tue Feb 12 2008 coolo@suse.de