From: Elan Ruusamäe Date: Sun, 18 Sep 2011 21:39:49 +0000 (+0000) Subject: - update-desktop-database (.desktop specifies MimeType) X-Git-Tag: auto/th/mousepad-0_2_16-3 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fmousepad.git;a=commitdiff_plain;h=709147a - update-desktop-database (.desktop specifies MimeType) Changed files: mousepad.spec -> 1.22 --- diff --git a/mousepad.spec b/mousepad.spec index 7389d7f..73166d5 100644 --- a/mousepad.spec +++ b/mousepad.spec @@ -5,7 +5,7 @@ Summary: Text editor for Xfce based on Leafpad Summary(pl.UTF-8): Edytor tekstu dla Xfce oparty na Leafpadzie Name: mousepad Version: 0.2.16 -Release: 2 +Release: 3 License: GPL v2 Group: X11/Applications/Editors Source0: http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}.tar.bz2 @@ -21,6 +21,7 @@ BuildRequires: libtool BuildRequires: libxfcegui4-devel >= %{xfce_version} BuildRequires: pkgconfig >= 1:0.9.0 BuildRequires: xfce4-dev-tools >= 4.6.0 +Requires: desktop-file-utils BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -64,6 +65,9 @@ mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,} %clean rm -rf $RPM_BUILD_ROOT +%post +%update_desktop_database + %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README