forked from pool/pulseview
f23ca3e4bb
OBS-URL: https://build.opensuse.org/request/show/357420 OBS-URL: https://build.opensuse.org/package/show/electronics/pulseview?expand=0&rev=4
67 lines
1.9 KiB
RPMSpec
67 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package pulseview
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX 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: pulseview
|
|
Version: 0.3.0
|
|
Release: 0
|
|
Summary: Qt-based GUI for sigrok
|
|
License: GPL-3.0+
|
|
Group: Productivity/Scientific/Electronics
|
|
Url: http://sigrok.org
|
|
Source0: http://sigrok.org/download/source/pulseview/%{name}-%{version}.tar.gz
|
|
BuildRequires: boost-devel >= 1.53.0
|
|
BuildRequires: cmake
|
|
BuildRequires: glib2-devel
|
|
%if 0%{?suse_version} > 1320
|
|
BuildRequires: cmake(Qt5Gui)
|
|
BuildRequires: cmake(Qt5Svg)
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
%else
|
|
BuildRequires: libqt4-devel
|
|
%endif
|
|
BuildRequires: libsigrok-devel >= 0.4.0
|
|
BuildRequires: libsigrokdecode-devel >= 0.4.0
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
The sigrok project aims at creating a portable, cross-platform,
|
|
Free/Libre/Open-Source logic analyzer software that supports various
|
|
logic analyzer hardware products.
|
|
|
|
PulseView is a Qt-based GUI for sigrok.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CXXFLAGS="%{optflags} -fpermissive"
|
|
%cmake -DDISABLE_WERROR=TRUE ..
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%cmake_install
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING NEWS README HACKING
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/pulseview.*
|
|
|
|
%changelog
|