]>
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 |
0bb2328c | 4 | Version: 1.5.0 |
a332c6ed | 5 | Release: 1 |
03654c38 JB |
6 | License: GPL v2+ |
7 | Group: Applications/File | |
a332c6ed | 8 | Source0: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.gz |
0bb2328c | 9 | # Source0-md5: b599f5eb4545ff84e1d6cba01bfe800f |
a332c6ed MB |
10 | URL: https://libosinfo.org/ |
11 | BuildRequires: autoconf >= 2.61 | |
12 | BuildRequires: automake >= 1:1.11.1 | |
0bb2328c | 13 | BuildRequires: gettext-tools >= 0.19.8 |
a332c6ed | 14 | BuildRequires: glib2-devel >= 1:2.36.0 |
0bb2328c | 15 | BuildRequires: json-glib-devel |
a332c6ed | 16 | BuildRequires: libarchive-devel >= 3.0.0 |
03654c38 | 17 | BuildRequires: libtool >= 2:2 |
a332c6ed MB |
18 | BuildRequires: libxml2-devel >= 1:2.6.0 |
19 | BuildRequires: libxslt-devel >= 1.0.0 | |
20 | BuildRequires: pkgconfig | |
21 | BuildRequires: xz | |
03654c38 JB |
22 | Requires: glib2 >= 1:2.36.0 |
23 | Requires: libarchive >= 3.0.0 | |
24 | Requires: libxml2 >= 1:2.6.0 | |
25 | Requires: libxslt >= 1.0.0 | |
76259170 | 26 | Conflicts: libosinfo < 1.0.0 |
a332c6ed MB |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | This package provides tools for managing the osinfo database of | |
31 | information about operating systems for use with virtualization. | |
32 | ||
03654c38 JB |
33 | %description -l pl.UTF-8 |
34 | Ten pakiet dostarcza narzędzia do zarządzania bazą danych osinfo, | |
35 | zawierającą informacje o systemach operacyjnych przeznaczone do | |
36 | wykorzystania przy wirtualizacji. | |
37 | ||
a332c6ed MB |
38 | %prep |
39 | %setup -q | |
40 | ||
41 | %build | |
a332c6ed MB |
42 | %{__libtoolize} |
43 | %{__aclocal} -I m4 | |
44 | %{__autoconf} | |
0bb2328c | 45 | %{__autoheader} |
a332c6ed MB |
46 | %{__automake} |
47 | %configure \ | |
48 | --disable-silent-rules | |
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
03654c38 JB |
57 | # not supported by glibc |
58 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{bal,ilo,kw@kkcor,kw@uccor,wba} | |
59 | ||
a332c6ed MB |
60 | %find_lang %{name} |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files -f %{name}.lang | |
66 | %defattr(644,root,root,755) | |
03654c38 | 67 | %doc AUTHORS ChangeLog NEWS README docs/*.txt |
a332c6ed MB |
68 | %attr(755,root,root) %{_bindir}/osinfo-db-export |
69 | %attr(755,root,root) %{_bindir}/osinfo-db-import | |
70 | %attr(755,root,root) %{_bindir}/osinfo-db-path | |
71 | %attr(755,root,root) %{_bindir}/osinfo-db-validate | |
72 | %{_mandir}/man1/osinfo-db-export.1* | |
73 | %{_mandir}/man1/osinfo-db-import.1* | |
74 | %{_mandir}/man1/osinfo-db-path.1* | |
75 | %{_mandir}/man1/osinfo-db-validate.1* |