From b92d67fa13859d65dad6ceeb856762cac4c68bbb Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:04:05 +0100 Subject: [PATCH] update to 4.0.0 [release 4.0.0-1mamba;Wed Apr 28 2021] --- libvirt-glib.spec | 66 ++++++++++------------------------------------- 1 file changed, 14 insertions(+), 52 deletions(-) diff --git a/libvirt-glib.spec b/libvirt-glib.spec index 91aa9e1..8620fd2 100644 --- a/libvirt-glib.spec +++ b/libvirt-glib.spec @@ -1,57 +1,23 @@ Name: libvirt-glib -Version: 3.0.0 +Version: 4.0.0 Release: 1mamba Summary: A C toolkit to interact with the virtualization capabilities of recent versions of Linux Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://libvirt.org/sources/glib/ -Source: http://libvirt.org/sources/glib/libvirt-glib-%{version}.tar.gz +URL: https://libvirt.org/sources/glib/ +Source: http://libvirt.org/sources/glib/libvirt-glib-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libaudit-devel -BuildRequires: libavahi-devel -BuildRequires: libcap-ng-devel -BuildRequires: libcares-devel -BuildRequires: libcurl-devel -BuildRequires: libdbus-devel -BuildRequires: libdevmapper-devel -BuildRequires: libe2fs-devel -BuildRequires: libffi-devel -BuildRequires: libgcrypt-devel BuildRequires: libglib-devel -BuildRequires: libgmp-devel -BuildRequires: libgnutls-devel -BuildRequires: libgpg-error-devel -BuildRequires: libidn-devel -BuildRequires: libkeyutils-devel -BuildRequires: libkrb5-devel -BuildRequires: liblzma-devel -BuildRequires: libnettle-devel -BuildRequires: libnl-devel -BuildRequires: libopenldap-devel -BuildRequires: libopenssl-devel -BuildRequires: libp11-kit-devel -BuildRequires: libpython-devel -BuildRequires: librtmp-devel -BuildRequires: libsasl-devel -BuildRequires: libselinux-devel -BuildRequires: libssh2-devel -BuildRequires: libssp-devel -BuildRequires: libsystemd-devel -BuildRequires: libtasn1-devel -BuildRequires: libtirpc-devel BuildRequires: libvirt-devel BuildRequires: libxml2-devel -BuildRequires: libyajl-devel -BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libxen-devel >= 4.8.0-1mamba Provides: python-libvirt-glib -Obsoletes: python-libvirt-glib -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Obsoletes: python-libvirt-glib <= 3.0.0 %description libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). @@ -60,8 +26,7 @@ libvirt is a C toolkit to interact with the virtualization capabilities of recen Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} -## note: you can add this requirement if .pc files are provided by this package -#Requires: pkg-config +Requires: pkg-config %description devel This package contains libraries and header files for developing applications that use %{name}. @@ -89,14 +54,13 @@ This package includes the %{name} API documentation. %setup -q %build -%configure -#--enable-gtk-doc +%meson -%make -j1 +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%meson_install %find_lang %{name} || touch %{name}.lang @@ -127,11 +91,8 @@ This package includes the %{name} API documentation. %{_includedir}/libvirt-glib-1.0/libvirt-glib/*.h %dir %{_includedir}/libvirt-gobject-1.0/libvirt-gobject %{_includedir}/libvirt-gobject-1.0/libvirt-gobject/*.h -%{_libdir}/libvirt-gconfig-1.0.la %{_libdir}/libvirt-gconfig-1.0.so -%{_libdir}/libvirt-glib-1.0.la %{_libdir}/libvirt-glib-1.0.so -%{_libdir}/libvirt-gobject-1.0.la %{_libdir}/libvirt-gobject-1.0.so %{_libdir}/pkgconfig/libvirt-gconfig-1.0.pc %{_libdir}/pkgconfig/libvirt-glib-1.0.pc @@ -139,11 +100,9 @@ This package includes the %{name} API documentation. %{_datadir}/gir-1.0/LibvirtGConfig-1.0.gir %{_datadir}/gir-1.0/LibvirtGLib-1.0.gir %{_datadir}/gir-1.0/LibvirtGObject-1.0.gir -%{_datadir}/vala/vapi/libvirt-gconfig-1.0.vapi -%{_datadir}/vala/vapi/libvirt-glib-1.0.vapi -%{_datadir}/vala/vapi/libvirt-gobject-1.0.deps -%{_datadir}/vala/vapi/libvirt-gobject-1.0.vapi -%doc ChangeLog NEWS README +%{_datadir}/vala/vapi/libvirt-*.vapi +%{_datadir}/vala/vapi/libvirt-*.deps +%doc NEWS README #%files -n python-libvirt-glib #%defattr(-,root,root) @@ -161,6 +120,9 @@ This package includes the %{name} API documentation. %{_datadir}/gtk-doc/html/Libvirt-gobject/* %changelog +* Wed Apr 28 2021 Silvan Calarco 4.0.0-1mamba +- update to 4.0.0 + * Thu May 21 2020 Automatic Build System 3.0.0-1mamba - automatic version update by autodist