Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 5493d47dbaa01a04aa3a3729264767df > files > 2

python-rpi-gpio-0.3.1a-2.fc18.src.rpm

%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{?filter_setup:
%filter_provides_in %{python_sitearch}.*\.so$
%filter_setup
}
Name:           python-rpi-gpio
Version:        0.3.1a
Release:        2%{?dist}
Summary:        Class to control the GPIO on a Raspberry Pi

Group:          Development/Libraries
License:        MIT
URL:            http://code.google.com/p/raspberry-gpio-python/
Source0:        http://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-0.3.1a.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  python2-devel python-setuptools


%description
Python library for GPIO access on a Raspberry Pi

%prep
%setup -q -n RPi.GPIO-%{version}

%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1  --root $RPM_BUILD_ROOT




%files
%defattr(-,root,root,-)
%doc LICENCE.txt README.txt
%{python_sitearch}/RPi*



%changelog
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1a-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Mon Jul 30 2012 Kushal Das <kushal@fedoraproject.org> 0.3.1a-1
- Intial package