From 40462c98743ad3fa0253e6e841229c47c65d1d1a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 14 2020 22:26:19 +0000 Subject: import libgovirt-0.3.7-1.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cd1fbde --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/etrunko-57E1C130.keyring +SOURCES/libgovirt-0.3.7.tar.xz diff --git a/.libgovirt.metadata b/.libgovirt.metadata new file mode 100644 index 0000000..7d1628f --- /dev/null +++ b/.libgovirt.metadata @@ -0,0 +1,2 @@ +02aa42ef9a871442537195bc02cf9a6bf318e41d SOURCES/etrunko-57E1C130.keyring +330fc329c88d034bf9134538f9d89c9be8110d52 SOURCES/libgovirt-0.3.7.tar.xz diff --git a/SOURCES/libgovirt-0.3.7.tar.xz.sig b/SOURCES/libgovirt-0.3.7.tar.xz.sig new file mode 100644 index 0000000..ca98d7e --- /dev/null +++ b/SOURCES/libgovirt-0.3.7.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEE4xpvoP+E+QECAZoTZjjqrFfhwTAFAl40aXYACgkQZjjqrFfh +wTDMEw//e+DcgiVmPjEPgDlTwbLDLfCFfPwT9T58/M4fOMiYjaaoIjzlVAz7YsKd +Vh9KXtAKruw6hDGC25JmhP0x3HWP1DK78lhs0LEWNwKtwFV5L2D2c94p8VxGyM6j +ZW2UHKwrYMjVvzSgoiz/n9HdVi8Rz9UzShi9KYx7ZbH3gkGMOBlAua1y2Qk9HAS6 +MiI9pLkMU8tcXiBf8OlYoVj/m8H1bodvkhUO5fUEkRCns23C5okl4lWbCZZdZSgc +Pj8KLj1dLLFfdjMK3VYESwfsF7A+mgKr+hiEk1NH3F+TueSMZCkzI8Vhv8q0jZKf +qNv114Ab1XfEUk0Mi3p1I6+uhqMgy516vrH+KEku+6TjCzy2tflI+amezV6Sot/r +OgKGeV3qUYjTpV/j3TLPrfJORg3zVVTBa5DyMONQ9snZAer/PI+7/dykjgichd43 +9CcLgKZHZxItE6xdmlVuFcrLvzcAkAV8NYV1STvrInCF8BCkrDkDWbFUo6/Ny+1E +8oUVgLykZil35DgRGqILgw3+zr5Gy1NIguHhJXvQ0VPCMIk+CSUvRtZ89Gokk4Yf +dICXT0tuyjmTWybIB1Em6AWyxLSUWQr7WcOji3tQdIUbb1N7yBVLMMnZocfpCb9m +FuikXxl9PK+e3UzK91Z1RW8Fkihax7FC6bOddd5TjbSDLCCEGaE= +=QkZp +-----END PGP SIGNATURE----- diff --git a/SPECS/libgovirt.spec b/SPECS/libgovirt.spec new file mode 100644 index 0000000..216dc23 --- /dev/null +++ b/SPECS/libgovirt.spec @@ -0,0 +1,203 @@ +# -*- rpm-spec -*- + +%global with_gir 0 + +# Default to skipping autoreconf. Distros can change just this one line +# (or provide a command-line override) if they backport any patches that +# touch configure.ac or Makefile.am. + +# Force running autoreconf because data center patches touch Makefile.am. +# To disable autoreconf, change the value to 0. +%{!?enable_autotools:%global enable_autotools 1} + +%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7 +%global with_gir 1 +%endif + +Summary: A GObject library for interacting with oVirt REST API +Name: libgovirt +Version: 0.3.7 +Release: 1%{?dist}%{?extra_release} +License: LGPLv2+ +Group: Development/Libraries +Source0: http://ftp.gnome.org/pub/GNOME/sources/libgovirt/0.3/%{name}-%{version}.tar.xz +Source1: http://ftp.gnome.org/pub/GNOME/sources/libgovirt/0.3/%{name}-%{version}.tar.xz.sig +Source2: etrunko-57E1C130.keyring +URL: https://gitlab.gnome.org/GNOME/libgovirt + +%if 0%{?enable_autotools} +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gettext-devel +BuildRequires: libtool +%endif +BuildRequires: git-core + +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: intltool +BuildRequires: rest-devel >= 0.7.92 +%if %{with_gir} +BuildRequires: gobject-introspection-devel +%endif +#needed for make check +BuildRequires: glib-networking +BuildRequires: dconf +#needed for GPG signature checek +BuildRequires: gnupg2 + +%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 +gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} +%autosetup -S git_am + +%build +%if 0%{?enable_autotools} +autoreconf -if +%endif + +%if %{with_gir} +%global gir_arg --enable-introspection=yes +%else +%global gir_arg --enable-introspection=no +%endif + +%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 + +%ldconfig_scriptlets + +%files -f %{name}.lang +%doc AUTHORS COPYING MAINTAINERS README +%{_libdir}/%{name}.so.2* +%if %{with_gir} +%{_libdir}/girepository-1.0/GoVirt-1.0.typelib +%endif + +%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 +%if %{with_gir} +%{_datadir}/gir-1.0/GoVirt-1.0.gir +%endif + +%changelog +* Fri May 08 2020 Eduardo Lima (Etrunko) - 0.3.7-1 +- Rebase to latest upstream version + Resolves: rhbz#1801226 + +* Mon Mar 16 2020 Eduardo Lima (Etrunko) - 0.3.4-11 +- Bumped version and rebuild to trigger gating for 8.2.0.z properly + Resolves: rhbz#1813962 + +* Mon Mar 16 2020 Eduardo Lima (Etrunko) - 0.3.4-10 +- Update to RHV REST API version 4 + Resolves: rhbz#1813962 + +* Mon Aug 2 2019 Eduardo Lima (Etrunko) - 0.3.4-9 +- Sync with the rhel 7.7 package + Related: rhbz#1717900 + +* Mon Jun 11 2018 Christophe Fergeau - 0.3.4-8 +- Sync with the rhel 7.6 package + Resolves: rhbz#1584506 + +* Fri Feb 09 2018 Igor Gnatenko - 0.3.4-7 +- Escape macros in %%changelog + +* Wed Feb 07 2018 Fedora Release Engineering - 0.3.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Feb 03 2018 Igor Gnatenko - 0.3.4-5 +- Switch to %%ldconfig_scriptlets + +* Thu Aug 03 2017 Fedora Release Engineering - 0.3.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.3.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.3.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Apr 13 2016 Christophe Fergeau 0.3.4-1 +- Update to libgovirt 0.3.4 + +* Thu Feb 04 2016 Fedora Release Engineering - 0.3.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Apr 08 2015 Christophe Fergeau 0.3.3-1 +- Update to upstream release 0.3.3 + +* Thu Oct 09 2014 Christophe Fergeau 0.3.2-1 +- Update to upstream release 0.3.2 + +* Wed Sep 03 2014 Christophe Fergeau 0.3.1-1 +- Update to upstream release 0.3.1 + +* Sun Aug 17 2014 Fedora Release Engineering - 0.3.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Aug 02 2014 Richard Jones - 0.3.0-6 +- Force rebuild for aarch64. + +* Tue Jul 22 2014 Kalev Lember - 0.3.0-5 +- Rebuilt for gobject-introspection 1.41.4 + +* Sat Jun 07 2014 Fedora Release Engineering - 0.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Nov 26 2013 Christophe Fergeau 0.3.0-3 +- Actually apply Patch0 /o\ + +* Tue Nov 26 2013 Christophe Fergeau 0.3.0-2 +- Add patch to fix a memory corruption issue when librest does not have the + RestProxy::ssl-ca-file property (which is currently the case in Fedora) + +* Sat Aug 03 2013 Fedora Release Engineering - 0.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jun 11 2013 Christophe Fergeau 0.1.0-1 +- Update to upstream release 0.1.0 + +* Mon Mar 11 2013 Christophe Fergeau 0.0.3-2 +- Removed definition of BuildRoot and cleanup of BuildRoot in %%clean +- Added missing arch to versioned Requires: %%{name} in the -devel package +- Don't include empty NEWS and ChangeLog in built RPM + +* Wed Feb 20 2013 Christophe Fergeau 0.0.3-1 +- Initial import of libgovirt 0.0.3 + +