Name: mate-menu-editor Version: 1.5.0 Release: 2%{?dist} Summary: MATE Desktop menu editor License: LGPLv2+ URL: http://mate-desktop.org Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: mate-common BuildRequires: mate-menus-devel BuildRequires: pygobject2 BuildRequires: python2-devel Requires: mate-desktop BuildArch: noarch %description MATE Desktop menu editor %prep %setup -q NOCONFIGURE=1 ./autogen.sh %build %configure make %{?_smp_mflags} V=1 %install make install DESTDIR=%{buildroot} find %{buildroot} -name '*.la' -exec rm -rf {} ';' find %{buildroot} -name '*.a' -exec rm -rf {} ';' %find_lang %{name} --all-name desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/mozo.desktop %check desktop-file-validate %{buildroot}%{_datadir}/applications/mozo.desktop %post /bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : %postun /sbin/ldconfig if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &> /dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &> /dev/null || : %files -f %{name}.lang %doc AUTHORS COPYING README %{_bindir}/mozo %{_datadir}/icons/hicolor/*x*/apps/mozo.png %{_datadir}/mozo %{_datadir}/applications/mozo.desktop %{python_sitelib}/Mozo %changelog * Mon Mar 18 2013 Dan Mashal 1.5.0-2 - Update as per package review * Sat Feb 23 2013 Dan Mashal 1.5.0-1 - Initial build * Sat Nov 10 2012 Dan Mashal 1.4.0-1 - Initial build