[packages/libvncserver] - fixed libdir in .pc file, added cmake BRs; release 2
qboosh
qboosh at pld-linux.org
Fri Apr 28 22:34:24 CEST 2023
commit a4117d1a54be8c8cf3c9bb3cb2d1e2b00c6d3553
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Apr 28 22:37:15 2023 +0200
- fixed libdir in .pc file, added cmake BRs; release 2
libvncserver.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/libvncserver.spec b/libvncserver.spec
index 0936143..7d485ab 100644
--- a/libvncserver.spec
+++ b/libvncserver.spec
@@ -7,13 +7,14 @@ Summary: LibVNCServer - a for easy implementation of VNC/RDP server
Summary(pl.UTF-8): LibVNCServer - biblioteka do łatwego implementowania serwera VNC/RDP
Name: libvncserver
Version: 0.9.14
-Release: 1
+Release: 2
License: GPL v2
Group: Libraries
#Source0Download: https://github.com/LibVNC/libvncserver/releases
Source0: https://github.com/LibVNC/libvncserver/archive/LibVNCServer-%{version}.tar.gz
# Source0-md5: 763da812ede855665efd40340b595234
URL: https://github.com/LibVNC/libvncserver/
+BuildRequires: cmake >= 3.4
BuildRequires: cyrus-sasl-devel >= 2
%{!?with_openssl:BuildRequires: gnutls-devel >= 2.4.0}
BuildRequires: libgcrypt-devel >= 1.4.0
@@ -24,6 +25,7 @@ BuildRequires: libva-x11-devel >= 1.2.0
BuildRequires: lzo-devel
%{?with_openssl:BuildRequires: openssl-devel}
BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.605
BuildRequires: sed >= 4.0
BuildRequires: systemd-devel >= 1:209
BuildRequires: xorg-lib-libX11-devel
@@ -111,6 +113,7 @@ install -d build-static
cd build-static
%cmake .. \
-DBUILD_SHARED_LIBS=OFF \
+ -DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DWITH_FFMPEG=OFF \
%{?with_openssl:-DWITH_GNUTLS=OFF} \
%{!?with_openssl:-DWITH_OPENSSL=OFF} \
@@ -123,6 +126,7 @@ cd ..
install -d build
cd build
%cmake .. \
+ -DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DWITH_FFMPEG=OFF \
%{?with_openssl:-DWITH_GNUTLS=OFF} \
%{!?with_openssl:-DWITH_OPENSSL=OFF} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libvncserver.git/commitdiff/a4117d1a54be8c8cf3c9bb3cb2d1e2b00c6d3553
More information about the pld-cvs-commit
mailing list