From ea6037b143c4b60ff28c0419e13fd4389ce20e4c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 19 Jan 2025 09:14:40 +0000 Subject: automatic import of codec2 --- codec2.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/codec2.spec b/codec2.spec index 50645f9..6392c71 100644 --- a/codec2.spec +++ b/codec2.spec @@ -46,14 +46,16 @@ Example code for Codec 2 %build -%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DLPCNET=ON +cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DLPCNET=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -B build -%cmake_build +cmake --build build %install -%cmake_install +DESTDIR="%{buildroot}" cmake --install build # Create and install pkgconfig file mkdir -p %{buildroot}%{_libdir}/pkgconfig -- cgit v1.2.3