From 83d67a024d5d7d4f2781565b619726fef9e3a65b Mon Sep 17 00:00:00 2001 From: Davide Madrisan Date: Sat, 6 Jan 2024 11:21:37 +0100 Subject: [PATCH] package created using the webbuild interface [release 4.0.6-1mamba;Sat Jan 23 2016] --- README.md | 4 ++++ python-jupyter_core.spec | 48 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 python-jupyter_core.spec diff --git a/README.md b/README.md index 6b8141f..3161ccf 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/python-jupyter_core.spec b/python-jupyter_core.spec new file mode 100644 index 0000000..734afa0 --- /dev/null +++ b/python-jupyter_core.spec @@ -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 +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 4.0.6-1mamba +- package created using the webbuild interface