cmake update specfile
authorAndy Green <andy.green@linaro.org>
Sat, 9 Mar 2013 23:16:04 +0000 (07:16 +0800)
committerAndy Green <andy.green@linaro.org>
Sun, 10 Mar 2013 00:12:12 +0000 (08:12 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
libwebsockets.pc.in [deleted file]
libwebsockets.spec

diff --git a/libwebsockets.pc.in b/libwebsockets.pc.in
deleted file mode 100644 (file)
index 4fadd72..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-
-Name: libwebsockets
-Description: Websockets server and client library
-Version: @VERSION@
-
-Libs: -L${libdir} -lwebsockets
-Cflags: -I${includedir}
index 81d119c..10015dd 100644 (file)
@@ -1,6 +1,6 @@
 Name: libwebsockets
-Version: 1.2
-Release: 46.gmaster_f59d56cbd8305ed%{?dist}
+Version: 1.3
+Release: 47.gmaster_b89f21c%{?dist}
 Summary: Websocket Server Library
 
 Group: System
@@ -28,12 +28,14 @@ Development files for libwebsockets
 %setup -q
 
 %build
-./configure --prefix=/usr --libdir=%{_libdir} --enable-openssl
+mkdir -p build
+cd build
+%cmake ..
 make
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
+cd build
 make install DESTDIR=$RPM_BUILD_ROOT
 
 
@@ -49,10 +51,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) /usr/bin/libwebsockets-test-echo
 %attr(755,root,root) /usr/bin/libwebsockets-test-fraggle
 %attr(755,root,root) 
-/%{_libdir}/libwebsockets.so.3.0.0
-/%{_libdir}/libwebsockets.so.3
+/%{_libdir}/libwebsockets.so.4.0.0
 /%{_libdir}/libwebsockets.so
-/%{_libdir}/libwebsockets.la
 %attr(755,root,root) /usr/share/libwebsockets-test-server
 %doc
 %files devel