Author: evil                         Date: Mon Oct 12 21:18:45 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 3.31
- license changed to GPL v3+
- BR: openjpeg-devel
- S: gifsicle
- added proper man directory
- removed no longer needed sed rule
- fixed typos

---- Files affected:
packages/mtpaint:
   mtpaint.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/mtpaint/mtpaint.spec
diff -u packages/mtpaint/mtpaint.spec:1.6 packages/mtpaint/mtpaint.spec:1.7
--- packages/mtpaint/mtpaint.spec:1.6   Tue Feb 13 08:16:48 2007
+++ packages/mtpaint/mtpaint.spec       Mon Oct 12 23:18:40 2009
@@ -2,12 +2,12 @@
 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
+License:       GPL v3+
 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
@@ -33,7 +35,8 @@
 %setup -q
 
 %build
-%configure man pod intl
+%configure man pod intl jp2 \
+       --mandir=%{_mandir}/man1
 echo 'LDFLAG += %{rpmldflags}' >> _conf.txt
 echo 'CFLAG  += %{rpmcflags}'  >> _conf.txt
 %{__make}
@@ -41,7 +44,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 +62,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
@@ -81,6 +83,15 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2009/10/12 21:18:40  evil
+- updated to 3.31
+- license changed to GPL v3+
+- BR: openjpeg-devel
+- S: gifsicle
+- added proper man directory
+- removed no longer needed sed rule
+- fixed typos
+
 Revision 1.6  2007/02/13 07:16:48  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mtpaint/mtpaint.spec?r1=1.6&r2=1.7&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to