summaryrefslogtreecommitdiffstats
path: root/redhat/applications/potracegui/potracegui.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/potracegui/potracegui.spec')
-rw-r--r--redhat/applications/potracegui/potracegui.spec12
1 files changed, 4 insertions, 8 deletions
diff --git a/redhat/applications/potracegui/potracegui.spec b/redhat/applications/potracegui/potracegui.spec
index 083f43f67..252be6cbb 100644
--- a/redhat/applications/potracegui/potracegui.spec
+++ b/redhat/applications/potracegui/potracegui.spec
@@ -144,9 +144,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build
-# Move desktop file to XDG location
-%__mkdir_p "%{?buildroot}%{tde_tdeappdir}"
-%__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/%{tde_pkg}.desktop" "%{?buildroot}%{tde_tdeappdir}"
+%find_lang %{tde_pkg}
# Updates applications categories for openSUSE
%if 0%{?suse_version}
@@ -158,16 +156,14 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
-%files
+%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%doc AUTHORS ChangeLog COPYING README
%{tde_bindir}/potracegui
%{tde_tdeappdir}/potracegui.desktop
%{tde_datadir}/apps/potracegui/
%{tde_tdedocdir}/HTML/en/potracegui/
-%{tde_datadir}/icons/hicolor/16x16/apps/potracegui.png
-%{tde_datadir}/icons/hicolor/32x32/apps/potracegui.png
-%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/potracegui.mo
+%{tde_datadir}/icons/hicolor/*/apps/potracegui.png
%{tde_mandir}/man1/*.1*