rpms/tuxpaint/devel tuxpaint-utf8.patch, NONE, 1.1 tuxpaint.spec, 1.15, 1.16

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Tue Jan 30 22:10:09 UTC 2007


Author: steve

Update of /cvs/extras/rpms/tuxpaint/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28449

Modified Files:
	tuxpaint.spec 
Added Files:
	tuxpaint-utf8.patch 
Log Message:
Honor $RPM_OPT_FLAGS.
Fix various rpmlint warnings:
- Expand tabs in spec.
- Convert tuxpaint.1 to UTF-8.
- Get rid of DOS line endings in docs.
- Nothing in docs should be executable.


tuxpaint-utf8.patch:

--- NEW FILE tuxpaint-utf8.patch ---
--- tuxpaint-0.9.16/src/manpage/tuxpaint.1.orig	2006-10-11 13:37:04.000000000 -0500
+++ tuxpaint-0.9.16/src/manpage/tuxpaint.1	2007-01-30 13:23:42.000000000 -0600
@@ -635,12 +635,12 @@
 Juan Irigoien,
 Dmitriy Ivanov,
 Mogens Jaeger,
-Lis Gøthe í Jákupsstovu,
+Lis Gøthe í Jákupsstovu,
 Nedjeljko Jedvaj,
 Aleksandar Jelenak,
 Rasmus Erik Voel Jensen,
 Wang Jian,
-Amed Ç. Jiyan,
+Amed Ç. Jiyan,
 Petri Jooste,
 Andrej Kacian,
 Kazuhiko,


Index: tuxpaint.spec
===================================================================
RCS file: /cvs/extras/rpms/tuxpaint/devel/tuxpaint.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- tuxpaint.spec	29 Oct 2006 00:47:50 -0000	1.15
+++ tuxpaint.spec	30 Jan 2007 22:09:39 -0000	1.16
@@ -1,6 +1,6 @@
 Name:           tuxpaint
 Version:        0.9.16
-Release:        3%{?dist}
+Release:        4%{?dist}
 
 Epoch:          1
 Summary:        Drawing program designed for young children
@@ -10,6 +10,7 @@
 URL:            http://www.tuxpaint.org/
 Source0:        http://dl.sf.net/%{name}/%{name}-%{version}.tar.gz
 Source1:        %{name}.desktop
+Patch0:         tuxpaint-utf8.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  SDL-devel >= 1.2.4, SDL_image-devel, SDL_ttf-devel
@@ -27,13 +28,17 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 sed -i -e '/\/gnome\/apps\/Graphics/d' Makefile
+find docs -type f -exec perl -pi -e 's/\r\n/\n/' {} \;
+find docs -type f -perm +100 -exec chmod a-x {} \;
 
 %build
 make %{?_smp_mflags} \
     PREFIX=/usr \
-    ARCH_LINKS="$( libpng-config --libs )"
+    ARCH_LINKS="$( libpng-config --libs )" \
+    CFLAGS="$RPM_OPT_FLAGS"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -48,9 +53,9 @@
 %find_lang %{name}
 
 desktop-file-install --dir $RPM_BUILD_ROOT/%{_datadir}/applications \
-	--vendor fedora \
-	--add-category KidsGame \
-	%{SOURCE1}
+    --vendor fedora \
+    --add-category KidsGame \
+    %{SOURCE1}
 
 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
 
@@ -71,6 +76,14 @@
 %{_mandir}/*/man1/*
 
 %changelog
+* Tue Jan 30 2007 Steven Pritchard <steve at kspei.com> 1:0.9.16-4
+- Honor $RPM_OPT_FLAGS.
+- Fix various rpmlint warnings:
+  - Expand tabs in spec.
+  - Convert tuxpaint.1 to UTF-8.
+  - Get rid of DOS line endings in docs.
+  - Nothing in docs should be executable.
+
 * Fri Oct 27 2006 Steven Pritchard <steve at kspei.com> 1:0.9.16-3
 - Fix category in tuxpaint.desktop.
 




More information about the scm-commits mailing list