Summary: The MATE menu editor Name: mozo Version: 1.8.0 Release: 1%{?_dist_release} Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz License: GPLv2 Group: User Interface/Desktops URL: http://mate-desktop.org/ BuildRequires: mate-common BuildRequires: mate-doc-utils BuildRequires: mate-menus-devel BuildRequires: pygtk2-devel >= 2.15.1 BuildRequires: pygobject-devel >= 2.13.0 BuildRequires: gtk-doc BuildRequires: autoconf BuildRequires: automake Requires: pygtk2 Requires: pygobject Requires: mate-menus-python Requires(post,postun): desktop-file-utils Obsoletes: mate-menu-editor < 1.8.0 Provides: mate-menu-editor = %{version}-%{name} BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch Vendor: Project Vine Distribution: Vine Linux Packager: Takemikaduchi %description Mozo(mate-menu-editor) is a menu editor for MATE using the freedesktop.org menu specification. %prep %setup -q %build (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) %configure \ --disable-static %{__make} %{?_smp_mflags} %install %{__rm} -rf ${RPM_BUILD_ROOT} %{__make} install DESTDIR=${RPM_BUILD_ROOT} find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; %find_lang %{name} %clean %{__rm} -rf ${RPM_BUILD_ROOT} %post /sbin/ldconfig update-desktop-database %{_datadir}/applications >& /dev/null ||: touch --no-create %{_datadir}/icons/hicolor > /dev/null || : %postun /sbin/ldconfig if [ $1 -eq 0 ]; then touch --no-create %{_datadir}/icons/hicolor > /dev/null || : gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : update-desktop-database %{_datadir}/applications >& /dev/null ||: fi %posttrans gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING ChangeLog NEWS README %{_bindir}/%{name} %{python_sitelib}/Mozo %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/*/*/* %{_datadir}/%{name}/%{name}.ui %{_mandir}/man1/%{name}.1.gz %changelog * Thu Apr 17 2014 Yoji TOYODA 1.8.0-1 - new upstream release - rename package * Sun Dec 29 2013 Yoji TOYODA 1.6.0-2 - rebuild with VineSeed environment * Mon Sep 23 2013 Yoji TOYODA 1.6.0-1 - initial build