2012-01-04 14:22:45 +00:00
|
|
|
# -*- rpm-spec -*-
|
|
|
|
|
|
|
|
Summary: A library for managing OS information for virtualization
|
|
|
|
Name: libosinfo
|
2019-05-09 08:30:43 +00:00
|
|
|
Version: 1.5.0
|
2019-07-25 14:04:04 +00:00
|
|
|
Release: 4%{?dist}%{?extra_release}
|
2012-01-04 14:22:45 +00:00
|
|
|
License: LGPLv2+
|
2017-08-15 10:55:21 +00:00
|
|
|
Source: https://releases.pagure.io/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
URL: https://libosinfo.org/
|
2019-04-10 12:19:21 +00:00
|
|
|
|
2019-06-03 08:22:23 +00:00
|
|
|
### Patches ###
|
|
|
|
Patch0001: 0001-db-Avoid-dereference-of-null-pointer.patch
|
|
|
|
Patch0002: 0002-tree-Avoid-use-of-memory-after-it-s-freed.patch
|
|
|
|
Patch0003: 0003-tree-Cleanup-_create_from_location_async_helper.patch
|
2019-07-10 11:25:57 +00:00
|
|
|
Patch0004: 0004-tools-install-script-Add-config-file-f-option.patch
|
|
|
|
Patch0005: 0005-tools-install-script-Deprecate-config-user-admin-pas.patch
|
2019-06-03 08:22:23 +00:00
|
|
|
|
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
|
2012-01-04 14:22:45 +00:00
|
|
|
BuildRequires: vala
|
2018-06-20 10:11:00 +00:00
|
|
|
BuildRequires: libcurl-devel
|
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
|
2018-10-11 18:02:30 +00:00
|
|
|
BuildRequires: osinfo-db >= 20181011-1
|
2019-04-10 12:19:21 +00:00
|
|
|
BuildRequires: git
|
2013-03-20 23:22:31 +00:00
|
|
|
Requires: hwdata
|
2018-10-11 18:02:30 +00:00
|
|
|
Requires: osinfo-db >= 20181011-1
|
2016-10-07 16:05:09 +00:00
|
|
|
Requires: osinfo-db-tools
|
2019-04-11 15:07:15 +00:00
|
|
|
Requires: gvfs
|
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
|
2016-10-07 16:05:09 +00:00
|
|
|
%configure --enable-introspection=yes --enable-vala=yes
|
2012-01-04 14:22:45 +00:00
|
|
|
%__make %{?_smp_mflags} V=1
|
|
|
|
|
|
|
|
chmod a-x examples/*.js examples/*.py
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -fr %{buildroot}
|
|
|
|
%__make install DESTDIR=%{buildroot}
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.a
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
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
|
2016-10-07 16:05:09 +00:00
|
|
|
if ! make check
|
|
|
|
then
|
2017-08-15 10:55:21 +00:00
|
|
|
cat tests/test-suite.log || true
|
2019-04-10 13:18:44 +00:00
|
|
|
exit 1
|
2016-10-07 16:05:09 +00:00
|
|
|
fi
|
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
|
|
|
|
%doc examples/demo.js
|
|
|
|
%doc examples/demo.py
|
|
|
|
%{_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-02-04 12:06:45 +00:00
|
|
|
%dir %{_datadir}/vala
|
|
|
|
%dir %{_datadir}/vala/vapi
|
2012-01-04 14:22:45 +00:00
|
|
|
%{_datadir}/vala/vapi/libosinfo-1.0.vapi
|
|
|
|
|
|
|
|
%changelog
|
2019-07-25 14:04:04 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-10 11:25:57 +00:00
|
|
|
* Wed Jul 10 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.5.0-3
|
|
|
|
- rhbz#1727767 - CVE-2019-13313 libosinfo: osinfo-install-script
|
|
|
|
option leaks password via command line argument
|
|
|
|
|
2019-06-03 08:22:23 +00:00
|
|
|
* Mon Jun 03 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.5.0-2
|
|
|
|
- Fix coverity issues
|
|
|
|
|
2019-05-09 08:30:43 +00:00
|
|
|
* Thu May 09 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.5.0-1
|
|
|
|
- Update to 1.5.0 release
|
|
|
|
|
2019-04-11 15:07:15 +00:00
|
|
|
* Thu Apr 11 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.4.0-3
|
|
|
|
- rhbz#1698845: Require GVFS
|
|
|
|
|
2019-04-10 12:19:21 +00:00
|
|
|
* Wed Apr 10 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.4.0-2
|
|
|
|
- Fix usage of application ID
|
2019-04-10 12:20:47 +00:00
|
|
|
- Fix images' load
|
2019-04-10 12:39:03 +00:00
|
|
|
- Remove tests depending on osinfo-db
|
2019-04-10 12:19:21 +00:00
|
|
|
|
2019-03-01 16:20:07 +00:00
|
|
|
* Fri Mar 01 2019 Fabiano Fidêncio <fidencio@redhat.com> 1.4.0-1
|
|
|
|
- Update to 1.4.0 release
|
|
|
|
|
2019-02-04 12:06:45 +00:00
|
|
|
* Mon Feb 04 2019 Kalev Lember <klember@redhat.com> - 1.3.0-3
|
|
|
|
- Use standard vala packaging pattern where vapi files are in -devel
|
|
|
|
|
2019-02-01 07:54:06 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-30 18:30:56 +00:00
|
|
|
* Wed Jan 30 2019 Daniel P. Berrangé <berrange@redhat.com> - 1.3.0-1
|
|
|
|
- Update to 1.3.0 release
|
|
|
|
|
2018-10-11 18:02:30 +00:00
|
|
|
* Thu Oct 11 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 1.2.0-5
|
|
|
|
- Do not force anchored patterns on libosinfo, leave it for osinfo-db
|
|
|
|
|
2018-09-20 19:17:32 +00:00
|
|
|
* Thu Sep 20 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 1.2.0-4
|
|
|
|
- Require osinfo-db >= 20180920-1
|
|
|
|
|
2018-09-20 17:57:00 +00:00
|
|
|
* Thu Sep 20 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 1.2.0-3
|
|
|
|
- Force anchored patterns when matching regex
|
|
|
|
|
2018-07-13 08:37:08 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-20 10:11:00 +00:00
|
|
|
* Wed Jun 20 2018 Daniel P. Berrangé <berrange@redhat.com> - 1.2.0-1
|
|
|
|
- Update to 1.2.0 release
|
|
|
|
|
2018-02-06 10:46:05 +00:00
|
|
|
* Tue Feb 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.0-2
|
|
|
|
- Switch to %%ldconfig_scriptlets
|
|
|
|
|
2017-08-15 10:55:21 +00:00
|
|
|
* Tue Aug 15 2017 Daniel P. Berrange <berrange@redhat.com> 1.1.0-1
|
|
|
|
- New upstream release 1.1.0
|
|
|
|
|
2017-08-03 02:02:33 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 19:27:58 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 19:13:41 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-10-07 16:05:09 +00:00
|
|
|
* Fri Oct 7 2016 Daniel P. Berrange <berrange@redhat.com> 1.0.0-1
|
|
|
|
- New upstream release 1.0.0
|
|
|
|
|
2016-07-01 09:47:34 +00:00
|
|
|
* Fri Jul 1 2016 Daniel P. Berrange <berrange@redhat.com> 0.3.1-1
|
|
|
|
- New upstream release 0.3.1
|
|
|
|
|
2016-02-04 03:42:39 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-08 19:41:03 +00:00
|
|
|
* Fri Jan 8 2016 Zeeshan Ali <zeenix@redhat.com> 0.3.0-1
|
|
|
|
- New upstream release 0.3.0
|
|
|
|
|
2015-06-17 16:19:46 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.12-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-28 13:39:25 +00:00
|
|
|
* Thu May 28 2015 Zeeshan Ali <zeenix@redhat.com> 0.2.12-1
|
|
|
|
- New upstream release 0.2.12
|
|
|
|
|
2014-09-22 21:44:04 +00:00
|
|
|
* Mon Sep 22 2014 Cole Robinson <crobinso@redhat.com> - 0.2.11-2
|
|
|
|
- os: Add Fedora 21
|
|
|
|
|
2014-08-26 06:51:35 +00:00
|
|
|
* Tue Aug 26 2014 Christophe Fergeau <cfergeau@redhat.com> 0.2.11-1
|
|
|
|
- New upstream release 0.2.11
|
|
|
|
|
2014-08-17 05:17:43 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.9-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-22 17:52:57 +00:00
|
|
|
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.9-3
|
|
|
|
- Rebuilt for gobject-introspection 1.41.4
|
|
|
|
|
2014-06-07 04:55:33 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-12-18 15:24:09 +00:00
|
|
|
* Wed Dec 18 2013 Debarshi Ray <rishi@fedoraproject.org> - 0.2.9-1
|
|
|
|
- New upstream release 0.2.9
|
|
|
|
|
2013-11-28 12:08:26 +00:00
|
|
|
* Thu Nov 28 2013 Zeeshan Ali <zeenix@redhat.com> - 0.2.8-1
|
|
|
|
- New upstream release 0.2.8
|
|
|
|
|
2013-08-03 06:37:53 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-05-13 23:57:20 +00:00
|
|
|
* Tue May 14 2013 Zeeshan Ali <zeenix@redhat.com> - 0.2.7-1
|
|
|
|
- New upstream release 0.2.7
|
|
|
|
|
2013-03-20 22:35:39 +00:00
|
|
|
* Thu Mar 21 2013 Zeeshan Ali <zeenix@redhat.com> - 0.2.6-1
|
|
|
|
- New upstream release 0.2.6
|
|
|
|
|
2013-03-06 09:17:18 +00:00
|
|
|
* Wed Mar 06 2013 Christophe Fergeau <cfergeau@redhat.com> - 0.2.5-2
|
|
|
|
- BuildRequires /usr/bin/pod2man as this will automatically pick the right
|
|
|
|
package rather than conditionally requiring a package that is only
|
|
|
|
available in f19+
|
|
|
|
- Do not Requires: udev when building libosinfo without its udev rule
|
|
|
|
(which is done on f19+)
|
|
|
|
|
2013-03-05 07:49:26 +00:00
|
|
|
* Tue Mar 05 2013 Christophe Fergeau <cfergeau@redhat.com> 0.2.5-1
|
|
|
|
- New upstream release 0.2.5
|
|
|
|
- Disable udev rule as it's no longer required with newer
|
|
|
|
systemd/util-linux
|
|
|
|
|
2013-02-12 16:43:59 +00:00
|
|
|
* Tue Feb 12 2013 Cole Robinson <crobinso@redhat.com> - 0.2.3-2
|
|
|
|
- Fix osinfo-detect crash with non-bootable media (bz #901910)
|
|
|
|
|
2013-01-15 02:16:54 +00:00
|
|
|
* Mon Jan 14 2013 Zeeshan Ali <zeenix@redhat.com> - 0.2.3-1
|
|
|
|
- New upstream release 0.2.3
|
|
|
|
|
2012-12-20 09:35:18 +00:00
|
|
|
* Thu Dec 20 2012 Christophe Fergeau <cfergeau@redhat.com> - 0.2.2-1
|
|
|
|
- New upstream release 0.2.2
|
|
|
|
|
2012-10-12 16:46:26 +00:00
|
|
|
* Fri Oct 12 2012 Zeeshan Ali <zeenix@redhat.com> - 0.2.1-1
|
|
|
|
- Fix and simplify udev rule.
|
|
|
|
- Fedora:
|
|
|
|
- Fix minimum RAM requirements for F16 and F17.
|
|
|
|
- Add data on:
|
|
|
|
- Fedora 18
|
|
|
|
- GNOME 3.6
|
|
|
|
- Ubuntu 12.10
|
|
|
|
- Fixes to doc build.
|
|
|
|
- Install script:
|
|
|
|
- Add get_config_param method.
|
|
|
|
- Differenciate between expected/output script names.
|
|
|
|
- Add more utility functions.
|
|
|
|
- Add 'installer-reboots' parameter to medias.
|
|
|
|
- osinfo-detect does not die of DB loading errors anymore.
|
|
|
|
- More type-specific entity value getters/setters.
|
|
|
|
- Fixe and update RNG file.
|
|
|
|
- Add 'subsystem' property/attribute to devices.
|
|
|
|
|
2012-09-03 20:06:17 +00:00
|
|
|
* Mon Sep 03 2012 Christophe Fergeau <cfergeau@redhat.com> - 0.2.0-1
|
|
|
|
- Update to 0.2.0 release.
|
|
|
|
|
2012-07-19 20:47:55 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-11 21:27:44 +00:00
|
|
|
* Tue Jun 12 2012 Zeeshan Ali <zeenix@redhat.com> - 0.1.2-1
|
|
|
|
- Update to 0.1.2 release.
|
|
|
|
|
2012-04-12 13:44:34 +00:00
|
|
|
* Thu Apr 12 2012 Zeeshan Ali <zeenix@redhat.com> - 0.1.1-1
|
|
|
|
- Update to 0.1.1 release.
|
|
|
|
|
2012-03-14 11:18:25 +00:00
|
|
|
* Wed Mar 14 2012 Daniel P. Berrange <berrange@redhat.com> - 0.1.0-2
|
|
|
|
- Remove obsolete perl based scripts (rhbz #803086)
|
|
|
|
|
2012-02-08 09:52:09 +00:00
|
|
|
* Wed Feb 08 2012 Christophe Fergeau <cfergeau@redhat.com> - 0.1.0-1
|
|
|
|
- Update to 0.1.0 release
|
|
|
|
|
2012-01-17 13:48:06 +00:00
|
|
|
* Tue Jan 17 2012 Zeeshan Ali <zeenix@redhat.com> - 0.0.5-1
|
|
|
|
- Update to 0.0.5 release
|
|
|
|
|
2012-01-04 14:22:45 +00:00
|
|
|
* Tue Jan 3 2012 Daniel P. Berrange <berrange@redhat.com> - 0.0.4-2
|
|
|
|
- Remove pointless gir conditionals
|
|
|
|
|
|
|
|
* Wed Dec 21 2011 Daniel P. Berrange <berrange@redhat.com> - 0.0.4-1
|
|
|
|
- Update to 0.0.4 release
|
|
|
|
|
|
|
|
* Thu Nov 24 2011 Daniel P. Berrange <berrange@redhat.com> - 0.0.2-1
|
|
|
|
- Initial package
|
|
|
|
|