Display default registry keys as "@".
[guestfs-browser.git] / guestfs-browser.spec.in
1 Name:           @PACKAGE_NAME@
2 Version:        @PACKAGE_VERSION@
3 Release:        1%{?dist}
4 Summary:        Guest filesystem browser
5
6 Group:          Applications/Emulators
7 License:        GPLv2+
8
9 URL:            http://people.redhat.com/~rjones/guestfs-browser/
10 Source0:        http://people.redhat.com/~rjones/guestfs-browser/files/guestfs-browser-%{version}.tar.gz
11
12 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14 BuildRequires:  hivex-devel >= 1.2.4-3
15 BuildRequires:  libguestfs-devel >= 1.7.24
16 BuildRequires:  libvirt-devel
17 BuildRequires:  ocaml
18 BuildRequires:  ocaml-bitstring-devel
19 BuildRequires:  ocaml-camomile-devel, ocaml-camomile-data
20 BuildRequires:  ocaml-extlib-devel
21 BuildRequires:  ocaml-findlib-devel
22 BuildRequires:  ocaml-hivex-devel
23 BuildRequires:  ocaml-lablgtk-devel
24 BuildRequires:  ocaml-libvirt-devel
25 BuildRequires:  ocaml-libguestfs-devel
26 BuildRequires:  ocaml-xml-light-devel
27 BuildRequires:  /usr/bin/pod2man
28 BuildRequires:  /usr/bin/pod2html
29
30 Requires:       libguestfs >= 1.7.24
31
32 # Only needed to build the internal documentation.
33 #BuildRequires:  ocaml-ocamldoc
34
35
36 %description
37 The Guest Filesystem Browser lets you browse inside the filesystems of
38 virtual machines and disk images using a simple graphical interface.
39
40 This package delivers some of the features of libguestfs and the
41 guestfish scripting tool to users who don't want to use the command
42 line.
43
44
45 %prep
46 %setup -q
47
48
49 %build
50 %configure
51 make %{?_smp_mflags}
52
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 make install DESTDIR=$RPM_BUILD_ROOT
57
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62
63 %files
64 %defattr(-,root,root,-)
65 %doc COPYING HACKING README
66 %{_bindir}/guestfs-browser
67 %{_mandir}/man1/guestfs-browser.1*
68
69
70 %changelog
71 * Tue Dec 14 2010 Richard W.M. Jones <rjones@redhat.com> - @VERSION@-1
72 - Initial RPM release.