Blame python-magic-wormhole-transit-relay.spec

2b1321a
%global pypi_name magic-wormhole-transit-relay
2b1321a
2b1321a
%global common_description %{expand:
2b1321a
This package contains the Magic-Wormhole "Transit Relay", a server that
2b1321a
helps clients establish bulk-data transit connections even when both are
2b1321a
behind NAT boxes. Each side makes a TCP connection to this server and
2b1321a
presents a handshake. Two connections with identical handshakes are
2b1321a
glued together, allowing them to pretend they have a direct connection.
2b1321a
2b1321a
This server used to be included in the magic-wormhole repository, but
2b1321a
was split out into a separate repo to aid deployment and development.}
2b1321a
2b1321a
Name:           python-%{pypi_name}
2b1321a
Summary:        Transit Relay server for Magic-Wormhole
0383cfd
Version:        0.2.1
8830d26
Release:        6%{?dist}
2b1321a
License:        MIT
2b1321a
2b1321a
URL:            https://github.com/warner/magic-wormhole-transit-relay
2b1321a
Source0:        %{pypi_source}
2b1321a
2b1321a
BuildArch:      noarch
2b1321a
2b1321a
BuildRequires:  python3-devel
2b1321a
BuildRequires:  python3dist(setuptools)
2b1321a
2b1321a
# dependencies for running the tests
2b1321a
BuildRequires:  python3dist(mock)
5a5dc70
BuildRequires:  python3dist(twisted) >= 17.5
2b1321a
2b1321a
%description %{common_description}
2b1321a
2b1321a
2b1321a
%package -n     python3-%{pypi_name}
2b1321a
Summary:        %{summary}
2b1321a
%{?python_provide:%python_provide python3-%{pypi_name}}
2b1321a
2b1321a
%description -n python3-%{pypi_name} %{common_description}
2b1321a
2b1321a
2b1321a
%prep
2b1321a
%autosetup -n %{pypi_name}-%{version}
2b1321a
2b1321a
# Remove bundled egg-info
2b1321a
rm -rf %{pypi_name}.egg-info
2b1321a
2b1321a
2b1321a
%build
2b1321a
%py3_build
2b1321a
2b1321a
2b1321a
%install
2b1321a
%py3_install
2b1321a
2b1321a
2b1321a
%check
2b1321a
%{__python3} setup.py test
2b1321a
2b1321a
2b1321a
%files -n python3-%{pypi_name}
2b1321a
%license LICENSE
2b1321a
%doc README.md
2b1321a
2b1321a
%{python3_sitelib}/twisted/plugins/*
2b1321a
%{python3_sitelib}/wormhole_transit_relay/
9c1d948
%{python3_sitelib}/magic_wormhole_transit_relay-%{version}-py%{python3_version}.egg-info
2b1321a
2b1321a
2b1321a
%changelog
8830d26
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-6
8830d26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
8830d26
3ecf163
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.1-5
3ecf163
- Rebuilt for Python 3.10
3ecf163
abc4543
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-4
abc4543
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
abc4543
9c0aa22
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
9c0aa22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9c0aa22
1b061f2
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-2
1b061f2
- Rebuilt for Python 3.9
1b061f2
0383cfd
* Sun Apr 05 2020 Fabio Valentini <decathorpe@gmail.com> - 0.2.1-1
0383cfd
- Update to version 0.2.1.
0383cfd
c511b54
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-6
c511b54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c511b54
1d506ea
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-5
1d506ea
- Rebuilt for Python 3.8.0rc1 (#1748018)
1d506ea
4a7df07
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-4
4a7df07
- Rebuilt for Python 3.8
4a7df07
06ab2be
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-3
06ab2be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
06ab2be
50fe664
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2
50fe664
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
50fe664
2b1321a
* Wed Nov 21 2018 Fabio Valentini <decathorpe@gmail.com> - 0.1.2-1
2b1321a
- Initial package.
2b1321a