Version 0.1.3.
[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-camlp4-devel
20 BuildRequires:  ocaml-camomile-devel, 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.7.24
32
33 # Only needed to build the internal documentation.
34 #BuildRequires:  ocaml-ocamldoc
35
36
37 %description
38 The Guest Filesystem Browser lets you browse inside the filesystems of
39 virtual machines and disk images using a simple graphical interface.
40
41 This package delivers some of the features of libguestfs and the
42 guestfish scripting tool to users who don't want to use the command
43 line.
44
45
46 %prep
47 %setup -q
48
49
50 %build
51 %configure
52 make %{?_smp_mflags}
53
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 make install DESTDIR=$RPM_BUILD_ROOT
58
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63
64 %files
65 %defattr(-,root,root,-)
66 %doc COPYING HACKING README
67 %{_bindir}/guestfs-browser
68 %{_mandir}/man1/guestfs-browser.1*
69
70
71 %changelog
72 * Tue Dec 14 2010 Richard W.M. Jones <rjones@redhat.com> - @VERSION@-1
73 - Initial RPM release.