Index: mtpaint.spec
===================================================================
RCS file: /cvsroot/packages/mtpaint/mtpaint.spec,v
retrieving revision 1.6
diff -u -r1.6 mtpaint.spec
--- mtpaint.spec	13 Feb 2007 07:16:48 -0000	1.6
+++ mtpaint.spec	9 Oct 2009 20:20:10 -0000
@@ -1,13 +1,13 @@
-# $Revision: 1.6 $, $Date: 2007/02/13 07:16:48 $
+# $Revision: 1.6 $, $Date: 2007-02-13 07:16:48 $
 Summary:	A simple painting program
 Summary(pl.UTF-8):	Prosty program graficzny
 Name:		mtpaint
-Version:	2.30
+Version:	3.31
 Release:	1
 License:	GPL v2
 Group:		X11/Applications/Graphics
 Source0:	http://dl.sourceforge.net/mtpaint/%{name}-%{version}.tar.bz2
-# Source0-md5:	8582e791cf781d2f6ba85460823da247
+# Source0-md5:	fbe34eb25f96b6092403115f1f6ab387
 Source1:	%{name}.desktop
 URL:		http://mtpaint.sourceforge.net/
 BuildRequires:	gettext-devel
@@ -16,11 +16,13 @@
 BuildRequires:	libjpeg-devel
 BuildRequires:	libpng-devel
 BuildRequires:	libtiff-devel
+BuildRequires:	openjpeg-devel
 BuildRequires:	perl-tools-pod
 BuildRequires:	sed >= 4.0
 BuildRequires:	zlib-devel
 Requires:	desktop-file-utils
 Requires:	shared-mime-info
+Suggests:	gifsicle
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -41,7 +43,6 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__sed} -i "s,=\"/usr,=\"$RPM_BUILD_ROOT/usr," _conf.txt
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
@@ -60,7 +61,7 @@
 update-mime-database %{_datadir}/mime ||:
 
 %postun
-%update-desktop-database-postun
+%update_desktop_database_postun
 if [ $1 = 0 ]; then
         umask 022
         update-mime-database %{_datadir}/mime
@@ -71,7 +72,7 @@
 %defattr(644,root,root,755)
 %doc NEWS README
 %attr(755,root,root) %{_bindir}/*
-%{_mandir}/*/*
+%{_mandir}/*
 %{_desktopdir}/*.desktop
 %{_pixmapsdir}/*
 
