File mozo.spec of Package mozo
#
# spec file for mozo
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
Name: mozo
Version: 1.8.0
Release: 0
License: LGPL-2.1+
Summary: MATE Desktop menu editor
Url: http://mate-desktop.org
Group: System/GUI/Other
Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
BuildArch: noarch
Recommends: %{name}-lang
Provides: mate-menu-editor = %{version}
Obsoletes: mate-menu-editor < %{version}
Obsoletes: mate-menu-editor-lang < %{version}
Requires: python-mate-menus >= 1.8.0
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: mate-common
BuildRequires: pkgconfig(libmate-menu) >= 1.8.0
BuildRequires: pkgconfig(pygobject-2.0)
BuildRequires: update-desktop-files
%lang_package
%description
This package provides Mozo, a menu editor for the MATE Desktop, using
the freedesktop.org menu specification.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags} V=1
%install
%makeinstall
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{python_sitelib}
%suse_update_desktop_file %{name}
%post
%desktop_database_post
%icon_theme_cache_post
%postun
%desktop_database_postun
%icon_theme_cache_postun
%files
%defattr(-,root,root,-)
%doc AUTHORS README COPYING
%{_bindir}/%{name}
%{python_sitelib}/Mozo/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/%{name}/
%{_mandir}/man1/%{name}.1.gz
%files lang -f %{name}.lang
%defattr(-,root,root,-)
%changelog