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