]>
Commit | Line | Data |
---|---|---|
0b082cc8 | 1 | # |
0b082cc8 | 2 | Summary: Debug 1394 devices |
3 | Name: 1394commander | |
4 | Version: 0.1.1 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications | |
8 | Source0: http://www.ict.tuwien.ac.at/ieee1394/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: b72b94e060c6f1fd99b94d5ffe2dc620 | |
10 | URL: http://www.ict.tuwien.ac.at/ieee1394/opensource.html | |
11 | BuildRequires: libraw1394-devel | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | 1394commander is a simple console oriented tool based on libraw1394 to | |
16 | issue asynchronous read, write and lock commands to some nodes on the | |
17 | bus as well as to force bus resets. The main advantage of this tool | |
18 | over other available tools (like gscanbus) is (besides not requiring a | |
19 | graphical interface), that it reports the exact acknowledge and | |
20 | response codes and therefore is very useful for debugging purposes. | |
21 | ||
22 | %prep | |
23 | %setup -q | |
24 | ||
25 | %build | |
26 | %configure | |
27 | %{__make} | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | ||
32 | %{__make} install \ | |
33 | DESTDIR=$RPM_BUILD_ROOT | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
40 | %attr(755,root,root) %{_bindir}/* |