3 Release: 45.gmaster_f1d2113d%{?dist}
4 Summary: Websocket Server Library
8 URL: http://warmcat.com
9 Source0: %{name}-%{version}.tar.gz
10 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
12 BuildRequires: openssl-devel
13 Requires: openssl-devel
16 Webserver server library
19 Summary: Development files for libwebsockets
20 Group: Development/Libraries
21 Requires: %{name} = %{version}-%{release}
22 Requires: openssl-devel
25 Development files for libwebsockets
31 ./configure --prefix=/usr --libdir=%{_libdir} --enable-openssl
36 rm -rf $RPM_BUILD_ROOT
37 make install DESTDIR=$RPM_BUILD_ROOT
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(-,root,root,-)
45 %attr(755,root,root) /usr/bin/libwebsockets-test-server
47 /%{_libdir}/libwebsockets.so.0.0.3
48 /%{_libdir}/libwebsockets.so.0
49 /%{_libdir}/libwebsockets.so
50 /%{_libdir}/libwebsockets.la
51 %attr(755,root,root) /usr/share/libwebsockets-test-server
52 %attr(755,root,root) /usr/share/libwebsockets-test-server-extpoll
53 %attr(755,root,root) /usr/share/libwebsockets-test-client
54 %attr(755,root,root) /usr/share/libwebsockets-test-ping
57 %defattr(-,root,root,-)
60 /%{_libdir}/libwebsockets.a