summaryrefslogtreecommitdiffstats
path: root/redhat/applications/potracegui/potracegui.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2020-04-14 12:07:03 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2020-04-23 10:32:08 +0200
commit4a082768066b2b3ac46d6aaa2f6954be6e021d1b (patch)
treeccaaf127e407feaed165c8d59d6bd995a5b84853 /redhat/applications/potracegui/potracegui.spec
parentedc1bf4a4939ceb6ce016e01c8fb5b81a800eb96 (diff)
downloadtde-packaging-4a082768066b2b3ac46d6aaa2f6954be6e021d1b.tar.gz
tde-packaging-4a082768066b2b3ac46d6aaa2f6954be6e021d1b.zip
RPM: various updates for TDE 14.0.8
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*