SPECS: gammu.spec - as of 1.22.91, python-gammu is part of of Gammu tarball...

hawk hawk at pld-linux.org
Mon Mar 16 00:48:33 CET 2009


Author: hawk                         Date: Sun Mar 15 23:48:33 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- as of 1.22.91, python-gammu is part of of Gammu tarball (may some
  python guru review this commit and fix/update if necessary?)

---- Files affected:
SPECS:
   gammu.spec (1.75 -> 1.76) 

---- Diffs:

================================================================
Index: SPECS/gammu.spec
diff -u SPECS/gammu.spec:1.75 SPECS/gammu.spec:1.76
--- SPECS/gammu.spec:1.75	Sat Mar 14 22:07:20 2009
+++ SPECS/gammu.spec	Mon Mar 16 00:48:28 2009
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Zestaw narzędzi do telefonów komórkowych
 Name:		gammu
 Version:	1.23.1
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL v2
 Group:		Applications/Communications
@@ -17,7 +17,9 @@
 BuildRequires:	gettext-devel
 BuildRequires:	mysql-devel
 BuildRequires:	postgresql-devel
+BuildRequires:	python-devel >= 1:2.5
 BuildRequires:	rpmbuild(macros) >= 1.293
+BuildRequires:	rpm-pythonprov
 Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 Provides:	mygnokii2
 Obsoletes:	mygnokii2
@@ -66,6 +68,19 @@
 %description devel -l pl.UTF-8
 Pliki nagłówkowe zestawu narzędzi dla telefonów komórkowych Gammu.
 
+%package -n python-gammu
+Summary:	Python bingings for Gammu library
+Summary(pl.UTF-8):	Wiązania języka Python dla biblioteki Gammu
+Group:		Development/Languages/Python
+%pyrequires_eq	python-modules
+%requires_eq	gammu-libs
+
+%description -n python-gammu
+Python bingings for Gammu library.
+
+%description -l pl.UTF-8 -n python-gammu
+Wiązania języka Python dla biblioteki Gammu.
+
 %package static
 Summary:	Gammu static library
 Summary(pl.UTF-8):	Biblioteka statyczna Gammu
@@ -162,6 +177,12 @@
 %{_pkgconfigdir}/gammu.pc
 %{_pkgconfigdir}/gammu-smsd.pc
 
+%files -n python-gammu
+%defattr(644,root,root,755)
+%dir %{py_sitedir}/gammu
+%attr(755,root,root) %{py_sitedir}/gammu/*.so
+%{py_sitedir}/gammu/*.py
+
 %files static
 %defattr(755,root,root,755)
 %{_libdir}/libgsmsd.a
@@ -173,6 +194,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.76  2009/03/15 23:48:28  hawk
+- as of 1.22.91, python-gammu is part of of Gammu tarball (may some
+  python guru review this commit and fix/update if necessary?)
+
 Revision 1.75  2009/03/14 21:07:20  duddits
 - up to 1.23.1
 - some tune-ups in %build (fixing paths mostly)
================================================================

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



More information about the pld-cvs-commit mailing list