rpms/libwiimote/F-9 libwiimote-0.4-libs.patch, NONE, 1.1 libwiimote.spec, 1.4, 1.5

Adam Jackson (ajax) fedora-extras-commits at redhat.com
Tue Apr 22 18:34:15 UTC 2008


Author: ajax

Update of /cvs/pkgs/rpms/libwiimote/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9931

Modified Files:
	libwiimote.spec 
Added Files:
	libwiimote-0.4-libs.patch 
Log Message:
* Tue Apr 22 2008 Adam Jackson <ajax at redhat.com> 0.4-6
- libwiimote-0.4-libs.patch: Link against libbluetooth. (#442212)


libwiimote-0.4-libs.patch:

--- NEW FILE libwiimote-0.4-libs.patch ---
diff -up libwiimote-0.4/src/Makefile.in.jx libwiimote-0.4/src/Makefile.in
--- libwiimote-0.4/src/Makefile.in.jx	2008-04-22 14:30:01.000000000 -0400
+++ libwiimote-0.4/src/Makefile.in	2008-04-22 14:31:24.000000000 -0400
@@ -32,6 +32,8 @@ SOURCES = wiimote_link.c \
 
 all: libcwiimote.a libcwiimote.so
 
+LIBS = -lbluetooth
+
 libcwiimote.so: $(SOURCES) $(HEADERS)
 	$(CC) $(CFLAGS) $(INCLUDES) $(SOURCES) -shared -o $@  $(LIBS) -Wl,-soname,libcwiimote.so.0
 	@cp $@ $(LIBDIR)


Index: libwiimote.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libwiimote/F-9/libwiimote.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- libwiimote.spec	18 Feb 2008 18:59:24 -0000	1.4
+++ libwiimote.spec	22 Apr 2008 18:33:19 -0000	1.5
@@ -1,6 +1,6 @@
 Name:           libwiimote
 Version:        0.4
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Simple Wiimote Library for Linux
 
 Group:          System Environment/Libraries
@@ -13,6 +13,7 @@
 Patch1:		libwiimote-0.4-includedir.patch
 Patch2:		libwiimote-0.4-dso-symlinks.patch
 Patch3:		libwiimote-0.4-soname.patch
+Patch4:		libwiimote-0.4-libs.patch
 
 BuildRequires:  autoconf
 BuildRequires:  bluez-libs-devel
@@ -38,6 +39,7 @@
 %patch1 -p1 -b .includedir
 %patch2 -p1 -b .dso-symlinks
 %patch3 -p1 -b .soname
+%patch4 -p1 -b .libs
 
 %build
 autoconf
@@ -70,6 +72,9 @@
 %{_libdir}/*.so
 
 %changelog
+* Tue Apr 22 2008 Adam Jackson <ajax at redhat.com> 0.4-6
+- libwiimote-0.4-libs.patch: Link against libbluetooth. (#442212)
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.4-5
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list