%global srcname jupyter_core Name: python-%{srcname} Version: 4.2.0 Release: 1mamba Summary: Core common functionality of Jupyter projects Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: https://github.com/jupyter/jupyter_core Source: https://github.com/jupyter/jupyter_core/archive/%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel ## AUTOBUILDREQ-END Requires: python >= %python_version Requires: python-traitlets BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. This package contains base application classes and configuration inherited by other projects. It doesn't do much on its own. %prep %setup -q -n %{srcname}-%{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} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files -f %{name}.filelist %defattr(-,root,root) %changelog * Tue Oct 11 2016 Automatic Build System 4.2.0-1mamba - automatic version update by autodist * Sat Jan 23 2016 Davide Madrisan 4.0.6-1mamba - package created using the webbuild interface