75 lines
2.2 KiB
RPMSpec
75 lines
2.2 KiB
RPMSpec
Name: python-ino
|
|
Version: 0.3.6
|
|
Release: 2mamba
|
|
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: https://inotool.org/
|
|
Source: https://pypi.debian.net/ino/ino-%{version}.tar.gz
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython3-devel
|
|
BuildRequires: python-Jinja2-py3
|
|
BuildRequires: python-argparse-py3
|
|
BuildRequires: python-configobj-py3
|
|
BuildRequires: python-ordereddict-py3
|
|
BuildRequires: python-serial-py3
|
|
## AUTOBUILDREQ-END
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Ino is a command line toolkit for working with Arduino hardware.
|
|
|
|
%if "%{?with_pyver}"
|
|
%pyver_package
|
|
%endif
|
|
|
|
%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
|
|
sed -i "\,__pycache__/,d" %{name}.filelist
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
%dir %{python_sitearch}/ino/__pycache__
|
|
%{python_sitearch}/ino/__pycache__/*
|
|
%dir %{python_sitearch}/ino/commands/__pycache__
|
|
%{python_sitearch}/ino/commands/__pycache__/*
|
|
%dir %{python_sitearch}/ino-%{version}-py*.egg-info
|
|
%{python_sitearch}/ino-%{version}-py*.egg-info/*
|
|
|
|
%changelog
|
|
* Sat Apr 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.6-2mamba
|
|
- rebuilt with distdeps
|
|
|
|
* 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
|