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

Name:           pinta
Version:        1.4
Release:        0
Summary:        Simple Paint Application
License:        MIT
Group:          Productivity/Graphics/Bitmap Editors
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

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


%setup -q

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

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

%__make install DESTDIR=%{buildroot}

%find_lang %{name}

%suse_update_desktop_file -n %{name}

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

%files -f %{name}.lang
%defattr(-, root, root)
%doc license-mit.txt license-pdn.txt