]> git.pld-linux.org Git - packages/sigrok-cli.git/blob - sigrok-cli.spec
b6895b9095d1d996e22a8cb97f43cbaa42612716
[packages/sigrok-cli.git] / sigrok-cli.spec
1 Summary:        Basic hardware access for logic analyzers - command line tool
2 Summary(pl.UTF-8):      Podstawowy dostęp do sprzętu dla analizatorów logicznych - narzędzie linii poleceń
3 Name:           sigrok-cli
4 Version:        0.7.0
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/Science
8 Source0:        http://www.sigrok.org/download/source/sigrok-cli/%{name}-%{version}.tar.gz
9 # Source0-md5:  77cb745e2fa239c7bd1ea81e2d67ede9
10 URL:            http://www.sigrok.org/
11 BuildRequires:  autoconf >= 2.63
12 BuildRequires:  automake >= 1:1.11
13 BuildRequires:  glib2-devel >= 1:2.32.0
14 BuildRequires:  libsigrok-devel >= 0.5.0
15 BuildRequires:  libsigrokdecode-devel >= 0.5.0
16 BuildRequires:  libtool >= 2:2
17 BuildRequires:  pkgconfig >= 1:0.22
18 Requires:       glib2 >= 1:2.32.0
19 Requires:       libsigrok >= 0.5.0
20 Requires:       libsigrokdecode >= 0.5.0
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 sigrok-cli is a command-line tool written in C, which uses both
25 libsigrok and libsigrokdecode to provide the basic sigrok
26 functionality from the command-line. Among other things, it is useful
27 for scripting purposes.
28
29 %description -l pl.UTF-8
30 sigrok-cli to napisane w C narzędzie linii poleceń, wykorzystujące
31 biblioteki libsigrok oraz libsigrokdecode dla zapewnienia podstawowej
32 funkcjonalności sigrok z linii poleceń. Jest przydatne między innymi
33 do tworzenia skryptów.
34
35 %prep
36 %setup -q
37
38 %build
39 %{__libtoolize}
40 %{__aclocal} -I m4
41 %{__autoconf}
42 %{__autoheader}
43 %{__automake}
44 %configure \
45         --disable-silent-rules
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc ChangeLog NEWS README
60 %attr(755,root,root) %{_bindir}/sigrok-cli
61 %{_mandir}/man1/sigrok-cli.1*
This page took 0.071491 seconds and 2 git commands to generate.