SHA256
1
0
forked from pool/pulseview
pulseview/pulseview.spec
Stefan Brüns f179a7fac7 Accepting request 790709 from home:StefanBruens:branches:electronics
- Update to version 0.4.1
  * PulseView session setups can now be saved/restored to and
    from *.pvs files.
  * Translation support was added to the GUI elements (and a first
    translation, German, is available). Please check the wiki for
    details on how you can contribute further translations.
  * There's a new protocol decoder selection subwindow with
    filtering capabilities, browing by decoder tags, auto-stacking
    of decoders where required, and more.
  * A new decoder "binary" output subwindow can show/save
    "OUTPUT_BINARY" type decoder data in various (decoder-specific)
    formats (WAV, PCAP, PNG, and many others). This also features
    a simple "hex view" for the data.
  * It is now possible to show/hide individual decoder annotation
    rows, and individual annotation classes. This is very handy
    when you're debugging a specific issue and only want to see
    certain classes of decoder annotations, e.g. "show me only CRC
    errors", "show me only parity errors and frame errors", or
    "show me only I²C NACKs" etc. etc.
  * Lots of UI and functionality improvements regarding cursors
    and markers.
  * Various new handy key shortcuts for zooming, moving around in
    the data, placing cursors, etc.
  * Various drawing and decoder/annotation performance improvements.
- This requires libsigrok >= 0.5.2 (already released for some time)

OBS-URL: https://build.opensuse.org/request/show/790709
OBS-URL: https://build.opensuse.org/package/show/electronics/pulseview?expand=0&rev=20
2020-04-01 20:42:39 +00:00

82 lines
2.8 KiB
RPMSpec

#
# spec file for package pulseview
#
# 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: pulseview
Version: 0.4.2
Release: 0
Summary: Qt-based GUI for sigrok
License: GPL-3.0-or-later
Group: Productivity/Scientific/Electronics
URL: https://sigrok.org
Source0: https://sigrok.org/download/source/pulseview/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: glib2-devel
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_serialization-devel
BuildRequires: libboost_system-devel
BuildRequires: libboost_test-devel
BuildRequires: libboost_thread-devel
BuildRequires: libsigrok-devel >= 0.5.2
BuildRequires: libsigrokdecode-devel >= 0.5.2
BuildRequires: update-desktop-files
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5Widgets)
%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
install -m 644 -D icons/pulseview.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/pulseview.png
install -m 644 -D icons/pulseview.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/pulseview.svg
install -m 755 -d %{buildroot}%{_datadir}/applications/
install -m 644 contrib/org.sigrok.PulseView.desktop %{buildroot}%{_datadir}/applications/org.sigrok.PulseView.desktop
%suse_update_desktop_file -r org.sigrok.PulseView Education Engineering
install -m 755 -d %{buildroot}%{_datadir}/metainfo/
install -m 644 contrib/org.sigrok.PulseView.appdata.xml %{buildroot}%{_datadir}/metainfo/org.sigrok.PulseView.appdata.xml
%files
%license COPYING
%doc NEWS README HACKING
%{_bindir}/*
%{_mandir}/man1/pulseview.*
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/*/apps/pulseview*
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/org.sigrok.PulseView.appdata.xml
%changelog