SHA256
1
0
forked from pool/hobbits
hobbits/hobbits.spec
Martin Pluskal 2b1df74e5e Accepting request 983603 from home:mnhauke
- Update to version 0.53.2
  Bug Fixes
  * correctly display kaitai value instances for #145
  * fix kaitai plugin byte and string array sizes.

- Update to version 0.53.0
  Features
  * add built-in batches.
  * add config setting for skipping delete confirmation.
  * replace FFTW with PFFFT and improve FFT UI and error reporting

OBS-URL: https://build.opensuse.org/request/show/983603
OBS-URL: https://build.opensuse.org/package/show/editors/hobbits?expand=0&rev=8
2022-06-27 09:44:47 +00:00

98 lines
2.9 KiB
RPMSpec

#
# spec file for package hobbits
#
# Copyright (c) 2021-2022, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define pffft_hash 7c3b5a7
Name: hobbits
Version: 0.53.2
Release: 0
Summary: A GUI for bit-based analysis, processing, and visualization
License: MIT
URL: https://github.com/Mahlet-Inc/hobbits
Source: https://github.com/Mahlet-Inc/hobbits/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: https://bitbucket.org/jpommier/pffft/get/%{pffft_hash}.zip#/pffft-%{pffft_hash}.zip
Patch0: hobbits-dont-hardcode-python3-version.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libpcap-devel
BuildRequires: pkgconfig
BuildRequires: fdupes
BuildRequires: python3-devel
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: unzip
BuildRequires: hicolor-icon-theme
Provides: bundled(pffft)
%description
A GUI for bit-based analysis, processing, and visualization.
%package devel
Summary: Development files for hobbits
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description devel
A GUI for bit-based analysis, processing, and visualization.
This subpackage contains files for developing applications thatwant to make use of hobbits.
%prep
%setup -q
%patch0 -p1
# 3rd party
cd external/pffft/
unzip -j %{SOURCE1}
%build
%cmake -DCMAKE_SKIP_RPATH:BOOL=OFF
%make_build
%install
%cmake_install
%files
%license LICENSE.txt
%doc CHANGELOG.md README.md
%{_bindir}/hobbits
%{_bindir}/hobbits-runner
%dir %{_libdir}/hobbits
%dir %{_libdir}/hobbits/plugins
%{_libdir}/hobbits/plugins/analyzers/
%{_libdir}/hobbits/plugins/analyzers/
%{_libdir}/hobbits/plugins/displays/
%{_libdir}/hobbits/plugins/importerexporters/
%{_libdir}/hobbits/plugins/operators/
%{_libdir}/libhobbits-core.so
%{_libdir}/libhobbits-python.so
%{_libdir}/libhobbits-widgets.so
%{_datadir}/applications/Hobbits.desktop
# FIXME: icons too large
%dir %{_datadir}/icons/hicolor/624x624/
%dir %{_datadir}/icons/hicolor/624x624/apps/
%{_datadir}/icons/hicolor/624x624/apps/HobbitsRingSmall.png
%files devel
%{_includedir}/hobbits/
%changelog