Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.3
hidviz
hidviz.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hidviz.spec of Package hidviz
# # spec file for package hidviz # # Copyright (c) 2020 SUSE LLC # # 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/ # Name: hidviz Version: 0.1.5 Release: 0 Summary: A tool for in-depth analysis of USB HID devices communication License: GPL-3.0-or-later URL: https://hidviz.org/ Source0: https://hidviz.org/releases/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE hidviz-libexec_path.patch Patch0: hidviz-libexec_path.patch # PATCH-FIX-OPENSUSE hidviz-moc_policy.patch aloisio@gmx.com -- fix MOC problem with cmake 3.17 Patch1: hidviz-moc_policy.patch BuildRequires: ImageMagick BuildRequires: asio-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: update-desktop-files BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Widgets) BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(protobuf) %description Hidviz is a GUI application for in-depth analysis of USB HID class devices. The 2 main usecases of this application are reverse-engineering existing devices and developing new USB HID devices. %prep %autosetup -p1 sed -i 's|__LIBEXECDIR__|%{_libexecdir}|' libhidx/libhidx/src/Connector.cc %build %cmake \ -DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \ -DBUILD_SHARED_LIBS:BOOL=OFF %cmake_build %install %cmake_install # create icon and desktop file convert -strip hidviz/images/usb.png -resize 128x128 -background transparent \ -compose copy -gravity center -extent 128x128 %{name}.png install -Dpm 0644 %{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png %suse_update_desktop_file -c %{name} "USB HID debugger" %{name} %{name} %{name} "Development;Debugger;" %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %{_libexecdir}/libhidx_server_daemon %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor