Name: libgovirt Version: 0.3.4 Release: 201708040011.4.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.4.tar.xz 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.4 %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 * Fri Aug 4 2017 SPICE Development Team - 0.3.4-201708040011.4.spice.nightly - Build from git commmit e2dde627ecba4c8e43631df1a779c5526e7fc298 in @spice/nightly copr