Update EXTRA_DIST.
[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:  ocaml
15 BuildRequires:  ocaml-ocamldoc
16 BuildRequires:  ocaml-findlib-devel
17 BuildRequires:  ocaml-libvirt-devel
18 BuildRequires:  ocaml-libguestfs-devel
19 BuildRequires:  ocaml-xml-light-devel
20 BuildRequires:  ocaml-extlib-devel
21 BuildRequires:  ocaml-lablgtk-devel
22
23
24 %description
25 The Guest Filesystem Browser lets you browse inside the filesystems of
26 virtual machines and disk images using a simple graphical interface.
27
28 This package delivers some of the features of libguestfs and the
29 guestfish scripting tool to users who don't want to use the command
30 line.
31
32
33 %prep
34 %setup -q
35
36
37 %build
38 %configure
39 make %{?_smp_mflags}
40 make docs
41
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 make install DESTDIR=$RPM_BUILD_ROOT
46
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51
52 %files
53 %defattr(-,root,root,-)
54 %doc COPYING HACKING README
55 %doc doc
56 %{_bindir}/guestfs-browser
57
58
59 %changelog
60 * Fri Jul  9 2010 Richard W.M. Jones <rjones@redhat.com> - @VERSION@-1
61 - Initial RPM release.