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

qboosh qboosh at pld-linux.org
Fri May 25 23:43:19 CEST 2007


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

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

---- Diffs:

================================================================
Index: SPECS/python-galago.spec
diff -u SPECS/python-galago.spec:1.2 SPECS/python-galago.spec:1.3
--- SPECS/python-galago.spec:1.2	Wed May 23 12:48:04 2007
+++ SPECS/python-galago.spec	Fri May 25 23:43:14 2007
@@ -8,7 +8,10 @@
 Group:		Libraries/Python
 Source0:	http://galago-project.org/files/releases/source/galago-python/galago-python-%{version}.tar.bz2
 # Source0-md5:	27be31fcf2886aa21823caec15dc34aa
+BuildRequires:	libgalago-devel >= 0.5.0
 BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	python-pygtk-devel >= 2:2.4.0
+BuildRequires:	pkgconfig
 BuildRequires:	rpm-pythonprov
 Requires:	libgalago
 %pyrequires_eq	python-libs
@@ -24,21 +27,19 @@
 %setup -q -n galago-python-%{version}
 
 %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
 
+%py_postclean
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -46,10 +47,10 @@
 %defattr(644,root,root,755)
 %doc ChangeLog README
 %dir %{py_sitedir}/gtk-2.0/galago
-%{py_sitedir}/gtk-2.0/galago/*.py*
+%{py_sitedir}/gtk-2.0/galago/*.py[co]
 %attr(755,root,root) %{py_sitedir}/gtk-2.0/galago/*.so
 %{_datadir}/pygtk/*/defs/galago.defs
-%{_pkgconfigdir}/*
+%{_pkgconfigdir}/galago-python.pc
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -57,9 +58,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/05/25 21:43:14  qboosh
+- more deps, cleanup
+
 Revision 1.2  2007/05/23 10:48:04  patrys
 - no gtk req
 
 Revision 1.1  2007/05/23 10:46:02  patrys
 - initial PLD release
-
================================================================

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



More information about the pld-cvs-commit mailing list