summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Gołaszewski2009-12-29 23:06:39 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitf03e0b5e5e65ddc7c0620e190d8c54878ade9e51 (patch)
tree4d3731e73e55c287c00a521277a8213bd4b53fcf
downloadcyberlinkusb-master.zip
cyberlinkusb-master.tar.gz
- initialHEADmaster
Changed files: cyberlinkusb.spec -> 1.1
-rw-r--r--cyberlinkusb.spec40
1 files changed, 40 insertions, 0 deletions
diff --git a/cyberlinkusb.spec b/cyberlinkusb.spec
new file mode 100644
index 0000000..84ef8db
--- /dev/null
+++ b/cyberlinkusb.spec
@@ -0,0 +1,40 @@
+# TODO:
+# - make use from: http://linux.thaj.net63.net/cyberlinkusb/files/cyberlinkusb-init-script-20090215
+# - find a way of runtime binding configuration
+Summary: CyberLink Remote Control
+Name: cyberlinkusb
+Version: 20081207
+Release: 0.1
+License: Free + GPL (for some parts of code)
+Group: Applications/Graphics
+Source0: http://linux.thaj.net63.net/cyberlinkusb/files/%{name}-%{version}.tar.bz2
+# Source0-md5: 54c2279e38fa791a8159b3b204439497
+URL: http://linux.thaj.net63.net/cyberlinkusb/
+BuildRequires: libusb-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+cyberlinkusb catches with libusb signals from a CyberLink remote control and
+simulates key presses in X.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+ COMPILER="%{__cxx}" \
+ WARNINGS="-Wall -Wextra %{rpmcxxflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install %{name} $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc INSTALL NEWS README
+%attr(4755,root,root) %{_bindir}/*