]> git.pld-linux.org Git - packages/pulseview.git/blame - pulseview.spec
- up to 0.3.0
[packages/pulseview.git] / pulseview.spec
CommitLineData
a4db7b1e 1#
fb1b86d8 2# Conditional build:
ae557471 3%bcond_with tests # "make test" call (requires functional libusb, i.e. accessible USB subsystem)
a4db7b1e 4#
a4db7b1e 5Summary: Qt based logic analyzer GUI for sigrok
fb1b86d8 6Summary(pl.UTF-8): Oparty na Qt graficzny interfejs analizatora logicznego dla szkieletu sigrok
a4db7b1e 7Name: pulseview
315e5312
AM
8Version: 0.3.0
9Release: 1
fb1b86d8 10License: GPL v3+
a4db7b1e 11Group: X11/Applications/Graphics
fb1b86d8 12Source0: http://sigrok.org/download/source/pulseview/%{name}-%{version}.tar.gz
315e5312 13# Source0-md5: 2cd76988cbf2a74b383e30de27744016
a4db7b1e 14URL: http://sigrok.org/wiki/PulseView
fb1b86d8
JB
15BuildRequires: QtCore-devel >= 4
16BuildRequires: QtGui-devel >= 4
17BuildRequires: boost-devel >= 1.42
18%{?with_tests:BuildRequires: boost-test >= 1.42}
19BuildRequires: cmake >= 2.8.3
20BuildRequires: glib2-devel >= 2.0
315e5312
AM
21BuildRequires: libsigrok-c++-devel >= 0.4.0
22BuildRequires: libsigrok-devel >= 0.4.0
23BuildRequires: libsigrokdecode-devel >= 0.4.0
b5d1febb 24BuildRequires: pkgconfig
fb1b86d8 25BuildRequires: qt4-qmake >= 4
315e5312
AM
26Requires: libsigrok >= 0.4.0
27Requires: libsigrok-c++-devel >= 0.4.0
28Requires: libsigrokdecode >= 0.4.0
a4db7b1e
AM
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32Qt based logic analyzer GUI for sigrok.
33
fb1b86d8
JB
34%description -l pl.UTF-8
35Oparty na Qt graficzny interfejs analizatora logicznego dla szkieletu
36sigrok.
37
a4db7b1e 38%prep
255d8529 39%setup -q
a4db7b1e
AM
40
41%build
42install -d build
43cd build
fb1b86d8 44%cmake .. \
a4db7b1e 45 -DDISABLE_WERROR=ON \
fb1b86d8 46 %{?with_tests:-DENABLE_TESTS=ON}
a4db7b1e
AM
47
48%{__make}
49
c388b07e
AM
50%{?with_tests:%{__make} test}
51
a4db7b1e
AM
52%install
53rm -rf $RPM_BUILD_ROOT
a4db7b1e
AM
54install -d $RPM_BUILD_ROOT%{_mandir}/man1
55
56%{__make} -C build install \
57 DESTDIR=$RPM_BUILD_ROOT
58
fb1b86d8
JB
59install -D contrib/pulseview.desktop $RPM_BUILD_ROOT%{_desktopdir}/pulseview.desktop
60install -D icons/sigrok-logo-notext.png $RPM_BUILD_ROOT%{_pixmapsdir}/sigrok-logo-notext.png
a4db7b1e
AM
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
fb1b86d8 67%doc NEWS README
a4db7b1e
AM
68%attr(755,root,root) %{_bindir}/pulseview
69%{_mandir}/man1/pulseview.1*
fb1b86d8
JB
70%{_desktopdir}/pulseview.desktop
71%{_pixmapsdir}/sigrok-logo-notext.png
This page took 0.043185 seconds and 4 git commands to generate.