From 5b5d20d00a9eac053191fc4b0a4f69b7f2ebe220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= Date: Wed, 7 Nov 2018 09:56:20 +0100 Subject: [PATCH] Add websocketpp.pc to files --- websocketpp.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/websocketpp.spec b/websocketpp.spec index 4963033..ec91d0e 100644 --- a/websocketpp.spec +++ b/websocketpp.spec @@ -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 - 0.8.1-3 +- Add websocketpp.pc to files + * Wed Oct 31 2018 Wolfgang Stöggl - 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