]>
Commit | Line | Data |
---|---|---|
3bd1e9bd | 1 | Summary: osinfo database |
9c643626 | 2 | Summary(pl.UTF-8): Baza danych osinfo |
3bd1e9bd | 3 | Name: osinfo-db |
943402bf | 4 | Version: 20231215 |
3bd1e9bd MB |
5 | Release: 1 |
6 | License: GPL v2 | |
7 | Group: Libraries | |
8 | Source0: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz | |
943402bf | 9 | # Source0-md5: 45021bc702e722d1f5dd062f4823d160 |
3bd1e9bd MB |
10 | URL: https://libosinfo.org/ |
11 | BuildRequires: osinfo-db-tools | |
f58b4a6d | 12 | BuildRequires: tar >= 1:1.22 |
3bd1e9bd MB |
13 | BuildRequires: xz |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | The osinfo database provides information about operating systems and | |
19 | hypervisor platforms to facilitate the automated configuration and | |
20 | provisioning of new virtual machines. | |
21 | ||
9c643626 JB |
22 | %description -l pl.UTF-8 |
23 | Baza danych osinfo zabiera informacje o systemach operacyjnych oraz | |
24 | platformach hipernadzorców, ułatwiające automatyczną konfigurację i | |
25 | zaopatrywanie nowych maszyn wirtualnych. | |
26 | ||
3bd1e9bd MB |
27 | %install |
28 | rm -rf $RPM_BUILD_ROOT | |
29 | ||
30 | osinfo-db-import \ | |
31 | --root $RPM_BUILD_ROOT \ | |
32 | --dir %{_datadir}/osinfo \ | |
33 | %{SOURCE0} | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
40 | %{_datadir}/osinfo |