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