Update XDG information in support of bug report 892.

pull/1/head
Darrell Anderson 13 years ago
parent 780baa3ef7
commit e400e6b1df

@ -1 +1 @@
Subproject commit 06098efaf31973c11d7dd89ae291e6844b132e1a
Subproject commit 4af57bf22967e6ad80ab898980ed505df6eae5b0

@ -1 +1 @@
Subproject commit e47cc63e66a12ca6b740500b76f385336ee40dbc
Subproject commit d2f658ca47faefe569bcd1885b9238691fa13280

@ -63,7 +63,7 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/autostart/kpowersave-autostart.desktop
/usr/share/apps/kpowersave
/usr/share/icons/??color
/usr/share/applications/kde/kpowersave.desktop
/usr/share/applications/tde/kpowersave.desktop
/usr/share/doc/tde/HTML/*/kpowersave
/usr/lib*/trinity/kpowersave.*
/usr/lib*/libtdeinit_kpowersave.*

@ -65,7 +65,7 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/autostart/kpowersave-autostart.desktop
/usr/share/apps/kpowersave
/usr/share/icons/??color
/usr/share/applications/kde/kpowersave.desktop
/usr/share/applications/tde/kpowersave.desktop
/usr/share/doc/tde/HTML/*/kpowersave
/usr/lib*/trinity/kpowersave.*
/usr/lib*/libtdeinit_kpowersave.*

@ -59,9 +59,9 @@ make %{?_smp_mflags}
make DESTDIR=$RPM_BUILD_ROOT install
desktop-file-install \
--dir $RPM_BUILD_ROOT%{_datadir}/applications/kde \
--dir $RPM_BUILD_ROOT%{_datadir}/applications/tde \
--vendor="" \
$RPM_BUILD_ROOT%{_datadir}/applications/kde/kpowersave.desktop
$RPM_BUILD_ROOT%{_datadir}/applications/tde/kpowersave.desktop
## File lists
# locale's
@ -91,7 +91,7 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/kpowersave
%{_libdir}/trinity/kpowersave.*
%{_libdir}/libtdeinit_kpowersave.*
%{_datadir}/applications/kde/*kpowersave.desktop
%{_datadir}/applications/tde/*kpowersave.desktop
%{_datadir}/apps/kpowersave/
%{_datadir}/autostart/kpowersave-autostart.desktop
%{_datadir}/config/kpowersaverc

@ -74,7 +74,7 @@ rm -rf $RPM_BUILD_ROOT
/opt/trinity/share/autostart/kpowersave-autostart.desktop
/opt/trinity/share/apps/kpowersave
/opt/trinity/share/icons/??color
/opt/trinity/share/applications/kde/kpowersave.desktop
/opt/trinity/share/applications/tde/kpowersave.desktop
/opt/trinity/lib*/trinity/kpowersave.*
/opt/trinity/lib*/libtdeinit_kpowersave.*

@ -73,7 +73,7 @@ rm -rf $RPM_BUILD_ROOT
/opt/trinity/share/autostart/kpowersave-autostart.desktop
/opt/trinity/share/apps/kpowersave
/opt/trinity/share/icons/??color
/opt/trinity/share/applications/kde/kpowersave.desktop
/opt/trinity/share/applications/tde/kpowersave.desktop
/opt/trinity/lib*/trinity/kpowersave.*
/opt/trinity/lib*/libtdeinit_kpowersave.*

@ -71,7 +71,7 @@ rm -rf $RPM_BUILD_ROOT
/opt/trinity/share/autostart/kpowersave.desktop
/opt/trinity/share/apps/kpowersave
/opt/trinity/share/icons/??color
/opt/trinity/share/applications/kde/kpowersave.desktop
/opt/trinity/share/applications/tde/kpowersave.desktop
/opt/trinity/lib*/trinity/kpowersave.*
/opt/trinity/lib*/libtdeinit_kpowersave.*

@ -75,7 +75,7 @@ rm -rf $RPM_BUILD_ROOT
/opt/trinity/share/autostart/kpowersave.desktop
/opt/trinity/share/apps/kpowersave
/opt/trinity/share/icons/??color
/opt/trinity/share/applications/kde/kpowersave.desktop
/opt/trinity/share/applications/tde/kpowersave.desktop
/opt/trinity/lib*/trinity/kpowersave.*
/opt/trinity/lib*/libtdeinit_kpowersave.*

