Name: libgovirt Version: 0.3.6 Release: 201907022001.6.spice.nightly%{?dist} Summary: A GObject library for interacting with oVirt REST API Group: Development/Libraries License: LGPLv2+ URL: http://people.freedesktop.org/~teuf/govirt/ Source0: libgovirt-0.3.6.tar.xz BuildRequires: gcc BuildRequires: glib2-devel BuildRequires: intltool BuildRequires: rest-devel >= 0.7.92 BuildRequires: gobject-introspection-devel #needed for make check BuildRequires: glib-networking BuildRequires: dconf %description libgovirt is a library that allows applications to use oVirt REST API to list VMs managed by an oVirt instance, and to get the connection parameters needed to make a SPICE/VNC connection to them. %package devel Summary: Libraries, includes, etc. to compile with the libgovirt library Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig Requires: glib2-devel %description devel libgovirt is a library that allows applications to use oVirt REST API to list VMs managed by an oVirt instance, and to get the connection parameters needed to make a SPICE/VNC connection to them. Libraries, includes, etc. to compile with the libgovirt library %prep %setup -q -n libgovirt-0.3.6 %build %global gir_arg --enable-introspection=yes %configure %{gir_arg} %__make %{?_smp_mflags} V=1 %install %__make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_libdir}/*.a rm -f %{buildroot}%{_libdir}/*.la %find_lang %{name} --with-gnome %check make check %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %doc AUTHORS COPYING MAINTAINERS README %{_libdir}/%{name}.so.2* %{_libdir}/girepository-1.0/GoVirt-1.0.typelib %files devel %{_libdir}/%{name}.so %dir %{_includedir}/govirt-1.0/ %dir %{_includedir}/govirt-1.0/govirt/ %{_includedir}/govirt-1.0/govirt/*.h %{_libdir}/pkgconfig/govirt-1.0.pc %{_datadir}/gir-1.0/GoVirt-1.0.gir %changelog * Tue Jul 2 2019 SPICE Development Team - 0.3.6-201907022001.6.spice.nightly - Build from git commmit bab400e6fefbffa47144998613e0f8133d7599aa in @spice/nightly copr