]>
Commit | Line | Data |
---|---|---|
a332c6ed | 1 | Summary: Tools for managing the osinfo database |
03654c38 | 2 | Summary(pl.UTF-8): Narzędzia do zarządzania bazą danych osinfo |
a332c6ed | 3 | Name: osinfo-db-tools |
50aa4d81 | 4 | Version: 1.10.0 |
a332c6ed | 5 | Release: 1 |
03654c38 JB |
6 | License: GPL v2+ |
7 | Group: Applications/File | |
d6dd4b72 | 8 | Source0: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz |
50aa4d81 | 9 | # Source0-md5: f0c83772ce612b5d0befb77a8d6f309b |
a332c6ed | 10 | URL: https://libosinfo.org/ |
0bb2328c | 11 | BuildRequires: gettext-tools >= 0.19.8 |
99ef2604 | 12 | BuildRequires: glib2-devel >= 1:2.44 |
0bb2328c | 13 | BuildRequires: json-glib-devel |
a332c6ed | 14 | BuildRequires: libarchive-devel >= 3.0.0 |
50aa4d81 | 15 | BuildRequires: libsoup3-devel >= 3.0 |
a332c6ed | 16 | BuildRequires: libxml2-devel >= 1:2.6.0 |
d6dd4b72 JB |
17 | BuildRequires: meson >= 0.49.0 |
18 | BuildRequires: ninja >= 1.5 | |
a332c6ed | 19 | BuildRequires: pkgconfig |
d6dd4b72 JB |
20 | BuildRequires: rpmbuild(macros) >= 1.736 |
21 | BuildRequires: tar >= 1:1.22 | |
a332c6ed | 22 | BuildRequires: xz |
99ef2604 | 23 | Requires: glib2 >= 1:2.44 |
03654c38 JB |
24 | Requires: libarchive >= 3.0.0 |
25 | Requires: libxml2 >= 1:2.6.0 | |
26 | Requires: libxslt >= 1.0.0 | |
76259170 | 27 | Conflicts: libosinfo < 1.0.0 |
a332c6ed MB |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | This package provides tools for managing the osinfo database of | |
32 | information about operating systems for use with virtualization. | |
33 | ||
03654c38 JB |
34 | %description -l pl.UTF-8 |
35 | Ten pakiet dostarcza narzędzia do zarządzania bazą danych osinfo, | |
36 | zawierającą informacje o systemach operacyjnych przeznaczone do | |
37 | wykorzystania przy wirtualizacji. | |
38 | ||
a332c6ed MB |
39 | %prep |
40 | %setup -q | |
41 | ||
42 | %build | |
d6dd4b72 JB |
43 | %meson build |
44 | ||
45 | %ninja_build -C build | |
a332c6ed MB |
46 | |
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
d6dd4b72 | 50 | %ninja_install -C build |
a332c6ed | 51 | |
180bcb1d JB |
52 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{pt_PT,pt} |
53 | ||
a332c6ed MB |
54 | %find_lang %{name} |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files -f %{name}.lang | |
60 | %defattr(644,root,root,755) | |
d6dd4b72 | 61 | %doc NEWS README docs/*.txt |
a332c6ed MB |
62 | %attr(755,root,root) %{_bindir}/osinfo-db-export |
63 | %attr(755,root,root) %{_bindir}/osinfo-db-import | |
64 | %attr(755,root,root) %{_bindir}/osinfo-db-path | |
65 | %attr(755,root,root) %{_bindir}/osinfo-db-validate | |
66 | %{_mandir}/man1/osinfo-db-export.1* | |
67 | %{_mandir}/man1/osinfo-db-import.1* | |
68 | %{_mandir}/man1/osinfo-db-path.1* | |
69 | %{_mandir}/man1/osinfo-db-validate.1* |