rpms/nxt_python/F-8 import.log, NONE, 1.1 nxt_python-0.7-linux.patch, NONE, 1.1 nxt_python.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
John McLean (mcleanj)
fedora-extras-commits at redhat.com
Fri Aug 8 14:03:21 UTC 2008
Author: mcleanj
Update of /cvs/pkgs/rpms/nxt_python/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16429/F-8
Modified Files:
.cvsignore sources
Added Files:
import.log nxt_python-0.7-linux.patch nxt_python.spec
Log Message:
initial commit
--- NEW FILE import.log ---
nxt_python-0_7-3_fc9:F-8:nxt_python-0.7-3.fc9.src.rpm:1218204073
nxt_python-0.7-linux.patch:
--- NEW FILE nxt_python-0.7-linux.patch ---
diff -uNr nxt_python-0.7-old/70-lego.rules nxt_python-0.7/70-lego.rules
--- nxt_python-0.7-old/70-lego.rules 1969-12-31 19:00:00.000000000 -0500
+++ nxt_python-0.7/70-lego.rules 2008-08-07 10:43:33.000000000 -0400
@@ -0,0 +1 @@
+BUS=="usb", SYSFS{idVendor}=="0694", GROUP="lego", MODE="0660"
diff -uNr nxt_python-0.7-old/setup.py nxt_python-0.7/setup.py
--- nxt_python-0.7-old/setup.py 2007-05-29 21:00:55.000000000 -0400
+++ nxt_python-0.7/setup.py 2008-08-07 10:43:39.000000000 -0400
@@ -3,11 +3,14 @@
from distutils.core import setup
setup(
- name='NXT_Master',
+ name='nxt_python',
version='0.7',
author='Douglas Lau',
author_email='dplau at comcast.net',
description='LEGO Mindstorms NXT Control Package',
+ url = 'http://home.comcast.net/~dplau/nxt_python/',
+ data_files=[ ('/etc/udev/rules.d/', [ '70-lego.rules' ] ) ],
packages=['nxt'],
+ package_data = { 'nxt' : [ 'bluesock.py', 'compass.py', 'error.py', 'locator.py', 'sensor.py', 'telegram.py', 'brick.py', 'direct.py', 'motor.py', 'system.py', 'usbsock.py' ] },
scripts=['scripts/nxt_push', 'scripts/nxt_test', 'scripts/nxt_filer']
)
--- NEW FILE nxt_python.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: nxt_python
Version: 0.7
Release: 3%{?dist}
Summary: Nxt_python is a package for controlling a LEGO NXT robot using python
Group: Applications/Engineering
License: GPLv2+
URL: http://home.comcast.net/~dplau/nxt_python/
Source0: http://home.comcast.net/~dplau/nxt_python/download/%{name}-%{version}.tar.gz
Patch0: http://jesusfreak91.googlepages.com/%{name}-%{version}-linux.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
Requires: pybluez, pyusb, pygtk2
Requires(pre): shadow-utils
%description
nxt_python is a python package for controlling a LEGO NXT robot using the
python programming language. It can communicate using either USB or Bluetooth.
%prep
%setup -q
%patch0 -p1
%build
python setup.py build
%install
rm -rf %{buildroot}
python setup.py install --root=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/*
%{python_sitelib}/*
%config %{_sysconfdir}/udev/rules.d/70-lego.rules
%pre
getent group lego >/dev/null || groupadd -r lego
%changelog
* Thu Aug 07 2008 John McLean <jesusfreak91 at gmail.com> - 0.7-3
-added pygtk2 Requires
-in patch0, COPYING is no longer changed to LICENSE
-added %%name and %%version macros to SourceURL
-remove (noreplace) from %%config macro
* Wed Jul 30 2008 John McLean <jesusfreak91 at gmail.com> - 0.7-2
-removed python from BuildRequires
-changed source0
-included a patch for setup.py and the inclusion of a LICENSE
-removed %%post and %%postun
-included %%pre
*Sat Jul 05 2008 John McLean <jesusfreak91 at gmail.com> - 0.7-1
-Initial spec
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/nxt_python/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 8 Aug 2008 04:18:41 -0000 1.1
+++ .cvsignore 8 Aug 2008 14:02:51 -0000 1.2
@@ -0,0 +1 @@
+nxt_python-0.7.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/nxt_python/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 8 Aug 2008 04:18:41 -0000 1.1
+++ sources 8 Aug 2008 14:02:51 -0000 1.2
@@ -0,0 +1 @@
+bcf0983ac19c3377a73e147730318d49 nxt_python-0.7.tar.gz
More information about the fedora-extras-commits
mailing list