SPECS: python-bluetooth.spec (NEW) - initial PLD release
patrys
patrys at pld-linux.org
Tue Sep 16 13:01:09 CEST 2008
Author: patrys Date: Tue Sep 16 11:01:09 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial PLD release
---- Files affected:
SPECS:
python-bluetooth.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-bluetooth.spec
diff -u /dev/null SPECS/python-bluetooth.spec:1.1
--- /dev/null Tue Sep 16 13:01:09 2008
+++ SPECS/python-bluetooth.spec Tue Sep 16 13:01:04 2008
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+%define realname PyBluez
+Summary: Python API for Bluetooth resources
+Name: python-bluetooth
+Version: 0.15
+Release: 1
+License: MIT
+Group: Libraries/Python
+Source0: http://pybluez.googlecode.com/files/%{realname}-%{version}.tar.gz
+# Source0-md5: 104ad743d4bc999796ceff4f39d1003a
+URL: http://code.google.com/p/pybluez/
+BuildRequires: bluez-libs-devel
+BuildRequires: python-devel >= 1:2.3.0
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+%pyrequires_eq python-modules
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PyBluez is an effort to create python wrappers around system Bluetooth
+resources to allow Python developers to easily and quickly create
+Bluetooth applications.
+
+%prep
+%setup -q -n %{realname}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitedir}/%{realname}-%{version}-py*.egg-info
+%dir %{py_sitedir}/bluetooth
+%{py_sitedir}/bluetooth/*.py[co]
+%attr(755,root,root) %{py_sitedir}/bluetooth/_bluetooth.so
+
+%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.1 2008/09/16 11:01:04 patrys
+- initial PLD release
+
================================================================
More information about the pld-cvs-commit
mailing list