pygaze/pygaze.spec

47 lines
1.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: pygaze
Version: 20170912git
Release: 1mamba
Summary: An open-source toolbox for eye tracking
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/esdalmaijer/PyGaze
## GITSOURCE https://github.com/esdalmaijer/PyGaze.git master
Source: https://github.com/esdalmaijer/PyGaze.git/master/PyGaze-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n PyGaze-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%changelog
* Tue Sep 12 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 20170912git-1mamba
- package created using the webbuild interface