@ -65,7 +65,7 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/autostart/kpowersave-autostart.desktop
/usr/share/apps/kpowersave
/usr/share/icons/??color
/usr/share/applications/kde/kpowersave.desktop
/usr/share/applications/tde/kpowersave.desktop
/usr/share/doc/tde/HTML/*/kpowersave
/usr/lib*/trinity/kpowersave.*
/usr/lib*/libtdeinit_kpowersave.*

@ -56,7 +56,7 @@ rm -rf %{buildroot}
%find_lang %{name}
mkdir -p $RPM_BUILD_ROOT%{_menudir}
kdedesktop2mdkmenu.pl %{name} "System/Monitoring" $RPM_BUILD_ROOT%{_datadir}/applications/kde/kpowersave.desktop $RPM_BUILD_ROOT%{_menudir}/%{name}
kdedesktop2mdkmenu.pl %{name} "System/Monitoring" $RPM_BUILD_ROOT%{_datadir}/applications/tde/kpowersave.desktop $RPM_BUILD_ROOT%{_menudir}/%{name}
install -D -m 644 %{buildroot}%{_iconsdir}/hicolor/32x32/apps/%{name}.png %{buildroot}%{_iconsdir}/%{name}.png
install -D -m 644 %{buildroot}%{_iconsdir}/hicolor/48x48/apps/%{name}.png %{buildroot}%{_liconsdir}/%{name}.png
install -D -m 644 %{buildroot}%{_iconsdir}/hicolor/16x16/apps/%{name}.png %{buildroot}%{_miconsdir}/%{name}.png
@ -85,7 +85,7 @@ rm -rf %{buildroot}
%{_datadir}/apps/%{name}
%{_iconsdir}/hicolor/*/apps/*.png
%{_datadir}/icons/*.png
%{_datadir}/applications/kde/kpowersave.desktop
%{_datadir}/applications/tde/kpowersave.desktop
%doc %{_docdir}/HTML/*/kpowersave
%{_libdir}/trinity/*
%{_libdir}/*.so

@ -81,7 +81,7 @@ rm -rf $RPM_BUILD_ROOT
/opt/trinity/share/autostart/kpowersave-autostart.desktop
/opt/trinity/share/apps/kpowersave
/opt/trinity/share/icons/??color
/opt/trinity/share/applications/kde/kpowersave.desktop
/opt/trinity/share/applications/tde/kpowersave.desktop
/opt/trinity/lib*/trinity/kpowersave.*
/opt/trinity/lib*/libtdeinit_kpowersave.*

@ -94,7 +94,7 @@ rm -rf $RPM_BUILD_ROOT
/opt/trinity/share/autostart/kpowersave-autostart.desktop
/opt/trinity/share/apps/kpowersave
/opt/trinity/share/icons/??color
/opt/trinity/share/applications/kde/kpowersave.desktop
/opt/trinity/share/applications/tde/kpowersave.desktop
/opt/trinity/lib*/trinity/kpowersave.*
/opt/trinity/lib*/libtdeinit_kpowersave.*

@ -60,9 +60,9 @@ GenericName[zh_CN]=电池监视器
Comment[zh_CN]=电池监视器和常规电源管理
GenericName[zh_TW]=電池監視器
Comment[zh_TW]=電池監視器和一般電源管理
X-KDE-autostart-after=panel
X-KDE-StartupNotify=false
X-KDE-UniqueApplet=true
X-KDE-autostart-condition=kpowersaverc:General:Autostart:true
X-TDE-autostart-after=panel
X-TDE-StartupNotify=false
X-TDE-UniqueApplet=true
X-TDE-autostart-condition=kpowersaverc:General:Autostart:true
Categories=System;Applet;

@ -60,9 +60,9 @@ GenericName[zh_CN]=电池监视器
Comment[zh_CN]=电池监视器和常规电源管理
GenericName[zh_TW]=電池監視器
Comment[zh_TW]=電池監視器和一般電源管理
X-KDE-autostart-after=panel
X-KDE-StartupNotify=false
X-KDE-UniqueApplet=true
X-KDE-autostart-condition=kpowersaverc:General:Autostart:true
X-TDE-autostart-after=panel
X-TDE-StartupNotify=false
X-TDE-UniqueApplet=true
X-TDE-autostart-condition=kpowersaverc:General:Autostart:true
Categories=System;Applet;

Loading…
Cancel
Save