51 lines
1.4 KiB
RPMSpec
51 lines
1.4 KiB
RPMSpec
Name: osinfo-db
|
|
Version: 20201218
|
|
Summary: osinfo database files
|
|
Release: 1
|
|
License: LGPLv2+
|
|
URL: http://libosinfo.org/
|
|
Source0: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz
|
|
Source1: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz.asc
|
|
|
|
BuildRequires: intltool osinfo-db-tools
|
|
Requires: hwdata
|
|
|
|
%description
|
|
osinfo-db provides the database files for use with the libosinfo
|
|
library. It provides information about guest operating systems for
|
|
use with virtualization provisioning tools.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
rm -rf %{_sourcedir}/%{name}-%{version}.tar.xz
|
|
tar -cJvf %{_sourcedir}/%{name}-%{version}.tar.xz ./
|
|
|
|
%install
|
|
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0}
|
|
|
|
%files
|
|
%{_datadir}/osinfo/datamap
|
|
%{_datadir}/osinfo/device
|
|
%{_datadir}/osinfo/install-script
|
|
%{_datadir}/osinfo/os
|
|
%{_datadir}/osinfo/platform
|
|
%{_datadir}/osinfo/schema
|
|
%{_datadir}/osinfo/VERSION
|
|
%{_datadir}/osinfo/LICENSE
|
|
|
|
%changelog
|
|
* Sat Jan 23 2021 zoulin <zoulin13@huawei.com> - 20201218-1
|
|
- update version to 20201218
|
|
|
|
* Tue Sep 8 2020 linwei <linwei54@huawei.com> - 20180920-5
|
|
- modify the URL of Source
|
|
|
|
* Mon Aug 17 2020 shixuantong <shixuantong@huawei.com> - 20180920-4
|
|
- roll back to solve the libosinfo compilation failure problem
|
|
|
|
* Sat Aug 08 2020 chenyaqiang <chenyaqiang@huawei.com> - 20180920-3
|
|
- add openEuler osinfo files
|
|
|
|
* Mon Aug 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 20180920-2
|
|
- Package init
|