diff --git a/README.md b/README.md index b287a84..204fd67 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pygaze +An open-source toolbox for eye tracking. + diff --git a/pygaze.spec b/pygaze.spec new file mode 100644 index 0000000..5211281 --- /dev/null +++ b/pygaze.spec @@ -0,0 +1,46 @@ +Name: pygaze +Version: 20170912git +Release: 1mamba +Summary: An open-source toolbox for eye tracking +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 20170912git-1mamba +- package created using the webbuild interface