summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2021-01-30 14:34:02 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2021-01-30 22:29:41 +0100
commit6581dc50b83f203d65eac61c00a159ab2a6ddb5d (patch)
tree85c02d38ca9dcedc28798ee41c4b16ec7260e9bc /redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec
parent87e57a1a070839a44db16a0410ef57902db2df3e (diff)
downloadtde-packaging-6581dc50b83f203d65eac61c00a159ab2a6ddb5d.tar.gz
tde-packaging-6581dc50b83f203d65eac61c00a159ab2a6ddb5d.zip
RPM: massive update and cleanup
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