From 1aba701ee2620ba51562ee117506d2229cd5c88c Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Dec 18 2007 17:23:55 +0000 Subject: Add missing files to the list, add scriptlets to update the mime DB --- diff --git a/vinagre.spec b/vinagre.spec index 14277bc..33ba553 100644 --- a/vinagre.spec +++ b/vinagre.spec @@ -54,10 +54,19 @@ desktop-file-install \ %clean rm -rf $RPM_BUILD_ROOT +%post +update-desktop-database -q + +%postun +update-desktop-database -q +update-mime-database %{_datadir}/mime >/dev/null + %files -f vinagre.lang %defattr(-,root,root,-) %{_bindir}/* %{_datadir}/applications/*.desktop +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/mime/packages/vinagre-mime.xml %{_datadir}/%{name}/ %doc README NEWS COPYING AUTHORS