SPECS: python-galago-gtk.spec - more deps, cleanup

qboosh qboosh at pld-linux.org
Fri May 25 23:50:58 CEST 2007


Author: qboosh                       Date: Fri May 25 21:50:58 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- more deps, cleanup

---- Files affected:
SPECS:
   python-galago-gtk.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/python-galago-gtk.spec
diff -u SPECS/python-galago-gtk.spec:1.1 SPECS/python-galago-gtk.spec:1.2
--- SPECS/python-galago-gtk.spec:1.1	Wed May 23 13:11:14 2007
+++ SPECS/python-galago-gtk.spec	Fri May 25 23:50:53 2007
@@ -9,12 +9,14 @@
 Source0:	http://galago-project.org/files/releases/source/galago-gtk-python/galago-gtk-python-%{version}.tar.bz2
 # Source0-md5:	3eb752eaa87d986bf272cf1266528c43
 Patch0:		%{name}-codegen.patch
-BuildRequires:	libgalago-gtk-devel
+BuildRequires:	libgalago-gtk-devel >= 0.5.0
+BuildRequires:	pkgconfig
 BuildRequires:	python-devel >= 1:2.5
-BuildRequires:	python-pygtk-devel
+BuildRequires:	python-galago >= 0.5.0
+BuildRequires:	python-pygtk-devel >= 2:2.4.0
 BuildRequires:	rpm-pythonprov
-Requires:	libgalago
-Requires:	python-galago
+Requires:	libgalago-gtk >= 0.5.0
+Requires:	python-galago >= 0.5.0
 %pyrequires_eq	python-libs
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -29,19 +31,15 @@
 %patch0 -p1
 
 %build
-%{configure}
+%configure
 %{__make} \
-	PYTHON="%{__python}" \
-	PYTHONINCLUDE="%{py_incdir}" \
-	CC="%{__cc}" \
-	RPM_OPT_FLAGS="%{rpmcflags}"
+	PYTHON="%{__python}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
 	PYTHON="%{__python}" \
-	PYTHONLIBDIR="%{py_sitedir}" \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -53,7 +51,7 @@
 %dir %{py_sitedir}/gtk-2.0/galago
 %attr(755,root,root) %{py_sitedir}/gtk-2.0/galago/*.so
 %{_datadir}/pygtk/*/defs/galago-*.defs
-%{_pkgconfigdir}/*
+%{_pkgconfigdir}/galago-gtk-python.pc
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -61,6 +59,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/05/25 21:50:53  qboosh
+- more deps, cleanup
+
 Revision 1.1  2007/05/23 11:11:14  patrys
 - initial PLD release
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-galago-gtk.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list