SPECS: python-pygoocanvas.spec - more BRs, gtkdocdir fix

qboosh qboosh at pld-linux.org
Sun Sep 2 16:38:57 CEST 2007


Author: qboosh                       Date: Sun Sep  2 14:38:57 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more BRs, gtkdocdir fix

---- Files affected:
SPECS:
   python-pygoocanvas.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/python-pygoocanvas.spec
diff -u SPECS/python-pygoocanvas.spec:1.2 SPECS/python-pygoocanvas.spec:1.3
--- SPECS/python-pygoocanvas.spec:1.2	Thu Aug 30 11:25:13 2007
+++ SPECS/python-pygoocanvas.spec	Sun Sep  2 16:38:52 2007
@@ -1,19 +1,25 @@
 # $Revision$, $Date$
-#
 Summary:	Python bindings for GooCanvas
 Summary(pl.UTF-8):	Wiązania języka Python do biblioteki GooCanvas
 Name:		python-pygoocanvas
 Version:	0.9.0
 Release:	1
-License:	GPLv2
+License:	LGPL v2
 Group:		Libraries/Python
 Source0:	http://download.berlios.de/pygoocanvas/pygoocanvas-%{version}.tar.gz
 # Source0-md5:	1988b7572d553d954ffd159e7e61cb17
 Patch0:		%{name}-pyc.patch
 URL:		http://developer.berlios.de/projects/pygoocanvas/
-BuildRequires:	goocanvas-devel
-BuildRequires:	python-devel
-BuildRequires:	python-pygobject-apidocs
+BuildRequires:	autoconf >= 2.52
+BuildRequires:	automake >= 1:1.7
+BuildRequires:	goocanvas-devel >= 0.9
+BuildRequires:	gtk-doc >= 1.4
+BuildRequires:	libtool
+BuildRequires:	libxslt-progs
+BuildRequires:	python-devel >= 2.2
+BuildRequires:	python-pycairo-devel >= 1.2.0
+BuildRequires:	python-pygobject-devel >= 2.11.3
+BuildRequires:	python-pygtk-devel >= 2:2.10.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -44,60 +50,27 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	--with-html-dir=%{_gtkdocdir}
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT \
-	HTMLDIR='%{_gtkdocdir}/%{name}'
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS
 %attr(755,root,root) %{py_sitedir}/goocanvasmodule.so
 
 %files apidocs
 %defattr(644,root,root,755)
-%dir %{_datadir}/gtk-doc/html/pygoocanvas
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-ellipse-model.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-ellipse.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-group-model.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-group.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-image-model.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-image.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-item-model-simple.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-item-model.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-item-simple.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-item.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-misc.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-path-model.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-path.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-polyline-model.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-polyline.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-rect-model.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-rect.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-style.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-table-model.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-table.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-text-model.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-text.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas-widget.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-canvas.html
-%{_datadir}/gtk-doc/html/pygoocanvas/class-hierarchy.html
-%{_datadir}/gtk-doc/html/pygoocanvas/index.html
-%{_datadir}/gtk-doc/html/pygoocanvas/index.sgml
-%{_datadir}/gtk-doc/html/pygoocanvas/pygoocanvas-core-classes.html
-%{_datadir}/gtk-doc/html/pygoocanvas/pygoocanvas-misc-items.html
-%{_datadir}/gtk-doc/html/pygoocanvas/pygoocanvas-model-items.html
-%{_datadir}/gtk-doc/html/pygoocanvas/pygoocanvas-std-items.html
-%{_datadir}/gtk-doc/html/pygoocanvas/pygoocanvas.devhelp
-%{_datadir}/gtk-doc/html/pygoocanvas/style.css
-
+%{_gtkdocdir}/pygoocanvas
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -105,10 +78,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/09/02 14:38:52  qboosh
+- more BRs, gtkdocdir fix
+
 Revision 1.2  2007/08/30 09:25:13  beorn
 - Group fix
 - pl
 
 Revision 1.1  2007/08/30 05:17:44  aredridel
 - added
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-pygoocanvas.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list