package created using the webbuild interface [release 4.0.6-1mamba;Sat Jan 23 2016]

This commit is contained in:
Davide Madrisan 2024-01-06 11:21:37 +01:00
parent c92800bc3c
commit 83d67a024d
2 changed files with 52 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# python-jupyter_core
Core common functionality of Jupyter projects.
This package contains base application classes and configuration inherited by other projects.
It doesn't do much on its own.

48
python-jupyter_core.spec Normal file
View File

@ -0,0 +1,48 @@
%global srcname jupyter_core
Name: python-%{srcname}
Version: 4.0.6
Release: 1mamba
Summary: Core common functionality of Jupyter projects
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
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
* Sat Jan 23 2016 Davide Madrisan <davide.madrisan@gmail.com> 4.0.6-1mamba
- package created using the webbuild interface