You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
3.0 KiB
101 lines
3.0 KiB
## START: Set by rpmautospec
|
|
## (rpmautospec version 0.6.5)
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
release_number = 4;
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
print(release_number + base_release_number - 1);
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
## END: Set by rpmautospec
|
|
|
|
Name: python-jupyter-server-terminals
|
|
Version: 0.5.3
|
|
Release: %autorelease
|
|
Summary: A Jupyter Server Extension Providing Terminals
|
|
License: BSD-3-Clause
|
|
URL: https://jupyter.org
|
|
Source: %{pypi_source jupyter_server_terminals}
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-pytest
|
|
|
|
%global _description %{expand:
|
|
Jupyter Server Terminals is a Jupyter Server Extension
|
|
providing support for terminals.}
|
|
|
|
|
|
%description %_description
|
|
|
|
%package -n python3-jupyter-server-terminals
|
|
Summary: %{summary}
|
|
|
|
Requires: python-jupyter-filesystem
|
|
|
|
%description -n python3-jupyter-server-terminals %_description
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 -n jupyter_server_terminals-%{version}
|
|
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires
|
|
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
|
|
%install
|
|
%pyproject_install
|
|
%pyproject_save_files jupyter_server_terminals
|
|
|
|
install -m 0755 -p -d %{buildroot}%{_sysconfdir}/jupyter/jupyter_server_config.d
|
|
mv -v %{buildroot}{%{_prefix},}%{_sysconfdir}/jupyter/jupyter_server_config.d/jupyter_server_terminals.json
|
|
|
|
%check
|
|
# The dependency on jupyter-server creates a dependency loop
|
|
# we cannot break yet.
|
|
# %%pytest
|
|
|
|
|
|
%files -n python3-jupyter-server-terminals -f %{pyproject_files}
|
|
%doc README.md
|
|
%config(noreplace) %{_sysconfdir}/jupyter/jupyter_server_config.d/jupyter_server_terminals.json
|
|
|
|
|
|
%changelog
|
|
* Sun Jan 05 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.5.3-4
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
## START: Generated by rpmautospec
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.5.3-3
|
|
- Rebuilt for Python 3.13
|
|
|
|
* Mon Apr 15 2024 Lumír Balhar <lbalhar@redhat.com> - 0.5.3-1
|
|
- Update to 0.5.3
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Thu Jun 22 2023 Python Maint <python-maint@redhat.com> - 0.4.2-3
|
|
- Rebuilt for Python 3.12
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Mon Nov 21 2022 Lumír Balhar <lbalhar@redhat.com> - 0.4.2-1
|
|
- Initial package
|
|
|
|
## END: Generated by rpmautospec
|