Name: libwiimote
Summary: Simple Wiimote Library for Linux
Version: 0.4
Release: 2
License: GPL
Group: System Environment/Libraries
URL: http://libwiimote.sourceforge.net/
Description: Libwiimote is a C-library that provides a simple API for communicating with
the Nintendo Wii Remote (aka. wiimote) on a Linux system. The goal of this
library is to be a complete and easy to use framework for interfacing
applications with the wiimote.
The build could not start because the following file is missing: libwiimote-0.4.tgz
The build could not start because the following file is missing: libwiimote-0.4.tgz
The spec file used by the build system currently has the following contents:
# $Id$ # Authority: dag %define _default_patch_fuzz 2 %{?el6:%define _with_bluez4 1} Summary: Simple Wiimote Library for Linux Name: libwiimote Version: 0.4 Release: 2%{?dist} License: GPL Group: System Environment/Libraries URL: http://libwiimote.sourceforge.net/ Source: http://dl.sf.net/libwiimote/libwiimote-%{version}.tgz Patch0: libwiimote-0.4-fpic.patch Patch1: libwiimote-0.4-includedir.patch Patch2: libwiimote-0.4-dso-symlinks.patch Patch3: libwiimote-0.4-soname.patch Patch4: libwiimote-0.4-svn20090207.patch Patch5: libwiimote-0.4-bluez4.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: autoconf BuildRequires: bluez-libs-devel %description Libwiimote is a C-library that provides a simple API for communicating with the Nintendo Wii Remote (aka. wiimote) on a Linux system. The goal of this library is to be a complete and easy to use framework for interfacing applications with the wiimote. %package devel Summary: Header files, libraries and development documentation for %{name}. Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: bluez-libs-devel %description devel This package contains the header files, static libraries and development documentation for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel. %prep %setup %patch0 -p1 -b .fpic %patch1 -p1 -b .includedir %patch2 -p1 -b .dso-symlinks %patch3 -p1 -b .soname %patch4 -p1 -b .svn20090207 %{?_with_bluez4:%patch5 -p0 -b .bluez4} %{__perl} -pi.orig -e 's|#-D_DISABLE_NONBLOCK_UPDATES -D_DISABLE_AUTO_SELECT_DEVICE|-D_DISABLE_BLOCKING_UPDATE|' config.mk.in %build autoconf %configure --disable-static %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR="%{buildroot}" %clean %{__rm} -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root, 0755) %doc AUTHORS COPYING NEWS README TODO %{_libdir}/libcwiimote.so.* %files devel %defattr(-, root, root, 0755) %{_includedir}/libcwiimote/ %{_libdir}/libcwiimote.so %exclude %{_libdir}/libcwiimote.a %changelog * Sat Feb 07 2009 Dag Wieers <dag@wieers.com> - 0.4-2 - Added -D_DISABLE_BLOCKING_UPDATE. * Sat May 24 2008 Dag Wieers <dag@wieers.com> - 0.4-1 - Initial package. (using DAR)