v1.7.9
[platform/upstream/libwebsockets.git] / libwebsockets.spec
1 Name: libwebsockets
2 Version: 1.7.9
3 Release: 1%{?dist}
4 Summary: Websocket Server and Client Library
5
6 Group: System Environment/Libraries
7 License: LGPLv2 with exceptions
8 URL: https://libwebsockets.org
9 Source0: %{name}-%{version}.tar.gz
10 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
11
12 BuildRequires: openssl-devel cmake
13 Requires: openssl
14
15 %description
16 Webserver server and client library
17
18 %package devel
19 Summary: Development files for libwebsockets
20 Group: Development/Libraries
21 Requires: %{name} = %{version}-%{release}
22 Requires: openssl-devel
23
24 %description devel
25 Development files for libwebsockets
26
27 %prep
28 %setup -q
29
30 %build
31 mkdir -p build
32 cd build
33 %cmake ..
34 make
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 cd build
39 make install DESTDIR=$RPM_BUILD_ROOT
40
41 %post -p /sbin/ldconfig
42 %postun -p /sbin/ldconfig
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(-,root,root,-)
49 %attr(755,root,root)
50 /usr/bin/libwebsockets-test-server
51 /usr/bin/libwebsockets-test-server-extpoll
52 /usr/bin/libwebsockets-test-server-pthreads
53 /usr/bin/libwebsockets-test-client
54 /usr/bin/libwebsockets-test-ping
55 /usr/bin/libwebsockets-test-echo
56 /usr/bin/libwebsockets-test-fraggle
57 /usr/bin/libwebsockets-test-fuzxy
58 /%{_libdir}/libwebsockets.so.7.1
59 /%{_libdir}/libwebsockets.so
60 /%{_libdir}/cmake/libwebsockets/LibwebsocketsConfig.cmake
61 /%{_libdir}/cmake/libwebsockets/LibwebsocketsConfigVersion.cmake
62 /%{_libdir}/cmake/libwebsockets/LibwebsocketsTargets.cmake
63 /usr/share/libwebsockets-test-server
64 %doc
65 %files devel
66 %defattr(-,root,root,-)
67 /usr/include/*
68 %attr(755,root,root)
69 /%{_libdir}/libwebsockets.a
70 /%{_libdir}/pkgconfig/libwebsockets.pc
71
72 %changelog
73
74 * Thu Sep 15 2016 Andy Green <andy@warmcat.com> 1.7.9-1
75 - MINOR fixes Upstream 1.7.9 release (see changelog)
76
77 * Thu May 12 2016 Andy Green <andy@warmcat.com> 1.7.8-1
78 - MINOR fixes Upstream 1.7.8 release (see changelog)
79
80 * Sat May 03 2016 Andy Green <andy@warmcat.com> 1.7.7-1
81 - MINOR fixes Upstream 1.7.7 release (see changelog)
82
83 * Sat Apr 22 2016 Andy Green <andy@warmcat.com> 1.7.6-1
84 - MINOR fixes Upstream 1.7.6 release (see changelog)
85
86 * Fri Apr 1 2016 Andy Green <andy@warmcat.com> 1.7.5-1
87 - MAJOR fixes Upstream 1.7.5 release (see changelog)
88
89 * Tue Mar 29 2016 Andy Green <andy@warmcat.com> 1.7.4-2
90 - MINOR added LibwebsocketsTargets.cmake
91
92 * Mon Mar 22 2016 Andy Green <andy@warmcat.com> 1.7.4-1
93 - MINOR fixes Upstream 1.7.4 release (see changelog)
94
95 * Mon Feb 29 2016 Andy Green <andy@warmcat.com> 1.7.3-1
96 - MAJOR fixes Upstream 1.7.3 release (see changelog)
97
98 * Thu Feb 25 2016 Andy Green <andy@warmcat.com> 1.7.2-1
99 - MINOR Upstream 1.7.2 release (see changelog)
100
101 * Sat Feb 20 2016 Andy Green <andy@warmcat.com> 1.7.1-1
102 - MINOR Upstream 1.7.1 release (see changelog)
103
104 * Tue Feb 16 2016 Andy Green <andy@warmcat.com> 1.7.0-1
105 - MAJOR SONAMEBUMP APICHANGES Upstream 1.7.0 release
106
107 * Sun Jan 17 2016 Andrew Cooks <acooks@linux.com> 1.6.0-1
108 - Bump version to 1.6.0