libosinfo update 1.7.1
Signed-off-by: virtbuilder_pel7ppc64lebuilder0 <virtbuilder@powerel.org>master
parent
de6f4bcc94
commit
bff4687892
|
@ -1,25 +1,30 @@
|
|||
# -*- rpm-spec -*-
|
||||
%global optflags %(echo %{optflags} | sed 's/-D_FORTIFY_SOURCE=2//')
|
||||
|
||||
Summary: A library for managing OS information for virtualization
|
||||
Name: libosinfo
|
||||
Version: 1.1.0
|
||||
Release: 2%{?dist}%{?extra_release}
|
||||
Version: 1.7.1
|
||||
Release: 1%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: Development/Libraries
|
||||
Source: https://releases.pagure.io/%{name}/%{name}-%{version}.tar.gz
|
||||
Source: https://releases.pagure.io/%{name}/%{name}-%{version}.tar.xz
|
||||
URL: https://libosinfo.org/
|
||||
BuildRequires: intltool
|
||||
|
||||
### Patches ###
|
||||
|
||||
BuildRequires: meson
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: libxml2-devel >= 2.6.0
|
||||
BuildRequires: libxslt-devel >= 1.0.0
|
||||
BuildRequires: vala
|
||||
BuildRequires: vala-tools
|
||||
BuildRequires: libsoup-devel
|
||||
BuildRequires: vala
|
||||
BuildRequires: /usr/bin/pod2man
|
||||
BuildRequires: hwdata
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: osinfo-db
|
||||
BuildRequires: git
|
||||
Requires: hwdata
|
||||
Requires: osinfo-db
|
||||
Requires: osinfo-db-tools
|
||||
|
@ -31,10 +36,12 @@ combination.
|
|||
|
||||
%package devel
|
||||
Summary: Libraries, includes, etc. to compile with the libosinfo library
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: glib2-devel
|
||||
# -vala subpackage removed in F30
|
||||
Obsoletes: libosinfo-vala < 1.3.0-3
|
||||
Provides: libosinfo-vala = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
libosinfo is a library that allows virtualization provisioning tools to
|
||||
|
@ -43,44 +50,27 @@ combination.
|
|||
|
||||
Libraries, includes, etc. to compile with the libosinfo library
|
||||
|
||||
%package vala
|
||||
Summary: Vala bindings
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description vala
|
||||
libosinfo is a library that allows virtualization provisioning tools to
|
||||
determine the optimal device settings for a hypervisor/operating system
|
||||
combination.
|
||||
|
||||
This package provides the Vala bindings for libosinfo library.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -S git
|
||||
|
||||
%build
|
||||
%configure --enable-introspection=yes --enable-vala=yes
|
||||
%__make %{?_smp_mflags} V=1
|
||||
|
||||
chmod a-x examples/*.js examples/*.py
|
||||
%meson \
|
||||
-Denable-gtk-doc=true \
|
||||
-Denable-tests=true \
|
||||
-Denable-introspection=enabled \
|
||||
-Denable-vala=enabled
|
||||
|
||||
%install
|
||||
rm -fr %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
rm -f %{buildroot}%{_libdir}/*.a
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
%meson_install
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
rm -fr %{buildroot}
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-, root, root)
|
||||
%doc AUTHORS ChangeLog COPYING.LIB NEWS README
|
||||
%{_bindir}/osinfo-detect
|
||||
%{_bindir}/osinfo-query
|
||||
|
@ -92,9 +82,6 @@ rm -fr %{buildroot}
|
|||
%{_libdir}/girepository-1.0/Libosinfo-1.0.typelib
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%doc examples/demo.js
|
||||
%doc examples/demo.py
|
||||
%{_libdir}/%{name}-1.0.so
|
||||
%dir %{_includedir}/%{name}-1.0/
|
||||
%dir %{_includedir}/%{name}-1.0/osinfo/
|
||||
|
@ -103,18 +90,89 @@ rm -fr %{buildroot}
|
|||
%{_datadir}/gir-1.0/Libosinfo-1.0.gir
|
||||
%{_datadir}/gtk-doc/html/Libosinfo
|
||||
|
||||
%files vala
|
||||
%defattr(-, root, root)
|
||||
%dir %{_datadir}/vala
|
||||
%dir %{_datadir}/vala/vapi
|
||||
%{_datadir}/vala/vapi/libosinfo-1.0.deps
|
||||
%{_datadir}/vala/vapi/libosinfo-1.0.vapi
|
||||
|
||||
%changelog
|
||||
* Wed Jun 06 2018 Richard Hughes <rhughes@redhat.com> 1.1.0-2
|
||||
- New upstream release 1.1.0
|
||||
- Resolves: #1584263
|
||||
* Wed Dec 04 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.7.1-1
|
||||
- Update to 1.7.1 release
|
||||
|
||||
* Thu Feb 23 2017 Matthias Clasen <mclasen@redhat.com> 1.0.0-1
|
||||
- Rebase to 1.0.0
|
||||
Resolves: rhbz#1387014
|
||||
* Fri Nov 29 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.7.0-1
|
||||
- Update to 1.7.0 release
|
||||
|
||||
* Fri Nov 08 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.6.0-2
|
||||
- Improve ISO detection mechanism
|
||||
|
||||
* Fri Jul 26 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.6.0-1
|
||||
- Update to 1.6.0 release
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* 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
|
||||
|
||||
* Mon Jun 03 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.5.0-2
|
||||
- Fix coverity issues
|
||||
|
||||
* Thu May 09 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.5.0-1
|
||||
- Update to 1.5.0 release
|
||||
|
||||
* Thu Apr 11 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.4.0-3
|
||||
- rhbz#1698845: Require GVFS
|
||||
|
||||
* Wed Apr 10 2019 Fabiano Fidêncio <fidencio@redhat.com> - 1.4.0-2
|
||||
- Fix usage of application ID
|
||||
- Fix images' load
|
||||
- Remove tests depending on osinfo-db
|
||||
|
||||
* Fri Mar 01 2019 Fabiano Fidêncio <fidencio@redhat.com> 1.4.0-1
|
||||
- Update to 1.4.0 release
|
||||
|
||||
* Mon Feb 04 2019 Kalev Lember <klember@redhat.com> - 1.3.0-3
|
||||
- Use standard vala packaging pattern where vapi files are in -devel
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Wed Jan 30 2019 Daniel P. Berrangé <berrange@redhat.com> - 1.3.0-1
|
||||
- Update to 1.3.0 release
|
||||
|
||||
* 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
|
||||
|
||||
* Thu Sep 20 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 1.2.0-4
|
||||
- Require osinfo-db >= 20180920-1
|
||||
|
||||
* Thu Sep 20 2018 Fabiano Fidêncio <fabiano@fidencio.org> - 1.2.0-3
|
||||
- Force anchored patterns when matching regex
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Jun 20 2018 Daniel P. Berrangé <berrange@redhat.com> - 1.2.0-1
|
||||
- Update to 1.2.0 release
|
||||
|
||||
* Tue Feb 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.0-2
|
||||
- Switch to %%ldconfig_scriptlets
|
||||
|
||||
* Tue Aug 15 2017 Daniel P. Berrange <berrange@redhat.com> 1.1.0-1
|
||||
- New upstream release 1.1.0
|
||||
|
||||
* 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
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Fri Oct 7 2016 Daniel P. Berrange <berrange@redhat.com> 1.0.0-1
|
||||
- New upstream release 1.0.0
|
||||
|
||||
* Fri Jul 1 2016 Daniel P. Berrange <berrange@redhat.com> 0.3.1-1
|
||||
- New upstream release 0.3.1
|
||||
|
|
Loading…
Reference in New Issue