Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:tux93:hantek
OpenHantek6022
OpenHantek6022.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File OpenHantek6022.spec of Package OpenHantek6022
# # spec file for package [openhantek] # # Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: OpenHantek6022 Version: 3.3.2 Release: 0 Summary: A program to use hantek USB Digital Storage Oscilloscopes Group: Productivity/Scientific/Electronics License: GPL-3.0 Url: http://www.openhantek.org Source0: https://github.com/OpenHantek/OpenHantek6022/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: binutils-devel >= 2.22 BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake >= 3.0 BuildRequires: doxygen BuildRequires: fdupes BuildRequires: update-desktop-files BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig(fftw3) >= 3.3 BuildRequires: pkgconfig(libusb-1.0) >= 1.0.9 BuildRequires: pkgconfig(Qt5OpenGL) >= 5.3 BuildRequires: pkgconfig(Qt5PrintSupport) >= 5.3 BuildRequires: pkgconfig(Qt5UiTools) BuildRequires: libqt5-qttranslations BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(zlib) >= 1.2.7 Conflicts: openhantek Recommends: %{name}-docs = %{version} %description OpenHantek6022 is Hantek 6022BE or 6022BL USB digital storage oscilloscopes based on HantekDSO and has started as an alternative to the official Hantek DSO software. %prep %autosetup -p 1 -n %{name}-%{version} %build export UDEV_RULES=%{_udevrulesdir} %cmake -DVERSION=%{version} %cmake_build cd ../ doxygen Doxyfile %install mkdir -p %{buildroot}%{_udevrulesdir} %cmake_install mkdir -p %{buildroot}%{_libexecdir}/firmware/hantek cp -v openhantek/res/firmware/*hex %{buildroot}%{_libexecdir}/firmware/hantek/ rm -rf %{buildroot}%{_datadir}/doc/openhantek cat utils/applications/OpenHantek.desktop|sed s/Development\;Engineering\;Electronics\;/Education\;Engineering\;/ > %{buildroot}%{_datadir}/applications/OpenHantek.desktop %suse_update_desktop_file -r OpenHantek "Education;Engineering" cat %{buildroot}%{_datadir}/applications/OpenHantek.desktop #%%find_lang %%{name} --with-qt %fdupes -s build/doc/html %fdupes -s build/doc/latex rm -rf %{buildroot}%{_datadir}/doc/[Oo]pen[Hh]antek %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %files %{_bindir}/OpenHantek %{_datadir}/applications/OpenHantek.desktop %{_datadir}/icons/hicolor/ %{_udevrulesdir}/ %{_libexecdir}/firmware/ %doc README.md README docs/OpenHantek6022_User_Manual.pdf CHANGELOG build/doc/html docs/*.odt docs/HANTEK6022_AC_Modification.pdf %license LICENSE %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