2012-01-04 14:22:45 +00:00
|
|
|
# -*- rpm-spec -*-
|
|
|
|
|
|
|
|
Summary: A library for managing OS information for virtualization
|
|
|
|
Name: libosinfo
|
2022-02-14 18:48:06 +00:00
|
|
|
Version: 1.10.0
|
2022-07-21 18:37:12 +00:00
|
|
|
Release: 3%{?dist}
|
2012-01-04 14:22:45 +00:00
|
|
|
License: LGPLv2+
|
2019-11-29 13:22:20 +00:00
|
|
|
Source: https://releases.pagure.io/%{name}/%{name}-%{version}.tar.xz
|
2017-08-15 10:55:21 +00:00
|
|
|
URL: https://libosinfo.org/
|
2019-04-10 12:19:21 +00:00
|
|
|
|
2019-06-03 08:22:23 +00:00
|
|
|
### Patches ###
|
|
|
|
|
2019-11-29 13:22:20 +00:00
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gtk-doc
|
2019-03-01 16:20:07 +00:00
|
|
|
BuildRequires: gettext-devel
|
2012-01-04 14:22:45 +00:00
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: libxml2-devel >= 2.6.0
|
2012-10-12 16:46:26 +00:00
|
|
|
BuildRequires: libxslt-devel >= 1.0.0
|
2022-07-19 12:20:10 +00:00
|
|
|
BuildRequires: libsoup3-devel
|
2012-01-04 14:22:45 +00:00
|
|
|
BuildRequires: vala
|
2013-03-06 09:17:18 +00:00
|
|
|
BuildRequires: /usr/bin/pod2man
|
2016-07-01 09:47:34 +00:00
|
|
|
BuildRequires: hwdata
|
2012-04-12 15:17:39 +00:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2019-07-26 19:29:42 +00:00
|
|
|
BuildRequires: osinfo-db
|
2019-04-10 12:19:21 +00:00
|
|
|
BuildRequires: git
|
2013-03-20 23:22:31 +00:00
|
|
|
Requires: hwdata
|
2019-07-26 19:29:42 +00:00
|
|
|
Requires: osinfo-db
|
2016-10-07 16:05:09 +00:00
|
|
|
Requires: osinfo-db-tools
|
2012-01-04 14:22:45 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
libosinfo is a library that allows virtualization provisioning tools to
|
|
|
|
determine the optimal device settings for a hypervisor/operating system
|
|
|
|
combination.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Libraries, includes, etc. to compile with the libosinfo library
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: glib2-devel
|
2019-02-04 12:06:45 +00:00
|
|
|
# -vala subpackage removed in F30
|
|
|
|
Obsoletes: libosinfo-vala < 1.3.0-3
|
|
|
|
Provides: libosinfo-vala = %{version}-%{release}
|
2012-01-04 14:22:45 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
libosinfo is a library that allows virtualization provisioning tools to
|
|
|
|
determine the optimal device settings for a hypervisor/operating system
|
|
|
|
combination.
|
|
|
|
|
|
|
|
Libraries, includes, etc. to compile with the libosinfo library
|
|
|
|
|
|
|
|
%prep
|
2019-04-10 12:19:21 +00:00
|
|
|
%autosetup -S git
|
2012-01-04 14:22:45 +00:00
|
|
|
|
|
|
|
%build
|
2019-11-29 13:22:20 +00:00
|
|
|
%meson \
|
|
|
|
-Denable-gtk-doc=true \
|
|
|
|
-Denable-tests=true \
|
|
|
|
-Denable-introspection=enabled \
|
|
|
|
-Denable-vala=enabled
|
2020-08-02 20:48:36 +00:00
|
|
|
%meson_build
|
2012-01-04 14:22:45 +00:00
|
|
|
|
|
|
|
%install
|
2019-11-29 13:22:20 +00:00
|
|
|
%meson_install
|
2013-02-25 18:18:53 +00:00
|
|
|
|
2013-01-15 02:45:13 +00:00
|
|
|
%find_lang %{name}
|
2012-01-04 14:22:45 +00:00
|
|
|
|
|
|
|
%check
|
2019-11-29 13:22:20 +00:00
|
|
|
%meson_test
|
2012-01-04 14:22:45 +00:00
|
|
|
|
2018-02-06 10:46:05 +00:00
|
|
|
%ldconfig_scriptlets
|
2012-01-04 14:22:45 +00:00
|
|
|
|
2013-01-15 18:24:30 +00:00
|
|
|
%files -f %{name}.lang
|
2012-01-04 14:22:45 +00:00
|
|
|
%doc AUTHORS ChangeLog COPYING.LIB NEWS README
|
|
|
|
%{_bindir}/osinfo-detect
|
2012-04-12 15:17:39 +00:00
|
|
|
%{_bindir}/osinfo-query
|
2012-10-12 16:46:26 +00:00
|
|
|
%{_bindir}/osinfo-install-script
|
2012-04-12 15:17:39 +00:00
|
|
|
%{_mandir}/man1/osinfo-detect.1*
|
|
|
|
%{_mandir}/man1/osinfo-query.1*
|
2012-10-12 16:46:26 +00:00
|
|
|
%{_mandir}/man1/osinfo-install-script.1*
|
2012-01-04 14:22:45 +00:00
|
|
|
%{_libdir}/%{name}-1.0.so.*
|
|
|
|
%{_libdir}/girepository-1.0/Libosinfo-1.0.typelib
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/%{name}-1.0.so
|
|
|
|
%dir %{_includedir}/%{name}-1.0/
|
|
|
|
%dir %{_includedir}/%{name}-1.0/osinfo/
|
|
|
|
%{_includedir}/%{name}-1.0/osinfo/*.h
|
|
|
|
%{_libdir}/pkgconfig/%{name}-1.0.pc
|
|
|
|
%{_datadir}/gir-1.0/Libosinfo-1.0.gir
|
|
|
|
%{_datadir}/gtk-doc/html/Libosinfo
|
2019-11-29 13:22:20 +00:00
|
|
|
|
2019-02-04 12:06:45 +00:00
|
|
|
%dir %{_datadir}/vala
|
|
|
|
%dir %{_datadir}/vala/vapi
|
2019-11-29 13:22:20 +00:00
|
|
|
%{_datadir}/vala/vapi/libosinfo-1.0.deps
|
2012-01-04 14:22:45 +00:00
|
|
|
%{_datadir}/vala/vapi/libosinfo-1.0.vapi
|
|
|
|
|
|
|
|
%changelog
|
2022-07-21 18:37:12 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-19 12:20:10 +00:00
|
|
|
* Tue Jul 19 2022 Daniel P. Berrangé <berrange@redhat.com> - 1.10.0-2
|
|
|
|
- Switch from libsoup2 to libsoup3 (rhbz #2108589)
|
|
|
|
|
2022-02-14 18:48:06 +00:00
|
|
|
* Mon Feb 14 2022 Victor Toso <victortoso@redhat.com> - 1.10.0-1
|
|
|
|
- Update to 1.10.0 release
|
|
|
|
|
2022-01-20 16:55:07 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2022-01-11 16:05:27 +00:00
|
|
|
* Tue Jan 11 2022 Cole Robinson <crobinso@redhat.com> - 1.9.0-3
|
|
|
|
- Fix build with glib 2.70
|
|
|
|
|
2021-07-22 12:03:19 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2022-02-14 19:01:20 +00:00
|
|
|
* Wed Feb 03 2021 Fabiano Fidêncio <fidencio@redhat.com> - 1.9.0-1
|
2021-02-03 08:37:56 +00:00
|
|
|
- Update to 1.9.0 release
|
|
|
|
|
2021-01-26 17:42:48 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-08-01 04:05:45 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-5
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-28 05:17:34 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-30 08:04:49 +00:00
|
|
|
* Sat May 30 2020 Fabiano Fidêncio <fidencio@redhat.com> - 1.8.0-1
|
|
|
|
- Update to 1.8.0 release
|
|
|
|
|
2020-01-29 09:59:41 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-13 14:39:16 +00:00
|
|
|
* Mon Jan 13 2020 Fabiano Fidêncio <fidencio@redhat.com> - 1.7.1-2
|
|
|
|
- Fix OsinfoList ABI breakage
|