Juan Orti Alcaine 50220f
%global _description\
Juan Orti Alcaine 50220f
Nyx is a command-line monitor for Tor. With this you can get detailed\
Juan Orti Alcaine 50220f
real-time information about your relay such as bandwidth usage,\
Juan Orti Alcaine 50220f
connections, logs, and much more.
3e4732
3e4732
Name:           nyx
Juan Orti Alcaine 50220f
Version:        2.0.4
6c21ae
Release:        8%{?dist}
Juan Orti Alcaine 50220f
Summary:        Command-line monitor for Tor
3e4732
License:        GPLv3
Juan Orti Alcaine 50220f
URL:            https://nyx.torproject.org
Juan Orti Alcaine 50220f
Source0:        https://files.pythonhosted.org/packages/source/n/%{name}/%{name}-%{version}.tar.gz
3e4732
BuildArch:      noarch
3e4732
BuildRequires:  python3-devel
Juan Orti Alcaine 50220f
# Tests disabled
Juan Orti Alcaine 50220f
#BuildRequires:  python3-stem
Juan Orti Alcaine 50220f
#BuildRequires:  python3-pytest-flakes
Juan Orti Alcaine 50220f
#BuildRequires:  python3-pytest-pep8
3e4732
Requires:       python3-stem
3e4732
Suggests:       %{name}-doc = %{version}-%{release}
Juan Orti Alcaine 50220f
Provides:       tor-arm = %{version}-%{release}
Juan Orti Alcaine 50220f
Obsoletes:      tor-arm <= 1.4.5.0-17
9d7b37
Obsoletes:      tor-arm-gui <= 1.4.5.0-17
9d7b37
Obsoletes:      tor-arm-devel <= 1.4.5.0-17
3e4732
Juan Orti Alcaine 50220f
%description %_description
3e4732
3e4732
%package doc
Juan Orti Alcaine 50220f
Summary:        %summary
3e4732
Juan Orti Alcaine 50220f
%description doc %_description
3e4732
3e4732
%prep
Juan Orti Alcaine 50220f
%autosetup
3e4732
3e4732
%build
3e4732
%py3_build
3e4732
3e4732
%install
3e4732
%py3_install
Juan Orti Alcaine 50220f
install -D -m 0644 nyx.1 %{buildroot}%{_mandir}/man1/nyx.1
Juan Orti Alcaine 50220f
Juan Orti Alcaine 50220f
%check
Juan Orti Alcaine 50220f
# Tests disabled
Juan Orti Alcaine 50220f
#%%{__python3} run_tests.py
3e4732
3e4732
%files
3e4732
%license LICENSE
3e4732
%{_bindir}/%{name}
3e4732
%{python3_sitelib}/%{name}
3e4732
%{python3_sitelib}/%{name}-%{version}*-py*.egg-info
3e4732
3e4732
%files doc
Juan Orti Alcaine 50220f
%license LICENSE
Juan Orti Alcaine 50220f
%doc web
3e4732
%{_mandir}/man1/nyx.1*
3e4732
3e4732
%changelog
6c21ae
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.4-8
6c21ae
- Rebuilt for Python 3.8
6c21ae
703e7d
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-7
703e7d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
703e7d
22f034
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-6
22f034
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
22f034
623d6f
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-5
623d6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
623d6f
2a828c
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.4-4
2a828c
- Rebuilt for Python 3.7
2a828c
b9af56
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-3
b9af56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b9af56
9d7b37
* Fri Nov 10 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.0.4-2
9d7b37
- Add Obsoletes for all tor-arm subpackages
9d7b37
Juan Orti Alcaine 50220f
* Wed Nov 08 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 2.0.4-1
Juan Orti Alcaine 50220f
- Version 2.0.4
Juan Orti Alcaine 50220f
3e4732
* Wed Jul 12 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 1.4.6-2.20170712git08eec6f
3e4732
- Use Python3
3e4732
- Doc subpackage
3e4732
3e4732
* Wed Jul 12 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 1.4.6-1.20170712git08eec6f
3e4732
- First release of nyx