SPECS: python-pybluez.spec (NEW) - init

wolvverine wolvverine at pld-linux.org
Thu Jun 28 21:50:39 CEST 2007


Author: wolvverine                   Date: Thu Jun 28 19:50:39 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init

---- Files affected:
SPECS:
   python-pybluez.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-pybluez.spec
diff -u /dev/null SPECS/python-pybluez.spec:1.1
--- /dev/null	Thu Jun 28 21:50:39 2007
+++ SPECS/python-pybluez.spec	Thu Jun 28 21:50:34 2007
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+%define realname pybluez
+Summary:	Python modules for wrappers around system Bluetooth resources.
+Summary(pl.UTF-8):	Moduły Pythona do obsługi urządzeń Bluetooth.
+Name:		python-%{realname}
+Version:	0.9.2
+Release:	0.1
+License:	GPL
+Group:		Libraries/Python
+Source0:	http://org.csail.mit.edu/pybluez/release/%{realname}-src-%{version}.tar.gz
+# Source0-md5:	49c8bdd5d8def11df40ce3a84b7ab839
+Url:		http://org.csail.mit.edu/pybluez/
+BuildRequires:	python-devel
+Requires:	bluez
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The pybluez contains Python modules for wrappers around system Bluetooth resources.
+
+%description -l pl.UTF-8
+Pakiet pybluez zawiera moduły Pythona do obsługi urządzeń Bluetooth..
+
+%prep
+%setup -q -n %{realname}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--install-purelib=%{py_sitedir}
+
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/_bluetooth.so
+%{py_sitedir}/*.py[co]
+
+%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  2007/06/28 19:50:34  wolvverine
+- init
+
================================================================


More information about the pld-cvs-commit mailing list