Package libgovirt: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | # BEGIN SourceDeps(oneline): BuildRequires: pkgconfig(gio-2.0) # END SourceDeps(oneline) # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %global major 2 %define libname libgovirt%{major} %define devname libgovirt-devel # -*- rpm-spec -*- %global with_gir 1 Summary: A GObject library for interacting with oVirt REST API Name: libgovirt Version: 0.3.4 Release: alt1_8.c9f1.1 License: LGPLv2+ Group: Development/C 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.sign Source2: cfergeau-29AC6C82.keyring URL: http://people.freedesktop.org/~teuf/govirt/ BuildRequires: glib2-devel BuildRequires: intltool BuildRequires: librest-devel librest-gir-devel %if %{with_gir} BuildRequires: gobject-introspection-devel %endif #needed for make check BuildRequires: glib-networking BuildRequires: dconf #needed for GPG signature checek BuildRequires: gnupg gnupg2 Source44: import.info %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 -n %libname Summary: A GObject library for interacting with oVirt REST API Group: System/Libraries Requires: %name %description -n %libname 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 -n %devname Summary: Libraries, includes, etc. to compile with the libgovirt library Group: Development/C Requires: libgovirt = %{version}-%{release} Requires: pkgconfig %description -n %devname 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} %setup -q %build %if %{with_gir} %global gir_arg --enable-introspection=yes %else %global gir_arg --enable-introspection=no %endif %configure %{gir_arg} %make_build V=1 %install %makeinstall_std rm -f %{buildroot}%{_libdir}/*.a rm -f %{buildroot}%{_libdir}/*.la %find_lang %{name} --with-gnome %check make check || : %files -f %{name}.lang %doc AUTHORS COPYING MAINTAINERS README %files -n %{libname} %{_libdir}/%{name}.so.%{major} %{_libdir}/%{name}.so.%{major}.* %if %{with_gir} %{_libdir}/girepository-1.0/GoVirt-1.0.typelib %endif %files -n %devname %{_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 * Sun Nov 08 2020 Michael Shigorin <mike@altlinux.org> 0.3.4-alt1_8.c9f1.1 - srpm_cleanup related ftbfs fixup (the signature's been checked during sisyphus build already) * Sat Jul 13 2019 Igor Vlasenko <viy@altlinux.ru> 0.3.4-alt1_8 - fixed build * Mon May 07 2018 Igor Vlasenko <viy@altlinux.ru> 0.3.4-alt1_7 - update to new release by fcimport * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 0.3.4-alt1_4 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 0.3.4-alt1_2 - update to new release by fcimport * Sun May 08 2016 Igor Vlasenko <viy@altlinux.ru> 0.3.4-alt1_1 - update to new release by fcimport * Mon Feb 15 2016 Igor Vlasenko <viy@altlinux.ru> 0.3.3-alt1_3 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 0.3.3-alt1_2 - update to new release by fcimport * Mon Oct 27 2014 Igor Vlasenko <viy@altlinux.ru> 0.3.2-alt1_1 - update to new release by fcimport * Wed Aug 27 2014 Igor Vlasenko <viy@altlinux.ru> 0.3.0-alt1_7 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.3.0-alt1_4 - update to new release by fcimport * Tue Dec 03 2013 Igor Vlasenko <viy@altlinux.ru> 0.3.0-alt1_3 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 0.1.0-alt1_2 - update to new release by fcimport * Fri Jun 21 2013 Igor Vlasenko <viy@altlinux.ru> 0.1.0-alt1_1 - update to new release by fcimport * Fri Apr 26 2013 Igor Vlasenko <viy@altlinux.ru> 0.0.3-alt1_2 - initial fc import |