File pinta.spec of Package pinta

#
# spec file for package pinta
#
# Copyright (c) 2012 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:           pinta
Version:        1.4
Release:        0
Summary:        Simple Paint Application
License:        MIT
Group:          Productivity/Graphics/Bitmap Editors
Url:            http://pinta-project.com/
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  glade-sharp2
BuildRequires:  gtk-sharp2
BuildRequires:  intltool
BuildRequires:  mono-devel >= 2.8
BuildRequires:  mono-addins
BuildRequires:  update-desktop-files
Requires:       gnome-icon-theme
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Pinta is a drawing/editing program modeled after Paint.NET. It's goal is
to provide a simplified alternative to GIMP for casual users.

%lang_package

%prep
%setup -q

%build
%configure --prefix=%{_prefix} --libdir=%{_prefix}/lib

%__make %{?jobs:-j%jobs}

%install
%__make install DESTDIR=%{buildroot}

%find_lang %{name}

%suse_update_desktop_file -n %{name}

%clean
%{__rm} -rf '%{buildroot}'

%files -f %{name}.lang
%defattr(-, root, root)
%doc license-mit.txt license-pdn.txt readme.md
%{_bindir}/%{name}
%{_prefix}/lib/%{name}
%{_mandir}/man1/pinta.1.gz
%{_datadir}/pixmaps/pinta.xpm
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/applications/%{name}.desktop

%changelog