packages: swftools/swftools.spec - Update 0.9.0. Try to build python module...

matkor matkor at pld-linux.org
Fri Sep 18 15:21:38 CEST 2009


Author: matkor                       Date: Fri Sep 18 13:21:38 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Update 0.9.0. Try to build python module too.

---- Files affected:
packages/swftools:
   swftools.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: packages/swftools/swftools.spec
diff -u packages/swftools/swftools.spec:1.12 packages/swftools/swftools.spec:1.13
--- packages/swftools/swftools.spec:1.12	Wed Nov 14 10:43:14 2007
+++ packages/swftools/swftools.spec	Fri Sep 18 15:21:32 2009
@@ -2,13 +2,13 @@
 Summary:	Utilities for SWF files manipulation
 Summary(pl.UTF-8):	Narzędzia do manipulacji na plikach SWF
 Name:		swftools
-Version:	0.8.1
+Version:	0.9.0
 Release:	0.1
 License:	GPL
 Group:		Applications/Graphics
 Source0:	http://www.swftools.org/%{name}-%{version}.tar.gz
-# Source0-md5:	932f4e5fce551ed70c0390fdc0eb1af6
-Patch0:		%{name}-missing-m4.patch
+# Source0-md5:	946e7c692301a332745d29140bc74e55
+# Patch0:		%{name}-missing-m4.patch
 URL:		http://www.swftools.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -18,8 +18,10 @@
 BuildRequires:	libjpeg-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
+BuildRequires:	python-PIL-devel
 BuildRequires:	t1lib-devel >= 5.0.1
 BuildRequires:	zlib-devel
+
 Requires:	fonts-Type1-urw
 Requires:	t1lib >= 5.0.1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,7 +48,7 @@
 
 %prep
 %setup -q
-%patch0 -p1
+# %%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -54,6 +56,11 @@
 %{__autoconf}
 %configure \
 	--disable-static
+
+python ./setup.py install \
+	--optimize 2 \
+	--root=$RPM_BUILD_ROOT
+
 %{__make}
 
 %install
@@ -78,7 +85,9 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog FAQ TODO
+%doc AUTHORS ChangeLog FAQ 
+
+%attr(755,root,root) %{_bindir}/as3compile
 %attr(755,root,root) %{_bindir}/font2swf
 %attr(755,root,root) %{_bindir}/gif2swf
 %attr(755,root,root) %{_bindir}/jpeg2swf
@@ -89,8 +98,12 @@
 %attr(755,root,root) %{_bindir}/swfcombine
 %attr(755,root,root) %{_bindir}/swfdump
 %attr(755,root,root) %{_bindir}/swfextract
+%attr(755,root,root) %{_bindir}/swfrender
 %attr(755,root,root) %{_bindir}/swfstrings
 %attr(755,root,root) %{_bindir}/wav2swf
+
+
+%{_mandir}/man1/as3compile.1*
 %{_mandir}/man1/font2swf.1*
 %{_mandir}/man1/gif2swf.1*
 %{_mandir}/man1/jpeg2swf.1*
@@ -101,6 +114,7 @@
 %{_mandir}/man1/swfcombine.1*
 %{_mandir}/man1/swfdump.1*
 %{_mandir}/man1/swfextract.1*
+%{_mandir}/man1/swfrender.1*
 %{_mandir}/man1/swfstrings.1*
 %{_mandir}/man1/wav2swf.1*
 %{_datadir}/%{name}
@@ -116,6 +130,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2009/09/18 13:21:32  matkor
+- Update 0.9.0. Try to build python module too.
+
 Revision 1.12  2007/11/14 09:43:14  arekm
 s/ghostscript-fonts-std/fonts-Type1-urw/
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/swftools/swftools.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list