%define name gpaint%define version 2.0.3.3%define release %mkrel 1 Name: %{name}Summary: Simple, easy-to-use paint programVersion: %{version}Release: %{release}License: GPLv2+Source0: http://alpha.gnu.org/gnu/gpaint/%{name}-%{version}.tar.gzURL: http://www.gnu.org/software/gpaint/Group: GraphicsPatch0: gpaint-2.0.3.3-fix-drawing-fnt.patchBuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildrootBuildRequires: gtk+2.0 >= 2.8.0BuildRequires: pango >= 1.12.4BuildRequires: libglade2.0 >= 2.5.1%description GNU Paint (gpaint) is a simple, easy-to-use paint program for GNOME, the GNU Desktop. Gpaint starts as a port of xpaint and takes advantages of features unique to the GNOME environment. * Drawing tools--ovals, freehand, polygon, text, with fill or shallow for polygons and closed freehand. * Cut and paste by selecting irregular regions or polygons. * Print support using gnome-print (still flaky, will be improved upon next release) * Modern, ease-to-use user interface with tool and color palettes * Editing multiple image at the same time without runnng multiple instance of the image editor * All image processing features present in xpaint.%prep%setup -q%patch0 -p1 %build%configure2_5x %make%installrm -rf $RPM_BUILD_ROOT%makeinstall%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root root) %doc AUTHORS COPYING NEWS README THANKS%{_bindir}/gpaint-2%{_datadir}/gpaint/glade/gpaint.glade %{_datadir}/locale/am/LC_MESSAGES/gpaint-2.mo%{_datadir}/locale/ca/LC_MESSAGES/gpaint-2.mo%{_datadir}/locale/cs/LC_MESSAGES/gpaint-2.mo%{_datadir}/locale/de/LC_MESSAGES/gpaint-2.mo%{_datadir}/locale/es/LC_MESSAGES/gpaint-2.mo%{_datadir}/locale/fr/LC_MESSAGES/gpaint-2.mo%{_datadir}/locale/ga/LC_MESSAGES/gpaint-2.mo%{_datadir}/locale/ja/LC_MESSAGES/gpaint-2.mo%{_datadir}/locale/nl/LC_MESSAGES/gpaint-2.mo%{_datadir}/locale/pt/LC_MESSAGES/gpaint-2.mo%{_datadir}/locale/pt_BR/LC_MESSAGES/gpaint-2.mo%{_datadir}/locale/sv/LC_MESSAGES/gpaint-2.mo%{_datadir}/locale/uk/LC_MESSAGES/gpaint-2.mo