]>
Commit | Line | Data |
---|---|---|
a332c6ed MB |
1 | Summary: Tools for managing the osinfo database |
2 | Name: osinfo-db-tools | |
3 | Version: 1.1.0 | |
4 | Release: 1 | |
5 | License: GPL v2 | |
6 | Group: Applications | |
7 | Source0: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 5b346d7e361a7f510aa62da923cbdd8b | |
9 | URL: https://libosinfo.org/ | |
10 | BuildRequires: autoconf >= 2.61 | |
11 | BuildRequires: automake >= 1:1.11.1 | |
12 | BuildRequires: glib2-devel >= 1:2.36.0 | |
13 | BuildRequires: gnome-common | |
14 | BuildRequires: intltool >= 0.40.0 | |
15 | BuildRequires: libarchive-devel >= 3.0.0 | |
16 | BuildRequires: libtool | |
17 | BuildRequires: libxml2-devel >= 1:2.6.0 | |
18 | BuildRequires: libxslt-devel >= 1.0.0 | |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: xz | |
76259170 | 21 | Conflicts: libosinfo < 1.0.0 |
a332c6ed MB |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | This package provides tools for managing the osinfo database of | |
26 | information about operating systems for use with virtualization. | |
27 | ||
28 | %prep | |
29 | %setup -q | |
30 | ||
31 | %build | |
32 | %{__intltoolize} | |
33 | %{__libtoolize} | |
34 | %{__aclocal} -I m4 | |
35 | %{__autoconf} | |
36 | %{__automake} | |
37 | %configure \ | |
38 | --disable-silent-rules | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %find_lang %{name} | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files -f %{name}.lang | |
53 | %defattr(644,root,root,755) | |
54 | %doc AUTHORS ChangeLog NEWS README | |
55 | %attr(755,root,root) %{_bindir}/osinfo-db-export | |
56 | %attr(755,root,root) %{_bindir}/osinfo-db-import | |
57 | %attr(755,root,root) %{_bindir}/osinfo-db-path | |
58 | %attr(755,root,root) %{_bindir}/osinfo-db-validate | |
59 | %{_mandir}/man1/osinfo-db-export.1* | |
60 | %{_mandir}/man1/osinfo-db-import.1* | |
61 | %{_mandir}/man1/osinfo-db-path.1* | |
62 | %{_mandir}/man1/osinfo-db-validate.1* | |
63 |