Compare commits

..

20 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
Jaroslav Škarvada
4dcbf745e3 New version
Resolves: rhbz#2423176
2026-01-03 01:26:12 +01:00
Python Maint
e478593c8f Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 15:01:18 +02:00
Jaroslav Škarvada
6a64c0b076 Rebuilt for new uhd 2025-09-11 17:36:40 +02:00
Python Maint
9e0dce5342 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:21:32 +02:00
Charalampos Stratakis
6f6e07ea16 Fix build failures with Cython >= 3.1
Resolves: rhbz#2377057
2025-07-31 13:18:48 +02:00
Fedora Release Engineering
13a0dfd773 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 19:50:57 +00:00
Python Maint
b5d3ff7642 Rebuilt for Python 3.14 2025-06-03 16:09:52 +02:00
Jaroslav Škarvada
590c020ae0 Rebuilt for new uhd 2025-03-17 18:33:08 +01:00
Fedora Release Engineering
233914873f Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 13:53:08 +00:00
Jaroslav Škarvada
2c0d02bc36 Added check phase (still disabled)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2025-01-07 16:03:52 +01:00
Jaroslav Škarvada
a1f7186bd5 Updated comments
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2025-01-06 14:11:55 +01:00
Jaroslav Škarvada
ac4c18513e Relaxed numpy dependency, this will probably kill the GUI
Resolves: rhbz#2332202
2025-01-06 11:46:29 +01:00
Jaroslav Škarvada
a51f52d1cd Dropped upstreamed patch
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-11-16 20:45:36 +01:00
Jaroslav Škarvada
c75af2cfbe New version
Resolves: rhbz#2325899
2024-11-16 20:15:39 +01:00
3 changed files with 73 additions and 38 deletions

View file

@ -1 +1 @@
SHA512 (urh-2.9.6.tar.gz) = c5a153bf6df2421b496c58957b5ea0d591efd8caa12e08638560c125014d935abf279328a8b91fd09ab21444a58eea6ab7e59c3524b5c586c294b11123bff250
SHA512 (urh-2.10.0.tar.gz) = 0e46c7f74b1108ed32128cb1b3034b62ec03595057e5822c7e27e9340d2b81cc6240376bef3d3ba5b03e47396ccdfd737cb911788a1f36be2be30928e101fc57

View file

@ -1,22 +0,0 @@
diff --git a/src/urh/dev/native/lib/airspy.pyx b/src/urh/dev/native/lib/airspy.pyx
index ee2cf43..bfba573 100644
--- a/src/urh/dev/native/lib/airspy.pyx
+++ b/src/urh/dev/native/lib/airspy.pyx
@@ -7,9 +7,6 @@ from cython.view cimport array as cvarray # needed for converting of malloc arr
from urh.util.Logger import logger
-cdef extern from "Python.h":
- void PyEval_InitThreads()
-
ctypedef unsigned char uint8_t
ctypedef unsigned int uint32_t
ctypedef unsigned long long uint64_t
@@ -81,7 +78,6 @@ cpdef int set_if_rx_gain(uint8_t vga_gain):
cpdef int start_rx(callback):
global f
f = callback
- PyEval_InitThreads()
cairspy.airspy_set_sample_type(_c_device, cairspy.airspy_sample_type.AIRSPY_SAMPLE_FLOAT32_IQ)
return cairspy.airspy_start_rx(_c_device, _c_callback_recv, NULL)

View file

@ -1,16 +1,12 @@
%{?python_enable_dependency_generator}
# python 2 not supported
Name: urh
Version: 2.9.6
Release: 9%{?dist}
Version: 2.10.0
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-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
# https://github.com/jopohl/urh/pull/1111
Patch0: urh-2.9.6-python-3.13.patch
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
@ -80,7 +79,11 @@ desktop-file-install --add-category="Utility" \
install -Dpm 0644 %{SOURCE1} \
%{buildroot}%{_metainfodir}/io.github.jopohl.urh.metainfo.xml
%files
%check
# https://github.com/jopohl/urh/issues/1149
#xvfb-run pytest -s -v tests
%files -f %{pyproject_files}
%license LICENSE
%doc README.md
%{_bindir}/urh
@ -88,10 +91,64 @@ 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
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 2.9.8-10
- Rebuilt for Python 3.14.0rc3 bytecode
* Thu Sep 11 2025 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.8-9
- Rebuilt for new uhd
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 2.9.8-8
- Rebuilt for Python 3.14.0rc2 bytecode
* Thu Jul 31 2025 Charalampos Stratakis <cstratak@redhat.com> - 2.9.8-7
- Fix build failures with Cython >= 3.1
Resolves: rhbz#2377057
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 2.9.8-5
- Rebuilt for Python 3.14
* Mon Mar 17 2025 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.8-4
- Rebuilt for new uhd
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Mon Jan 6 2025 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.8-2
- Relaxed numpy dependency, this may cause problems with the GUI
Resolves: rhbz#2332202
* Sat Nov 16 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.8-1
- New version
Resolves: rhbz#2325899
* Wed Aug 07 2024 Miroslav Suchý <msuchy@redhat.com> - 2.9.6-9
- convert license to SPDX