summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kbookreader/kbookreader.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/kbookreader/kbookreader.spec')
-rw-r--r--redhat/applications/kbookreader/kbookreader.spec10
1 files changed, 4 insertions, 6 deletions
diff --git a/redhat/applications/kbookreader/kbookreader.spec b/redhat/applications/kbookreader/kbookreader.spec
index 90e316458..a0832ce80 100644
--- a/redhat/applications/kbookreader/kbookreader.spec
+++ b/redhat/applications/kbookreader/kbookreader.spec
@@ -18,7 +18,7 @@
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
+%define tde_version 14.1.0
%endif
%define tde_pkg kbookreader
%define tde_prefix /opt/trinity
@@ -142,21 +142,19 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build
-# Fix desktop icon location
-%__mkdir_p "%{?buildroot}%{tde_tdeappdir}"
-%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Office/bookreader.desktop" "%{?buildroot}%{tde_tdeappdir}/bookreader.desktop"
-
# Updates applications categories for openSUSE
%if 0%{?suse_version}
%suse_update_desktop_file "%{?buildroot}%{tde_tdeappdir}/bookreader.desktop" Office Viewer
%endif
+%find_lang %{tde_pkg} || touch %{tde_pkg}.lang
+
%clean
%__rm -rf %{buildroot}
-%files
+%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{tde_bindir}/bookreader