]>
Commit | Line | Data |
---|---|---|
f03e0b5e PG |
1 | # TODO: |
2 | # - make use from: http://linux.thaj.net63.net/cyberlinkusb/files/cyberlinkusb-init-script-20090215 | |
3 | # - find a way of runtime binding configuration | |
4 | Summary: CyberLink Remote Control | |
5 | Name: cyberlinkusb | |
6 | Version: 20081207 | |
7 | Release: 0.1 | |
8 | License: Free + GPL (for some parts of code) | |
9 | Group: Applications/Graphics | |
10 | Source0: http://linux.thaj.net63.net/cyberlinkusb/files/%{name}-%{version}.tar.bz2 | |
11 | # Source0-md5: 54c2279e38fa791a8159b3b204439497 | |
12 | URL: http://linux.thaj.net63.net/cyberlinkusb/ | |
13 | BuildRequires: libusb-devel | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | cyberlinkusb catches with libusb signals from a CyberLink remote control and | |
18 | simulates key presses in X. | |
19 | ||
20 | %prep | |
21 | %setup -q | |
22 | ||
23 | %build | |
24 | %{__make} \ | |
25 | COMPILER="%{__cxx}" \ | |
26 | WARNINGS="-Wall -Wextra %{rpmcxxflags}" | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | install -d $RPM_BUILD_ROOT%{_bindir} | |
31 | ||
32 | install %{name} $RPM_BUILD_ROOT%{_bindir} | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
39 | %doc INSTALL NEWS README | |
40 | %attr(4755,root,root) %{_bindir}/* |