summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec')
-rw-r--r--redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec11
1 files changed, 8 insertions, 3 deletions
diff --git a/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec b/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec
index 81e416d4e..53a8b0f8c 100644
--- a/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec
+++ b/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.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 tdeio-umountwrapper
%define tde_prefix /opt/trinity
@@ -150,10 +150,13 @@ export PATH="%{tde_bindir}:${PATH}"
%__install -D -m 644 "%{SOURCE1}" %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdeio-umountwrapper
%__install -D -m 644 "%{SOURCE1}" %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_tdeio-umountwrapper
+%find_lang tdeio_umountwrapper
+
%clean
%__rm -rf %{buildroot}
+
%post
for f in konqueror d3lphin; do
update-alternatives --install \
@@ -163,6 +166,7 @@ for f in konqueror d3lphin; do
20
done
+
%postun
if [ $1 -eq 0 ]; then
for f in konqueror d3lphin; do
@@ -172,9 +176,10 @@ if [ $1 -eq 0 ]; then
done
fi
-%files
+
+%files -f tdeio_umountwrapper.lang
%defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%doc AUTHORS COPYING README
%{tde_bindir}/tdeio_umountwrapper
%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdeio-umountwrapper
%dir %{tde_datadir}/apps/d3lphin