3 Release: 48.gmaster_16fb0132%{?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
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
37 rm -rf $RPM_BUILD_ROOT
39 make install DESTDIR=$RPM_BUILD_ROOT
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(-,root,root,-)
47 %attr(755,root,root) /usr/bin/libwebsockets-test-server
48 %attr(755,root,root) /usr/bin/libwebsockets-test-server-extpoll
49 %attr(755,root,root) /usr/bin/libwebsockets-test-client
50 %attr(755,root,root) /usr/bin/libwebsockets-test-ping
51 %attr(755,root,root) /usr/bin/libwebsockets-test-echo
52 %attr(755,root,root) /usr/bin/libwebsockets-test-fraggle
54 /%{_libdir}/libwebsockets.so.5
55 /%{_libdir}/libwebsockets.so
56 %attr(755,root,root) /usr/share/libwebsockets-test-server
59 %defattr(-,root,root,-)
62 /%{_libdir}/libwebsockets.a
63 /%{_libdir}/pkgconfig/libwebsockets.pc