mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
cmake update specfile
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
27696f2596
commit
b2637a3978
2 changed files with 7 additions and 18 deletions
|
@ -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}
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue