Add websocketpp.pc to files
This commit is contained in:
parent
1e1bda9802
commit
5b5d20d00a
|
@ -2,7 +2,7 @@
|
|||
Name: websocketpp
|
||||
Summary: C++ WebSocket Protocol Library
|
||||
Version: 0.8.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
|
||||
License: BSD
|
||||
Url: https://www.zaphoyd.com/websocketpp
|
||||
|
@ -18,6 +18,7 @@ Patch1: websocketpp-0.7.0-cmake_noarch.patch
|
|||
# Fixes build failure of tomahawk, which uses "find_package(websocketpp 0.2.99 REQUIRED)"
|
||||
# PR submitted upstream: https://github.com/zaphoyd/websocketpp/pull/740
|
||||
# Disable check for same 32/64bit-ness in websocketpp-configVersion.cmake by setting CMAKE_SIZEOF_VOID_P
|
||||
# PR submitted upstream: https://github.com/zaphoyd/websocketpp/pull/770
|
||||
Patch2: websocketpp-0.8.1-cmake-configversion-compatibility-anynewerversion.patch
|
||||
|
||||
# Disable the following tests, which fail occasionally: test_transport, test_transport_asio_timers
|
||||
|
@ -65,6 +66,8 @@ popd
|
|||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
mkdir -p %{buildroot}%{_datadir}/pkgconfig
|
||||
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pkgconfig/websocketpp.pc
|
||||
|
||||
## unpackaged files
|
||||
rm -rfv %{buildroot}%{_includedir}/test_connection/
|
||||
|
@ -80,9 +83,13 @@ make test -C %{_target_platform}
|
|||
%{_includedir}/websocketpp/
|
||||
%dir %{_datadir}/cmake/
|
||||
%{_datadir}/cmake/websocketpp/
|
||||
%{_datadir}/pkgconfig/websocketpp.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Nov 07 2018 Wolfgang Stöggl <c72578@yahoo.de> - 0.8.1-3
|
||||
- Add websocketpp.pc to files
|
||||
|
||||
* Wed Oct 31 2018 Wolfgang Stöggl <c72578@yahoo.de> - 0.8.1-2
|
||||
- Update websocketpp-0.8.1-cmake-configversion-compatibility-anynewerversion.patch
|
||||
Disable check for same 32/64bit-ness in websocketpp-configVersion.cmake
|
||||
|
|
Loading…
Reference in New Issue