diff --git a/.gitignore b/.gitignore index 60ca72c..f35da22 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -urh-*.tar.gz +/urh-*.tar.gz diff --git a/io.github.jopohl.urh.metainfo.xml b/io.github.jopohl.urh.metainfo.xml new file mode 100644 index 0000000..7deccfa --- /dev/null +++ b/io.github.jopohl.urh.metainfo.xml @@ -0,0 +1,41 @@ + + + io.github.jopohl.urh + urh.desktop + CC0-1.0 + GPL-2.0 + Universal Radio Hacker + Dr. Johannes Pohl + Investigate Wireless Protocols Like A Boss + +

+ The Universal Radio Hacker (URH) is a complete suite for wireless protocol investigation with native support for many + common Software Defined Radios. URH allows easy demodulation of signals combined with an automatic detection of + modulation parameters making it a breeze to identify the bits and bytes that fly over the air. +

+

+ As data often gets encoded before transmission, URH offers customizable decodings to crack even sophisticated encodings + like CC1101 data whitening. When it comes to protocol reverse-engineering, URH is helpful in two ways. You can either + manually assign protocol fields and message types or let URH automatically infer protocol fields with a rule-based + intelligence. Finally, URH entails a fuzzing component aimed at stateless protocols and a simulation environment + for stateful attacks. +

