File pinta.spec of Package pinta

#
# spec file for package pinta
#
# Copyright (c) 2011 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/
#


%define		orig_version	0.6-1

Name:           pinta
Version:        0.6
Release:        1
License:        MIT/X11
Url:            http://pinta-project.com/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gtk-sharp2
BuildRequires:  glade-sharp2
BuildRequires:  update-desktop-files
BuildRequires:  mono-devel >= 2.8
BuildRequires:  hicolor-icon-theme
Source0:        %{name}-%{orig_version}.tar.bz2
#Source0:       http://cloud.github.com/downloads/jpobst/Pinta/pinta-0.6-1.tar.gz
#Dropped desktop file fixed in latest version
#Patch0:         desktop.patch
Summary:        Simple Paint Application
Group:          Productivity/Graphics/Bitmap Editors
BuildArch:      noarch

%lang_package

%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.

%prep
%setup -q

%build
%configure --prefix=%{_prefix}

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

%install
%{makeinstall}

%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 todo.txt
%{_bindir}/%{name}
%{_prefix}/lib/%{name}
%{_mandir}/man1/pinta.1.gz
%{_datadir}/pixmaps/pinta.xpm
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/applications/%{name}.desktop

%changelog