- update-desktop-database (.desktop specifies MimeType) auto/th/mousepad-0_2_16-3
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 18 Sep 2011 21:39:49 +0000 (21:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mousepad.spec -> 1.22

mousepad.spec

index 7389d7fac75146d0d7f0eeca9cdf8d43c83a286d..73166d5fbfa457e788ed22547570112f6542f76e 100644 (file)
@@ -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
This page took 0.033919 seconds and 4 git commands to generate.