]> git.pld-linux.org Git - packages/sigrok-cli.git/commitdiff
- initial (based on http://g-tech.no-ip.org/~mrnuke/SPECS/)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 9 Mar 2013 14:46:01 +0000 (15:46 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 9 Mar 2013 14:46:01 +0000 (15:46 +0100)
sigrok-cli.spec [new file with mode: 0644]

diff --git a/sigrok-cli.spec b/sigrok-cli.spec
new file mode 100644 (file)
index 0000000..cf8eef3
--- /dev/null
@@ -0,0 +1,41 @@
+Summary:       Basic hardware access drivers for logic analyzers
+Name:          sigrok-cli
+Version:       0.3.1
+Release:       1
+License:       GPL v3+
+Group:         X11/Applications/Science
+URL:           http://www.sigrok.org/
+Source0:       http://downloads.sourceforge.net/sigrok/%{name}-%{version}.tar.gz
+# Source0-md5: eed06b1408a969b86b0f6e1aa29ae0cb
+BuildRequires: glib2-devel
+BuildRequires: libsigrok-devel
+BuildRequires: libsigrokdecode-devel
+
+%description
+%{name} is a command-line tool written in C, which uses both libsigrok
+and libsigrokdecode to provide the basic sigrok functionality from the
+command-line. Among other things, it is useful for scripting purposes.
+
+%prep
+%setup -q
+
+%build
+%configure \
+       --disable-static \
+       --disable-silent-rules
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/sigrok-cli
+%{_mandir}/man1/sigrok-cli.1*
This page took 0.063436 seconds and 4 git commands to generate.