+
+ + + https://asciiwolf.fedorapeople.org/appstream/screenshots/urh/1.png + Get the data out of raw signals + + + https://asciiwolf.fedorapeople.org/appstream/screenshots/urh/2.png + Keep an overview even on complex protocols + + + https://asciiwolf.fedorapeople.org/appstream/screenshots/urh/3.png + Record and send signals + + + https://github.com/jopohl/urh + https://github.com/jopohl/urh/issues + +
diff --git a/sources b/sources index af8e720..5df2392 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (urh-2.0.2.tar.gz) = 34a866a5ce6dabb8b44f2bdeeda0033e725048d800c55e7dedd66e1d698f97fbd354364328010c8bc6c61de80e52e04b561af14d74cbe8b8513e01962aa9e051 +SHA512 (urh-2.10.0.tar.gz) = 0e46c7f74b1108ed32128cb1b3034b62ec03595057e5822c7e27e9340d2b81cc6240376bef3d3ba5b03e47396ccdfd737cb911788a1f36be2be30928e101fc57 diff --git a/urh.spec b/urh.spec index 45594e3..4f4e967 100644 --- a/urh.spec +++ b/urh.spec @@ -1,23 +1,33 @@ -# python 2 not supported - Name: urh -Version: 2.0.2 -Release: 1%{?dist} +Version: 2.10.0 +Release: 7%{?dist} Summary: Universal Radio Hacker: investigate wireless protocols like a boss -License: ASL 2.0 and GPLv2 -Group: Applications/Engineering +# 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}.tar.gz#/urh-%{version}.tar.gz -BuildRequires: python3-setuptools, python3-devel, gcc-c++, python3-numpy, desktop-file-utils -BuildRequires: hackrf-devel, rtl-sdr-devel, uhd-devel, python3-qt5, python3-Cython -Requires: python3-numpy, python3-psutil python3-zmq, python3-qt5 +Source0: https://github.com/jopohl/urh/archive/v%{version}/%{name}-%{version}.tar.gz +Source1: io.github.jopohl.urh.metainfo.xml +BuildRequires: python3-devel +BuildRequires: gcc-c++ +BuildRequires: python3-numpy +BuildRequires: desktop-file-utils +BuildRequires: airspyone_host-devel +BuildRequires: hackrf-devel +BuildRequires: rtl-sdr-devel +BuildRequires: uhd-devel +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-pyqt6 %description The Universal Radio Hacker is a software for investigating unknown wireless protocols. %prep -%setup -q +%autosetup -p1 # remove *.pyc find . -name '*.pyc' | xargs rm -f @@ -29,29 +39,23 @@ popd # remove binaries pushd data/decodings -rm -f enocean_switchtelegram homematic test +rm -f enocean_switchtelegram homematic homematic_complete test popd pushd src/urh/dev/native/lib rm -rf win popd -# remove bundled libraries, cpp will be generated by cython -pushd src/urh/dev/native -rm -rf includes -cd lib -rm -f *.cpp -popd +sed -i 's/"cython<3.0.0"/"cython"/' setup.py -# remove sources, they will be generated by cython -pushd src/urh/cythonext -rm -f *.cpp -popd +%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 @@ -69,18 +73,347 @@ install -Dpm 0644 data/icons/appicon.png %{buildroot}%{_datadir}/icons/hicolor/1 mkdir -p %{buildroot}%{_datadir}/applications desktop-file-install --add-category="Utility" \ --dir=%{buildroot}%{_datadir}/applications \ - ./urh.desktop + data/urh.desktop -%files +# metainfo file +install -Dpm 0644 %{SOURCE1} \ + %{buildroot}%{_metainfodir}/io.github.jopohl.urh.metainfo.xml + +%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 +%{_bindir}/urh_cli %{_datadir}/icons/hicolor/128x128/apps/urh.png %{_datadir}/applications/urh.desktop -%{python3_sitearch}/urh -%{python3_sitearch}/urh-%{version}-*.egg-info +%{_metainfodir}/io.github.jopohl.urh.metainfo.xml %changelog +* Wed Jul 22 2026 Python Maint - 2.10.0-7 +- Rebuilt for Python 3.15.0b4 ABI change + +* Fri Jul 17 2026 Fedora Release Engineering - 2.10.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Thu Jun 04 2026 Python Maint - 2.10.0-5 +- Rebuilt for Python 3.15 + +* Tue Apr 28 2026 Jaroslav Škarvada - 2.10.0-4 +- Rebuilt for new uhd + +* Sat Jan 17 2026 Fedora Release Engineering - 2.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Thu Jan 15 2026 Jaroslav Škarvada - 2.10.0-2 +- Converted to new python packaging + Resolves: rhbz#2378489 + +* Sat Jan 03 2026 Jaroslav Škarvada - 2.10.0-1 +- New version + Resolves: rhbz#2423176 + +* Fri Sep 19 2025 Python Maint - 2.9.8-10 +- Rebuilt for Python 3.14.0rc3 bytecode + +* Thu Sep 11 2025 Jaroslav Škarvada - 2.9.8-9 +- Rebuilt for new uhd + +* Fri Aug 15 2025 Python Maint - 2.9.8-8 +- Rebuilt for Python 3.14.0rc2 bytecode + +* Thu Jul 31 2025 Charalampos Stratakis - 2.9.8-7 +- Fix build failures with Cython >= 3.1 + Resolves: rhbz#2377057 + +* Fri Jul 25 2025 Fedora Release Engineering - 2.9.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Tue Jun 03 2025 Python Maint - 2.9.8-5 +- Rebuilt for Python 3.14 + +* Mon Mar 17 2025 Jaroslav Škarvada - 2.9.8-4 +- Rebuilt for new uhd + +* Sun Jan 19 2025 Fedora Release Engineering - 2.9.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Mon Jan 6 2025 Jaroslav Škarvada - 2.9.8-2 +- Relaxed numpy dependency, this may cause problems with the GUI + Resolves: rhbz#2332202 + +* Sat Nov 16 2024 Jaroslav Škarvada - 2.9.8-1 +- New version + Resolves: rhbz#2325899 + +* Wed Aug 07 2024 Miroslav Suchý - 2.9.6-9 +- convert license to SPDX + +* Sat Jul 20 2024 Fedora Release Engineering - 2.9.6-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jul 15 2024 Jaroslav Škarvada - 2.9.6-7 +- Rebuilt for new uhd + +* Sat Jun 08 2024 Python Maint - 2.9.6-6 +- Rebuilt for Python 3.13 + +* Tue Apr 9 2024 Jaroslav Škarvada - 2.9.6-5 +- Rebuilt for new rtl-sdr + +* Thu Apr 4 2024 Jaroslav Škarvada - 2.9.6-4 +- Fixed FTBFS with python-3.13 + Resolves: rhbz#2272955 + +* Mon Jan 29 2024 Daniel Rusek - 2.9.6-3 +- Added AppStream metadata + +* Sat Jan 27 2024 Fedora Release Engineering - 2.9.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Jan 16 2024 Jaroslav Škarvada - 2.9.6-1 +- New version + Resolves: rhbz#2258401 + +* Wed Nov 22 2023 Jaroslav Škarvada - 2.9.5-3 +- Rebuilt for new uhd + +* Mon Nov 13 2023 Karolina Surma - 2.9.5-2 +- Stop pinning Cython to 0.29, package builds with Cython 3 too + +* Tue Oct 31 2023 Jaroslav Škarvada - 2.9.5-1 +- New version + Resolves: rhbz#2246830 + +* Mon Sep 25 2023 Jaroslav Škarvada - 2.9.4-6 +- Rebuilt for new uhd + +* Tue Aug 8 2023 Jaroslav Škarvada - 2.9.4-5 +- Fixed FTBFS + Resolves: rhbz#2226494 + +* Sat Jul 22 2023 Fedora Release Engineering - 2.9.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jun 16 2023 Python Maint - 2.9.4-3 +- Rebuilt for Python 3.12 + +* Wed Feb 1 2023 Jaroslav Škarvada - 2.9.4-2 +- Rebuilt for new uhd + +* Mon Jan 30 2023 Jaroslav Škarvada - 2.9.4-1 +- New version + Resolves: rhbz#2165227 + +* Sat Jan 21 2023 Fedora Release Engineering - 2.9.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Sep 26 2022 Jaroslav Škarvada - 2.9.3-7 +- Rebuilt for new uhd + Resolves: rhbz#2129789 + +* Sat Jul 30 2022 Jaroslav Škarvada - 2.9.3-6 +- Rebuilt for new uhd + +* Sat Jul 23 2022 Fedora Release Engineering - 2.9.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jul 11 2022 Jaroslav Škarvada - 2.9.3-4 +- Rebuilt for new airspyone_host + +* Mon Jun 20 2022 Jaroslav Škarvada - 2.9.3-3 +- Rebuilt for new python + Resolves: rhbz#2099183 + +* Tue Apr 26 2022 Jaroslav Škarvada - 2.9.3-2 +- Rebuilt for new uhd + Resolves: rhbz#2077807 + +* Wed Mar 2 2022 Jaroslav Škarvada - 2.9.3-1 +- New version + Resolves: rhbz#2059689 + +* Sat Jan 22 2022 Fedora Release Engineering - 2.9.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 2.9.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jul 2 2021 Jaroslav Škarvada - 2.9.2-3 +- Rebuilt for new uhd + +* Fri Jun 04 2021 Python Maint - 2.9.2-2 +- Rebuilt for Python 3.10 + +* Mon Apr 19 2021 Jaroslav Škarvada - 2.9.2-1 +- New version + Resolves: rhbz#1950673 + +* Mon Feb 8 2021 Jaroslav Škarvada - 2.9.1-3 +- Rebuilt for new uhd + Resolves: rhbz#1925578 + +* Wed Jan 27 2021 Fedora Release Engineering - 2.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jan 4 2021 Jaroslav Škarvada - 2.9.1-1 +- New version + Resolves: rhbz#1911772 + +* Wed Nov 25 2020 Jaroslav Škarvada - 2.9.0-1 +- New version + Resolves: rhbz#1901393 + +* Mon Sep 21 2020 Jaroslav Škarvada - 2.8.9-1 +- New version + Resolves: rhbz#1876872 + +* Wed Jul 29 2020 Fedora Release Engineering - 2.8.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 2.8.8-2 +- Rebuilt for Python 3.9 + +* Tue May 19 2020 Jaroslav Škarvada - 2.8.8-1 +- New version + Resolves: rhbz#1837080 + +* Mon Apr 27 2020 Jaroslav Škarvada - 2.8.7-1 +- New version + Resolves: rhbz#1828481 + +* Thu Apr 16 2020 Jaroslav Škarvada - 2.8.6-1 +- New version + Resolves: rhbz#1824311 +- Simplified source URL + +* Tue Mar 24 2020 Jaroslav Škarvada - 2.8.5-1 +- New version + Resolves: rhbz#1816690 + Resolves: rhbz#1815664 + +* Sat Mar 21 2020 David Sastre - 2.8.4-2 +- Add AirSpy R2 native support + +* Mon Mar 9 2020 Jaroslav Škarvada - 2.8.4-1 +- New version + Resolves: rhbz#1811369 + +* Tue Feb 25 2020 Jaroslav Škarvada - 2.8.3-1 +- New version + Resolves: rhbz#1806112 + +* Fri Jan 31 2020 Fedora Release Engineering - 2.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 7 2020 Jaroslav Škarvada - 2.8.2-1 +- New version + Resolves: rhbz#1788393 + +* Sun Nov 24 2019 Jaroslav Škarvada - 2.8.1-1 +- New version + Resolves: rhbz#1763507 + +* Mon Nov 11 2019 Jaroslav Škarvada - 2.7.5-3 +- Rebuilt for new uhd + Resolves: rhbz#1770877 + +* Thu Oct 03 2019 Miro Hrončok - 2.7.5-2 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Fri Aug 30 2019 Jaroslav Škarvada - 2.7.5-1 +- New version + Resolves: rhbz#1747017 + +* Wed Aug 21 2019 Miro Hrončok - 2.7.4-2 +- Rebuilt for Python 3.8 + +* Tue Aug 20 2019 Jaroslav Škarvada - 2.7.4-1 +- New version + Resolves: rhbz#1743014 + +* Mon Aug 19 2019 Miro Hrončok - 2.7.3-3 +- Rebuilt for Python 3.8 + +* Sat Jul 27 2019 Fedora Release Engineering - 2.7.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Jul 1 2019 Jaroslav Škarvada - 2.7.3-1 +- New version + Resolves: rhbz#1725697 + +* Wed Jun 26 2019 Jaroslav Škarvada - 2.7.2-1 +- New version + Resolves: rhbz#1724216 + +* Sat Jun 22 2019 Jaroslav Škarvada - 2.7.0-2 +- Added missing explicit requirements + +* Mon Jun 3 2019 Jaroslav Škarvada - 2.7.0-1 +- New version + Resolves: rhbz#1716083 + +* Mon May 20 2019 Jaroslav Škarvada - 2.6.0-1 +- New version + Resolves: rhbz#1711889 + +* Wed Apr 3 2019 Jaroslav Škarvada - 2.5.7-1 +- New version + Resolves: rhbz#1695648 + +* Mon Feb 25 2019 Jaroslav Škarvada - 2.5.6-1 +- New version + Resolves: rhbz#1680429 + +* Tue Feb 5 2019 Jaroslav Škarvada - 2.5.5-1 +- New version + Resolves: rhbz#1667686 + +* Sun Feb 03 2019 Fedora Release Engineering - 2.5.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jan 11 2019 Igor Gnatenko - 2.5.4-2 +- Enable python dependency generator + +* Thu Jan 10 2019 Jaroslav Škarvada - 2.5.4-1 +- New version + Related: rhbz#1609532 + +* Thu Aug 9 2018 Jaroslav Škarvada - 2.2.3-1 +- New version + Resolves: rhbz#1609532 + +* Sat Jul 14 2018 Fedora Release Engineering - 2.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Jul 02 2018 Miro Hrončok - 2.2.2-2 +- Rebuilt for Python 3.7 + +* Mon Jul 2 2018 Jaroslav Škarvada - 2.2.2-1 +- New version + Resolves: rhbz#1596898 + +* Tue Jun 19 2018 Jaroslav Škarvada - 2.1.1-1 +- New version + Resolves: rhbz#1592165 + +* Tue Jun 19 2018 Miro Hrončok - 2.1.0-2 +- Rebuilt for Python 3.7 + +* Fri Jun 1 2018 Jaroslav Škarvada - 2.1.0-1 +- New version + Resolves: rhbz#1585185 + +* Mon May 7 2018 Jaroslav Škarvada - 2.0.4-2 +- Fixed build + +* Mon May 7 2018 Jaroslav Škarvada - 2.0.4-1 +- New version + Resolves: rhbz#1575442 + * Mon Apr 23 2018 Jaroslav Škarvada - 2.0.2-1 - New version Resolves: rhbz#1570453