devel: add corosync-qdevice.pc file for pcs to use

add corosync-qdevice-devel package for future

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
This commit is contained in:
Fabio M. Di Nitto 2020-11-11 15:48:54 +01:00 committed by Jan Friesse
parent 2b18b0bc14
commit cc7f23cf11
5 changed files with 24 additions and 0 deletions

1
.gitignore vendored
View File

@ -10,6 +10,7 @@ doc
Makefile
Makefile.in
corosync-qdevice.spec
corosync-qdevice.pc
aclocal.m4
autom4te.cache/
compile

View File

@ -48,6 +48,9 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure depcomp \
dist_doc_DATA = LICENSE
pkgconfigdir = ${prefix}/share/pkgconfig
pkgconfig_DATA = corosync-qdevice.pc
SUBDIRS = qdevices man init
install-exec-local:

View File

@ -105,6 +105,7 @@ AC_CONFIG_FILES([Makefile
qdevices/Makefile
man/Makefile
init/Makefile
corosync-qdevice.pc
])
# ===============================================

7
corosync-qdevice.pc.in Normal file
View File

@ -0,0 +1,7 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
confdir=@COROSYSCONFDIR@
Name: @PACKAGE@
Version: @VERSION@
Description: @PACKAGE@ build information required for downstream projects

View File

@ -147,6 +147,18 @@ fi
%{_mandir}/man8/corosync-qdevice-net-certutil.8*
%{_mandir}/man8/corosync-qdevice.8*
%package -n corosync-qdevice-devel
Summary: The Corosync Cluster Engine Qdevice Network Development Kit
Requires: pkgconfig
%description -n corosync-qdevice-devel
This package contains files used to develop using
The Corosync Cluster Engine Qdevice
%files -n corosync-qdevice-devel
%license LICENSE
%{_datadir}/pkgconfig/corosync-qdevice.pc
%package -n corosync-qnetd
Summary: The Corosync Cluster Engine Qdevice Network Daemon
Requires: nss-tools