]> git.pld-linux.org Git - packages/pulseview.git/blame - pulseview.spec
- rebuild with boost 1.56.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
fb1b86d8 8Version: 0.2.0
b82d45d5 9Release: 3
fb1b86d8 10License: GPL v3+
a4db7b1e 11Group: X11/Applications/Graphics
fb1b86d8
JB
12Source0: http://sigrok.org/download/source/pulseview/%{name}-%{version}.tar.gz
13# Source0-md5: fe5586212671226afafe9d8d80ed10c6
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
21BuildRequires: libsigrok-devel >= 0.3.0
22BuildRequires: libsigrokdecode-devel >= 0.3.0
b5d1febb 23BuildRequires: pkgconfig
fb1b86d8
JB
24BuildRequires: qt4-qmake >= 4
25Requires: libsigrok >= 0.3.0
26Requires: libsigrokdecode >= 0.3.0
a4db7b1e
AM
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Qt based logic analyzer GUI for sigrok.
31
fb1b86d8
JB
32%description -l pl.UTF-8
33Oparty na Qt graficzny interfejs analizatora logicznego dla szkieletu
34sigrok.
35
a4db7b1e 36%prep
255d8529 37%setup -q
a4db7b1e
AM
38
39%build
40install -d build
41cd build
fb1b86d8 42%cmake .. \
a4db7b1e 43 -DDISABLE_WERROR=ON \
fb1b86d8 44 %{?with_tests:-DENABLE_TESTS=ON}
a4db7b1e
AM
45
46%{__make}
47
c388b07e
AM
48%{?with_tests:%{__make} test}
49
a4db7b1e
AM
50%install
51rm -rf $RPM_BUILD_ROOT
a4db7b1e
AM
52install -d $RPM_BUILD_ROOT%{_mandir}/man1
53
54%{__make} -C build install \
55 DESTDIR=$RPM_BUILD_ROOT
56
fb1b86d8
JB
57install -D contrib/pulseview.desktop $RPM_BUILD_ROOT%{_desktopdir}/pulseview.desktop
58install -D icons/sigrok-logo-notext.png $RPM_BUILD_ROOT%{_pixmapsdir}/sigrok-logo-notext.png
a4db7b1e
AM
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
fb1b86d8 65%doc NEWS README
a4db7b1e
AM
66%attr(755,root,root) %{_bindir}/pulseview
67%{_mandir}/man1/pulseview.1*
fb1b86d8
JB
68%{_desktopdir}/pulseview.desktop
69%{_pixmapsdir}/sigrok-logo-notext.png
This page took 0.547959 seconds and 4 git commands to generate.