Switch to using new event API.
[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.9.11
16 BuildRequires:  libvirt-devel
17 BuildRequires:  ocaml
18 BuildRequires:  ocaml-bitstring-devel
19 BuildRequires:  ocaml-camlp4-devel
20 BuildRequires:  ocaml-camomile-devel >= 0.8.1, ocaml-camomile-data
21 BuildRequires:  ocaml-extlib-devel
22 BuildRequires:  ocaml-findlib-devel
23 BuildRequires:  ocaml-hivex-devel
24 BuildRequires:  ocaml-lablgtk-devel
25 BuildRequires:  ocaml-libvirt-devel
26 BuildRequires:  ocaml-libguestfs-devel
27 BuildRequires:  ocaml-xml-light-devel
28 BuildRequires:  /usr/bin/pod2man
29 BuildRequires:  /usr/bin/pod2html
30
31 Requires:       libguestfs >= 1.9.11
32 Requires:       /usr/bin/gnome-open
33 Requires:       /usr/bin/hivexregedit
34
35 # Only needed to build the internal documentation.
36 #BuildRequires:  ocaml-ocamldoc
37
38
39 %description
40 The Guest Filesystem Browser lets you browse inside the filesystems of
41 virtual machines and disk images using a simple graphical interface.
42
43 This package delivers some of the features of libguestfs and the
44 guestfish scripting tool to users who don't want to use the command
45 line.
46
47
48 %prep
49 %setup -q
50
51
52 %build
53 %configure
54 make %{?_smp_mflags}
55
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 make install DESTDIR=$RPM_BUILD_ROOT
60
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65
66 %files
67 %defattr(-,root,root,-)
68 %doc COPYING HACKING README
69 %{_bindir}/guestfs-browser
70 %{_mandir}/man1/guestfs-browser.1*
71
72
73 %changelog
74 * Sat Jan 15 2011 Richard W.M. Jones <rjones@redhat.com> - @VERSION@-1
75 - Initial RPM release.