python-ino/python-ino.spec

67 lines
2.0 KiB
RPMSpec

Name: python-ino
Version: 0.3.6
Release: 1mamba
Summary: A command line toolkit for working with Arduino hardware
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://inotool.org/
Source: http://pypi.python.org/packages/source/i/ino/ino-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
BuildRequires: python-setuptools
Requires: python-argparse
Requires: python-configobj
Requires: python-Jinja2
Requires: python-ordereddict
Requires: python-serial
Requires: python >= %python_version
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Ino is a command line toolkit for working with Arduino hardware.
%prep
%setup -q -n ino-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--single-version-externally-managed \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
## note: eventually add the remaining documents (if any)
# %doc README.rst
%changelog
* Thu Sep 26 2013 Automatic Build System <autodist@mambasoft.it> 0.3.6-1mamba
- automatic update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.5-2mamba
- python 2.7 mass rebuild
* Wed Feb 20 2013 Automatic Build System <autodist@mambasoft.it> 0.3.5-1mamba
- automatic version update by autodist
* Mon Oct 08 2012 Automatic Build System <autodist@mambasoft.it> 0.3.4-1mamba
- automatic version update by autodist
* Mon Mar 26 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.3-1mamba
- package created by autospec