]> git.pld-linux.org Git - packages/gammu.git/commitdiff
- as of 1.22.91, python-gammu is part of of Gammu tarball (may some auto/th/gammu-1_23_1-2 auto/ti/gammu-1_23_1-2
authorhawk <hawk@pld-linux.org>
Sun, 15 Mar 2009 23:48:28 +0000 (23:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  python guru review this commit and fix/update if necessary?)

Changed files:
    gammu.spec -> 1.76

gammu.spec

index b758f3a69cef3f3f26ce965a2b7cdbf05cc1beff..7d811597feaaf328eb9c5fffd7b5ecf7844c3dd9 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Tool suite for mobile phones
 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
@@ -16,7 +16,9 @@ BuildRequires:        curl-devel
 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
@@ -65,6 +67,19 @@ Header files for Gammu tool suite for mobile phones.
 %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
@@ -161,6 +176,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_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
This page took 0.070913 seconds and 4 git commands to generate.