SPECS: python-gstreamer.spec - a patch moving all files into py_si...

jpc jpc at pld-linux.org
Tue Aug 30 03:14:51 CEST 2005


Author: jpc                          Date: Tue Aug 30 01:14:51 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- a patch moving all files into py_sitedir (it won't work otherwise)
- remove unneeded pth file
- use py_postclean
- STBR (the version on FTP is totally broken)

---- Files affected:
SPECS:
   python-gstreamer.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/python-gstreamer.spec
diff -u SPECS/python-gstreamer.spec:1.9 SPECS/python-gstreamer.spec:1.10
--- SPECS/python-gstreamer.spec:1.9	Sun Aug 28 22:20:12 2005
+++ SPECS/python-gstreamer.spec	Tue Aug 30 03:14:46 2005
@@ -4,12 +4,13 @@
 Summary(pl):	Wiązania języka Python do GStreamera
 Name:		python-gstreamer
 Version:	0.8.2
-Release:	1
+Release:	2
 License:	GPL
 Group:		Libraries/Python
 Source0:	http://gstreamer.freedesktop.org/src/%{pname}/%{pname}-%{version}.tar.gz
 # Source0-md5:	35a735711f43551722b0dbcfc7895f3e
 Patch0:		%{pname}-py2pyc.patch
+Patch1:		%{pname}-sitedir.patch
 URL:		http://gstreamer.freedesktop.org/modules/gst-python.html
 BuildRequires:	gstreamer-devel >= 0.8.0
 BuildRequires:	gstreamer-plugins-devel >= 0.8.0
@@ -31,6 +32,7 @@
 %prep
 %setup -q -n %{pname}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__aclocal} -I common/m4/
@@ -49,7 +51,7 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-echo "gst" > $RPM_BUILD_ROOT%{py_sitedir}/gst.pth
+%py_postclean
 
 cp -R examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
@@ -61,8 +63,7 @@
 %doc AUTHORS ChangeLog NEWS README TODO
 %dir %{py_sitedir}/gst
 %attr(755,root,root) %{py_sitedir}/gst/*.so
-%{py_sitedir}/*.pth
-%{py_sitescriptdir}/gst/*py[co]
+%{py_sitedir}/gst/*py[co]
 %{_pkgconfigdir}/*.pc
 %{_datadir}/%{pname}
 %{_examplesdir}/*
@@ -73,6 +74,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2005/08/30 01:14:46  jpc
+- a patch moving all files into py_sitedir (it won't work otherwise)
+- remove unneeded pth file
+- use py_postclean
+- STBR (the version on FTP is totally broken)
+
 Revision 1.9  2005/08/28 20:20:12  arekm
 - add pth file; import gst works now
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-gstreamer.spec?r1=1.9&r2=1.10&f=u




More information about the pld-cvs-commit mailing list