SPECS: mythtv.spec - python-MythTV package added - some cleanup in %install

jajcus jajcus at pld-linux.org
Fri Feb 27 18:41:17 CET 2009


Author: jajcus                       Date: Fri Feb 27 17:41:17 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- python-MythTV package added
- some cleanup in %install

---- Files affected:
SPECS:
   mythtv.spec (1.76 -> 1.77) 

---- Diffs:

================================================================
Index: SPECS/mythtv.spec
diff -u SPECS/mythtv.spec:1.76 SPECS/mythtv.spec:1.77
--- SPECS/mythtv.spec:1.76	Wed Feb 25 15:34:04 2009
+++ SPECS/mythtv.spec	Fri Feb 27 18:41:11 2009
@@ -5,6 +5,7 @@
 # - icons for desktop entries
 # - alpha, sparc, ppc arches?
 # - make it build with ffmpeg-devel installed
+# - perl bindings
 #
 # Specfile for MythTV
 #
@@ -268,6 +269,18 @@
 %description -n libmyth-static -l pl.UTF-8
 Statyczna biblioteka libmyth.
 
+%package -n python-MythTV
+Summary:	MythTV Python bindings
+Summary(pl.UTF-8):	Interfejs Pythona dla MythTV	
+Group:		Libraries/Python
+Requires:	libmyth = %{version}-%{release}
+
+%description -n python-MythTV
+This package contains the Python modules for developing add-ons for mythtv.
+
+%description -n python-MythTV -l pl.UTF-8
+Ten pakiet zawiera moduły Pythona do tworzenia dodatków dla mythtv.
+
 %prep
 %setup -q %{?_rev:-n %{name}}
 %if %{_lib} != "lib"
@@ -431,6 +444,9 @@
 cp -a programs/mythwelcome/README mythwelcome
 cp -a programs/mythlcdserver/README mythlcdserver
 
+rm $RPM_BUILD_ROOT%{_libdir}/lib*.so.[0-9]{,.[0-9][0-9]}
+%py_postclean
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -529,12 +545,21 @@
 %files -n libmyth-static
 %defattr(644,root,root,755)
 
+%files -n python-MythTV
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/MythTV
+%{py_sitescriptdir}/*.egg-info
+
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.77  2009/02/27 17:41:11  jajcus
+- python-MythTV package added
+- some cleanup in %install
+
 Revision 1.76  2009/02/25 14:34:04  jajcus
 - patch9 (-ffmpeg-API) disabled, as that are just some random changes from the
   devel branch (including e.g. Qt4 compatibility), incompatible with this
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mythtv.spec?r1=1.76&r2=1.77&f=u



More information about the pld-cvs-commit mailing list