• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name: libwebsockets
2Version: 4.0.1
3Release: 1%{?dist}
4Summary: Websocket Server and Client Library
5
6Group: System Environment/Libraries
7License: MIT
8URL: https://libwebsockets.org
9Source0: %{name}-%{version}.tar.gz
10BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
11
12BuildRequires: openssl-devel libuv-devel libev-devel cmake
13Requires: openssl
14
15%description
16Webserver server and client library
17
18%package devel
19Summary: Development files for libwebsockets
20Group: Development/Libraries
21Requires: %{name} = %{version}-%{release}
22Requires: openssl-devel
23
24%description devel
25Development files for libwebsockets
26
27%prep
28%setup -q
29
30%build
31mkdir -p build
32cd build
33%cmake .. -DLWS_WITH_DISTRO_RECOMMENDED=1
34make
35
36%install
37rm -rf $RPM_BUILD_ROOT
38cd build
39make install DESTDIR=$RPM_BUILD_ROOT
40
41%post -p /sbin/ldconfig
42%postun -p /sbin/ldconfig
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(-,root,root,-)
49%attr(755,root,root)
50"/usr/bin/libwebsockets-test-client"
51"/usr/bin/libwebsockets-test-lejp"
52"/usr/bin/libwebsockets-test-server"
53"/usr/bin/libwebsockets-test-server-extpoll"
54"/usr/bin/libwebsockets-test-sshd"
55"/usr/bin/lwsws"
56"/%{_libdir}/libwebsockets.so"
57"/%{_libdir}/libwebsockets.so.16"
58%dir "/usr/share/libwebsockets-test-server"
59"/usr/share/libwebsockets-test-server/candide.zip"
60"/usr/share/libwebsockets-test-server/favicon.ico"
61%dir "/usr/share/libwebsockets-test-server/generic-table"
62"/usr/share/libwebsockets-test-server/generic-table/index.html"
63"/usr/share/libwebsockets-test-server/generic-table/lwsgt.js"
64"/usr/share/libwebsockets-test-server/http2.png"
65"/usr/share/libwebsockets-test-server/leaf.jpg"
66"/usr/share/libwebsockets-test-server/libwebsockets-test-server.key.pem"
67"/usr/share/libwebsockets-test-server/libwebsockets-test-server.pem"
68"/usr/share/libwebsockets-test-server/libwebsockets.org-logo.svg"
69"/usr/share/libwebsockets-test-server/lws-cgi-test.sh"
70"/usr/share/libwebsockets-test-server/lws-common.js"
71"/usr/share/libwebsockets-test-server/lws-ssh-test-keys"
72"/usr/share/libwebsockets-test-server/lws-ssh-test-keys.pub"
73%dir "/usr/share/libwebsockets-test-server/plugins"
74"/usr/share/libwebsockets-test-server/plugins/libprotocol_client_loopback_test.so"
75"/usr/share/libwebsockets-test-server/plugins/libprotocol_dumb_increment.so"
76"/usr/share/libwebsockets-test-server/plugins/libprotocol_fulltext_demo.so"
77"/usr/share/libwebsockets-test-server/plugins/libprotocol_lws_acme_client.so"
78"/usr/share/libwebsockets-test-server/plugins/libprotocol_lws_mirror.so"
79"/usr/share/libwebsockets-test-server/plugins/libprotocol_lws_raw_test.so"
80"/usr/share/libwebsockets-test-server/plugins/libprotocol_lws_server_status.so"
81"/usr/share/libwebsockets-test-server/plugins/libprotocol_lws_ssh_base.so"
82"/usr/share/libwebsockets-test-server/plugins/libprotocol_lws_sshd_demo.so"
83"/usr/share/libwebsockets-test-server/plugins/libprotocol_lws_status.so"
84"/usr/share/libwebsockets-test-server/plugins/libprotocol_lws_table_dirlisting.so"
85"/usr/share/libwebsockets-test-server/plugins/libprotocol_post_demo.so"
86%dir "/usr/share/libwebsockets-test-server/private"
87"/usr/share/libwebsockets-test-server/private/index.html"
88%dir "/usr/share/libwebsockets-test-server/server-status"
89"/usr/share/libwebsockets-test-server/server-status/lwsws-logo.png"
90"/usr/share/libwebsockets-test-server/server-status/server-status.css"
91"/usr/share/libwebsockets-test-server/server-status/server-status.html"
92"/usr/share/libwebsockets-test-server/server-status/server-status.js"
93"/usr/share/libwebsockets-test-server/test.css"
94"/usr/share/libwebsockets-test-server/test.html"
95"/usr/share/libwebsockets-test-server/test.js"
96"/usr/share/libwebsockets-test-server/wss-over-h2.png"
97%files devel
98%defattr(-,root,root,-)
99%dir "/usr/include/libwebsockets"
100"/usr/include/libwebsockets.h"
101"/usr/include/libwebsockets/lws-adopt.h"
102"/usr/include/libwebsockets/lws-callbacks.h"
103"/usr/include/libwebsockets/lws-cgi.h"
104"/usr/include/libwebsockets/lws-client.h"
105"/usr/include/libwebsockets/lws-context-vhost.h"
106"/usr/include/libwebsockets/lws-dbus.h"
107"/usr/include/libwebsockets/lws-diskcache.h"
108"/usr/include/libwebsockets/lws-esp32.h"
109"/usr/include/libwebsockets/lws-fts.h"
110"/usr/include/libwebsockets/lws-genhash.h"
111"/usr/include/libwebsockets/lws-genrsa.h"
112"/usr/include/libwebsockets/lws-http.h"
113"/usr/include/libwebsockets/lws-jose.h"
114"/usr/include/libwebsockets/lws-jwk.h"
115"/usr/include/libwebsockets/lws-jws.h"
116"/usr/include/libwebsockets/lws-lejp.h"
117"/usr/include/libwebsockets/lws-logs.h"
118"/usr/include/libwebsockets/lws-lwsac.h"
119"/usr/include/libwebsockets/lws-misc.h"
120"/usr/include/libwebsockets/lws-network-helper.h"
121"/usr/include/libwebsockets/lws-plugin-generic-sessions.h"
122"/usr/include/libwebsockets/lws-protocols-plugins.h"
123"/usr/include/libwebsockets/lws-purify.h"
124"/usr/include/libwebsockets/lws-ring.h"
125"/usr/include/libwebsockets/lws-service.h"
126"/usr/include/libwebsockets/lws-sha1-base64.h"
127"/usr/include/libwebsockets/lws-spa.h"
128"/usr/include/libwebsockets/lws-stats.h"
129"/usr/include/libwebsockets/lws-threadpool.h"
130"/usr/include/libwebsockets/lws-timeout-timer.h"
131"/usr/include/libwebsockets/lws-tokenize.h"
132"/usr/include/libwebsockets/lws-vfs.h"
133"/usr/include/libwebsockets/lws-write.h"
134"/usr/include/libwebsockets/lws-writeable.h"
135"/usr/include/libwebsockets/lws-ws-close.h"
136"/usr/include/libwebsockets/lws-ws-ext.h"
137"/usr/include/libwebsockets/lws-ws-state.h"
138"/usr/include/libwebsockets/lws-x509.h"
139"/usr/include/lws-plugin-ssh.h"
140"/usr/include/lws_config.h"
141%dir "/usr/lib/pkgconfig"
142"/%{_libdir}/pkgconfig/libwebsockets.pc"
143"/usr/lib/pkgconfig/libwebsockets_static.pc"
144%dir "/usr/lib/cmake"
145%dir "/usr/lib/cmake/libwebsockets"
146"/%{_libdir}/cmake/libwebsockets/LibwebsocketsConfig.cmake"
147"/%{_libdir}/cmake/libwebsockets/LibwebsocketsConfigVersion.cmake"
148"/%{_libdir}/cmake/libwebsockets/LibwebsocketsTargets-debug.cmake"
149"/%{_libdir}/cmake/libwebsockets/LibwebsocketsTargets.cmake"
150
151%changelog
152* Fri Aug 14 2019 Andy Green <andy@warmcat.com> 3.2.0-1
153- MAJOR SONAMEBUMP APICHANGES Upstream 3.2.0 release (last LGPLv2.1+SLE)
154
155* Fri Nov 23 2018 Andy Green <andy@warmcat.com> 3.1.0-1
156- MAJOR SONAMEBUMP APICHANGES Upstream 3.1.0 release
157
158* Fri May 4 2018 Andy Green <andy@warmcat.com> 3.0.0-1
159- MAJOR SONAMEBUMP APICHANGES Upstream 3.0.0 release
160
161* Mon Oct 16 2017 Andy Green <andy@warmcat.com> 2.4.0-1
162- MAJOR SONAMEBUMP APICHANGES Upstream 2.4.0 release
163
164* Fri Jul 28 2017 Andy Green <andy@warmcat.com> 2.3.0-1
165- MAJOR SONAMEBUMP APICHANGES Upstream 2.3.0 release
166
167* Mon Mar 06 2017 Andy Green <andy@warmcat.com> 2.2.0-1
168- MAJOR SONAMEBUMP APICHANGES Upstream 2.2.0 release
169
170* Thu Oct 06 2016 Andy Green <andy@warmcat.com> 2.1.0-1
171- MAJOR SONAMEBUMP APICHANGES Upstream 2.1.0 release
172
173* Thu May 05 2016 Andy Green <andy@warmcat.com> 2.0.0-1
174- MAJOR SONAMEBUMP APICHANGES Upstream 2.0.0 release
175
176* Tue Feb 16 2016 Andy Green <andy@warmcat.com> 1.7.0-1
177- MAJOR SONAMEBUMP APICHANGES Upstream 1.7.0 release
178
179* Sun Jan 17 2016 Andrew Cooks <acooks@linux.com> 1.6.0-1
180- Bump version to 1.6.0
181