Compare commits

...
Sign in to create a new pull request.

6 commits

Author SHA1 Message Date
Python Maint
dc88b3f59d Rebuilt for Python 3.15.0b4 ABI change 2026-07-22 10:11:31 +02:00
Fedora Release Engineering
ea7213543f Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:14:48 +00:00
Python Maint
73a5a07fa3 Rebuilt for Python 3.15 2026-06-04 12:38:47 +02:00
Jaroslav Škarvada
00cba95c12 Rebuilt for new uhd 2026-04-28 16:46:34 +02:00
Fedora Release Engineering
61b45da603 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:40:11 +00:00
Jaroslav Škarvada
580577da40 Converted to new python packaging
Resolves: rhbz#2378489
2026-01-15 14:14:24 +01:00

View file

@ -1,16 +1,12 @@
%{?python_enable_dependency_generator}
# python 2 not supported
Name: urh
Version: 2.10.0
Release: 1%{?dist}
Release: 7%{?dist}
Summary: Universal Radio Hacker: investigate wireless protocols like a boss
# Automatically converted from old format: ASL 2.0 and GPLv2 - review is highly recommended.
License: Apache-2.0 AND GPL-2.0-only
URL: https://github.com/jopohl/urh
Source0: https://github.com/jopohl/urh/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: io.github.jopohl.urh.metainfo.xml
BuildRequires: python3-setuptools
BuildRequires: python3-devel
BuildRequires: gcc-c++
BuildRequires: python3-numpy
@ -19,13 +15,12 @@ BuildRequires: airspyone_host-devel
BuildRequires: hackrf-devel
BuildRequires: rtl-sdr-devel
BuildRequires: uhd-devel
BuildRequires: python3-qt5
BuildRequires: python3-pytest
BuildRequires: python3-pyqt6
BuildRequires: xorg-x11-server-Xvfb
# Unpinning Cython raised upstream: https://github.com/jopohl/urh/issues/1087
BuildRequires: python3-cython
Requires: python3-numpy
Requires: python3-qt5
Requires: python3-pyqt6
%description
The Universal Radio Hacker is a software for investigating unknown wireless
@ -52,11 +47,15 @@ popd
sed -i 's/"cython<3.0.0"/"cython"/' setup.py
%generate_buildrequires
%pyproject_buildrequires
%build
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
%pyproject_save_files urh
# remove cpp files generated by cython
pushd %{buildroot}%{python3_sitearch}/urh/dev/native/lib
@ -84,7 +83,7 @@ install -Dpm 0644 %{SOURCE1} \
# https://github.com/jopohl/urh/issues/1149
#xvfb-run pytest -s -v tests
%files
%files -f %{pyproject_files}
%license LICENSE
%doc README.md
%{_bindir}/urh
@ -92,10 +91,27 @@ install -Dpm 0644 %{SOURCE1} \
%{_datadir}/icons/hicolor/128x128/apps/urh.png
%{_datadir}/applications/urh.desktop
%{_metainfodir}/io.github.jopohl.urh.metainfo.xml
%{python3_sitearch}/urh
%{python3_sitearch}/urh-%{version}-*.egg-info
%changelog
* Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 2.10.0-7
- Rebuilt for Python 3.15.0b4 ABI change
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 2.10.0-5
- Rebuilt for Python 3.15
* Tue Apr 28 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-4
- Rebuilt for new uhd
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Thu Jan 15 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-2
- Converted to new python packaging
Resolves: rhbz#2378489
* Sat Jan 03 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-1
- New version
Resolves: rhbz#2423176