bf0538
# -*- rpm-spec -*-
bf0538
bf0538
Name: libvirt-glib
bf0538
Version: 4.0.0
bf0538
Release: 3%{?dist}
bf0538
Summary: libvirt glib integration for events
bf0538
License: LGPLv2+
bf0538
URL: https://libvirt.org/
bf0538
Source0: https://libvirt.org/sources/glib/%{name}-%{version}.tar.xz
bf0538
Patch1: %{name}-%{version}-cast-align.patch
bf0538
bf0538
BuildRequires: meson
bf0538
BuildRequires: glib2-devel
bf0538
BuildRequires: libvirt-devel
bf0538
BuildRequires: gobject-introspection-devel
bf0538
BuildRequires: libxml2-devel
bf0538
BuildRequires: vala-tools
bf0538
BuildRequires: gettext
bf0538
BuildRequires: gtk-doc
bf0538
bf0538
%package devel
bf0538
Summary: libvirt glib integration for events development files
bf0538
Requires: %{name} = %{version}-%{release}
bf0538
bf0538
%package -n libvirt-gconfig
bf0538
Summary: libvirt object APIs for processing object configuration
bf0538
bf0538
%package -n libvirt-gobject
bf0538
Summary: libvirt object APIs for managing virtualization hosts
bf0538
bf0538
%package -n libvirt-gconfig-devel
bf0538
Summary: libvirt object APIs for processing object configuration development files
bf0538
Requires: libvirt-gconfig = %{version}-%{release}
bf0538
bf0538
%package -n libvirt-gobject-devel
bf0538
Summary: libvirt object APIs for managing virtualization hosts development files
bf0538
Requires: %{name}-devel = %{version}-%{release}
bf0538
Requires: libvirt-gconfig-devel = %{version}-%{release}
bf0538
Requires: libvirt-gobject = %{version}-%{release}
bf0538
Requires: libvirt-devel
bf0538
bf0538
%description
bf0538
This package provides integration between libvirt and the glib
bf0538
event loop.
bf0538
bf0538
%description devel
bf0538
This package provides development header files and libraries for
bf0538
integration between libvirt and the glib event loop.
bf0538
bf0538
%description -n libvirt-gconfig
bf0538
This package provides APIs for processing the object configuration
bf0538
data
bf0538
bf0538
%description -n libvirt-gconfig-devel
bf0538
This package provides development header files and libraries for
bf0538
the object configuration APIs.
bf0538
bf0538
%description -n libvirt-gobject
bf0538
This package provides APIs for managing virtualization host
bf0538
objects
bf0538
bf0538
%description -n libvirt-gobject-devel
bf0538
This package provides development header files and libraries for
bf0538
managing virtualization host objects
bf0538
bf0538
%prep
bf0538
%setup -q
bf0538
%patch1 -p1
bf0538
bf0538
%build
bf0538
%meson -Drpath=disabled
bf0538
%meson_build
bf0538
bf0538
%install
bf0538
%meson_install
bf0538
bf0538
%find_lang %{name}
bf0538
bf0538
%check
bf0538
%meson_test
bf0538
bf0538
%ldconfig_scriptlets
bf0538
bf0538
%ldconfig_scriptlets -n libvirt-gconfig
bf0538
bf0538
%ldconfig_scriptlets -n libvirt-gobject
bf0538
bf0538
%files -f %{name}.lang
bf0538
%doc README COPYING AUTHORS NEWS
bf0538
%{_libdir}/libvirt-glib-1.0.so.*
bf0538
%{_libdir}/girepository-1.0/LibvirtGLib-1.0.typelib
bf0538
bf0538
%files -n libvirt-gconfig
bf0538
%{_libdir}/libvirt-gconfig-1.0.so.*
bf0538
%{_libdir}/girepository-1.0/LibvirtGConfig-1.0.typelib
bf0538
bf0538
%files -n libvirt-gobject
bf0538
%{_libdir}/libvirt-gobject-1.0.so.*
bf0538
%{_libdir}/girepository-1.0/LibvirtGObject-1.0.typelib
bf0538
bf0538
%files devel
bf0538
%doc examples/event-test.c
bf0538
%{_libdir}/libvirt-glib-1.0.so
bf0538
%{_libdir}/pkgconfig/libvirt-glib-1.0.pc
bf0538
%dir %{_includedir}/libvirt-glib-1.0
bf0538
%dir %{_includedir}/libvirt-glib-1.0/libvirt-glib
bf0538
%{_includedir}/libvirt-glib-1.0/libvirt-glib/libvirt-glib.h
bf0538
%{_includedir}/libvirt-glib-1.0/libvirt-glib/libvirt-glib-*.h
bf0538
%{_datadir}/gir-1.0/LibvirtGLib-1.0.gir
bf0538
%{_datadir}/gtk-doc/html/Libvirt-glib
bf0538
%{_datadir}/vala/vapi/libvirt-glib-1.0.deps
bf0538
%{_datadir}/vala/vapi/libvirt-glib-1.0.vapi
bf0538
bf0538
%files -n libvirt-gconfig-devel
bf0538
%doc examples/event-test.c
bf0538
%{_libdir}/libvirt-gconfig-1.0.so
bf0538
%{_libdir}/pkgconfig/libvirt-gconfig-1.0.pc
bf0538
%dir %{_includedir}/libvirt-gconfig-1.0
bf0538
%dir %{_includedir}/libvirt-gconfig-1.0/libvirt-gconfig
bf0538
%{_includedir}/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig.h
bf0538
%{_includedir}/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig-*.h
bf0538
%{_datadir}/gir-1.0/LibvirtGConfig-1.0.gir
bf0538
%{_datadir}/gtk-doc/html/Libvirt-gconfig
bf0538
%{_datadir}/vala/vapi/libvirt-gconfig-1.0.deps
bf0538
%{_datadir}/vala/vapi/libvirt-gconfig-1.0.vapi
bf0538
bf0538
%files -n libvirt-gobject-devel
bf0538
%doc examples/event-test.c
bf0538
%{_libdir}/libvirt-gobject-1.0.so
bf0538
%{_libdir}/pkgconfig/libvirt-gobject-1.0.pc
bf0538
%dir %{_includedir}/libvirt-gobject-1.0
bf0538
%dir %{_includedir}/libvirt-gobject-1.0/libvirt-gobject
bf0538
%{_includedir}/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject.h
bf0538
%{_includedir}/libvirt-gobject-1.0/libvirt-gobject/libvirt-gobject-*.h
bf0538
%{_datadir}/gir-1.0/LibvirtGObject-1.0.gir
bf0538
%{_datadir}/gtk-doc/html/Libvirt-gobject
bf0538
%{_datadir}/vala/vapi/libvirt-gobject-1.0.deps
bf0538
%{_datadir}/vala/vapi/libvirt-gobject-1.0.vapi
bf0538
bf0538
%changelog
bf0538
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.0.0-3
bf0538
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
bf0538
  Related: rhbz#1991688
bf0538
bf0538
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.0.0-2
bf0538
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
bf0538
bf0538
* Mon Feb 15 2021 Daniel P. Berrangé <berrange@redhat.com> - 4.0.0-1
bf0538
- Rebased to 4.0.0 release
bf0538
bf0538
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-4
bf0538
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
bf0538
bf0538
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
bf0538
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
bf0538
bf0538
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-2
bf0538
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild