|
|
@ -48,18 +48,14 @@ Example code for Codec 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir build_linux && pushd build_linux
|
|
|
|
|
|
|
|
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
-DLPCNET=ON \
|
|
|
|
-DLPCNET=ON
|
|
|
|
../
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
pushd build_linux
|
|
|
|
%cmake_install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Create and install pkgconfig file
|
|
|
|
# Create and install pkgconfig file
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
|
|
|