mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-21 21:25:25 +00:00
Add pkg-config files for libvirt-qemu & libvirt-lxc
For some reason there have never been pkg-config files created for the libvirt-qemu.so and libvirt-lxc.so libraries. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
1167751fcb
commit
65d8c92a75
2
.gitignore
vendored
2
.gitignore
vendored
@ -84,7 +84,7 @@
|
||||
/libtool
|
||||
/libvirt-*.tar.gz
|
||||
/libvirt-[0-9]*
|
||||
/libvirt.pc
|
||||
/libvirt*.pc
|
||||
/libvirt.spec
|
||||
/ltconfig
|
||||
/ltmain.sh
|
||||
|
@ -38,6 +38,8 @@ EXTRA_DIST = \
|
||||
libvirt.spec libvirt.spec.in \
|
||||
mingw-libvirt.spec.in \
|
||||
libvirt.pc.in \
|
||||
libvirt-qemu.pc.in \
|
||||
libvirt-lxc.pc.in \
|
||||
autobuild.sh \
|
||||
Makefile.nonreentrant \
|
||||
autogen.sh \
|
||||
@ -47,7 +49,7 @@ EXTRA_DIST = \
|
||||
$(XML_EXAMPLES)
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libvirt.pc
|
||||
pkgconfig_DATA = libvirt.pc libvirt-qemu.pc libvirt-lxc.pc
|
||||
|
||||
NEWS: $(top_srcdir)/docs/news.xsl $(top_srcdir)/docs/news.html.in
|
||||
$(AM_V_GEN)if [ -x $(XSLTPROC) ] ; then \
|
||||
|
@ -2727,7 +2727,10 @@ AC_CONFIG_FILES([\
|
||||
docs/schemas/Makefile \
|
||||
gnulib/lib/Makefile \
|
||||
gnulib/tests/Makefile \
|
||||
libvirt.pc libvirt.spec mingw-libvirt.spec \
|
||||
libvirt.pc \
|
||||
libvirt-qemu.pc \
|
||||
libvirt-lxc.pc \
|
||||
libvirt.spec mingw-libvirt.spec \
|
||||
po/Makefile.in \
|
||||
include/libvirt/Makefile include/libvirt/libvirt.h \
|
||||
daemon/Makefile \
|
||||
|
14
libvirt-lxc.pc.in
Normal file
14
libvirt-lxc.pc.in
Normal file
@ -0,0 +1,14 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
datarootdir=@datarootdir@
|
||||
|
||||
libvirt_lxc_api=@datadir@/libvirt/api/libvirt-lxc-api.xml
|
||||
|
||||
Name: libvirt-lxc
|
||||
Version: @VERSION@
|
||||
Description: libvirt LXC library
|
||||
Requires: libvirt
|
||||
Libs: -L${libdir} -lvirt-lxc
|
||||
Cflags: -I${includedir}
|
14
libvirt-qemu.pc.in
Normal file
14
libvirt-qemu.pc.in
Normal file
@ -0,0 +1,14 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
datarootdir=@datarootdir@
|
||||
|
||||
libvirt_qemu_api=@datadir@/libvirt/api/libvirt-qemu-api.xml
|
||||
|
||||
Name: libvirt-qemu
|
||||
Version: @VERSION@
|
||||
Description: libvirt QEMU library
|
||||
Requires: libvirt
|
||||
Libs: -L${libdir} -lvirt-qemu
|
||||
Cflags: -I${includedir}
|
@ -5,6 +5,9 @@ includedir=@includedir@
|
||||
datarootdir=@datarootdir@
|
||||
|
||||
libvirt_api=@datadir@/libvirt/api/libvirt-api.xml
|
||||
|
||||
# For compat with older versions - also present
|
||||
# in libvirt-qemu.pc / libvirt-lxc.pc
|
||||
libvirt_qemu_api=@datadir@/libvirt/api/libvirt-qemu-api.xml
|
||||
libvirt_lxc_api=@datadir@/libvirt/api/libvirt-lxc-api.xml
|
||||
|
||||
|
@ -2148,7 +2148,9 @@ exit 0
|
||||
%{_bindir}/virt-xml-validate
|
||||
%{_bindir}/virt-pki-validate
|
||||
%{_bindir}/virt-host-validate
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_libdir}/libvirt.so.*
|
||||
%{_libdir}/libvirt-qemu.so.*
|
||||
%{_libdir}/libvirt-lxc.so.*
|
||||
|
||||
%if %{with_dtrace}
|
||||
%{_datadir}/systemtap/tapset/libvirt_probes*.stp
|
||||
@ -2205,10 +2207,17 @@ exit 0
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/libvirt.so
|
||||
%{_libdir}/libvirt-qemu.so
|
||||
%{_libdir}/libvirt-lxc.so
|
||||
%dir %{_includedir}/libvirt
|
||||
%{_includedir}/libvirt/*.h
|
||||
%{_includedir}/libvirt/virterror.h
|
||||
%{_includedir}/libvirt/libvirt.h
|
||||
%{_includedir}/libvirt/libvirt-qemu.h
|
||||
%{_includedir}/libvirt/libvirt-lxc.h
|
||||
%{_libdir}/pkgconfig/libvirt.pc
|
||||
%{_libdir}/pkgconfig/libvirt-qemu.pc
|
||||
%{_libdir}/pkgconfig/libvirt-lxc.pc
|
||||
|
||||
%dir %{_datadir}/libvirt/api/
|
||||
%{_datadir}/libvirt/api/libvirt-api.xml
|
||||
|
@ -195,6 +195,8 @@ rm -rf $RPM_BUILD_ROOT%{mingw64_libexecdir}/libvirt-guests.sh
|
||||
|
||||
%{mingw32_libdir}/libvirt.dll.a
|
||||
%{mingw32_libdir}/pkgconfig/libvirt.pc
|
||||
%{mingw32_libdir}/pkgconfig/libvirt-qemu.pc
|
||||
%{mingw32_libdir}/pkgconfig/libvirt-lxc.pc
|
||||
%{mingw32_libdir}/libvirt-lxc.dll.a
|
||||
%{mingw32_libdir}/libvirt-qemu.dll.a
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user