- New upstream release 0.3.3.0.

- Added support for virt-df, but disabled it by default.
- +BR ocaml-calendar.
This commit is contained in:
Richard W.M. Jones 2007-10-19 15:22:32 +00:00
parent 1b41b6de83
commit 273ac947d8
3 changed files with 39 additions and 3 deletions

View File

@ -1 +1 @@
ocaml-libvirt-0.3.2.8.tar.gz
ocaml-libvirt-0.3.3.0.tar.gz

View File

@ -5,10 +5,11 @@
%define build_mlvirsh 1
%define build_mlvirtmanager 0
%define build_virt_top 1
%define build_virt_df 0
%define build_full_featured_virt_top 1
Name: ocaml-libvirt
Version: 0.3.2.8
Version: 0.3.3.0
Release: 1%{?dist}
Summary: OCaml binding for libvirt
@ -34,6 +35,7 @@ BuildRequires: ocaml-curses-devel
%if %build_full_featured_virt_top
BuildRequires: ocaml-xml-light-devel
BuildRequires: ocaml-csv-devel
BuildRequires: ocaml-calendar
%endif
%endif
BuildRequires: libvirt-devel >= 0.2.1
@ -100,6 +102,21 @@ different virtualization systems.
%endif
%if %build_virt_df
%package -n virt-df
Summary: Utility like df(1) for displaying disk space in guests
Group: Applications/Emulators
License: GPLv2+
%description -n virt-df
virt-df is a 'df(1)'-like utility for display disk space in guests.
It uses libvirt so it is capable of showing stats across a variety of
different virtualization systems.
%endif
%prep
%setup -q
./configure --libdir=%{_libdir} --prefix=%{_prefix}
@ -119,6 +136,9 @@ strip mlvirtmanager/mlvirtmanager.opt
%if %build_virt_top
strip virt-top/virt-top.opt
%endif
%if %build_virt_df
strip virt-top/virt-df.opt
%endif
%endif
@ -147,6 +167,9 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/mlvirtmanager
%if !%build_virt_top
rm -f $RPM_BUILD_ROOT%{_bindir}/virt-top
%endif
%if !%build_virt_df
rm -f $RPM_BUILD_ROOT%{_bindir}/virt-df
%endif
%clean
@ -203,7 +226,20 @@ rm -rf $RPM_BUILD_ROOT
%endif
%if %build_virt_df
%files -n virt-df
%defattr(-,root,root,-)
%doc COPYING README ChangeLog
%{_bindir}/virt-df
%endif
%changelog
* Fri Oct 19 2007 Richard W.M. Jones <rjones@redhat.com> - 0.3.3.0-1
- New upstream release 0.3.3.0.
- Added support for virt-df, but disabled it by default.
- +BR ocaml-calendar.
* Mon Sep 24 2007 Richard W.M. Jones <rjones@redhat.com> - 0.3.2.8-1
- New upstream release 0.3.2.8.

View File

@ -1 +1 @@
b7468deedef3a8d5f50ffbbc14ffb5c6 ocaml-libvirt-0.3.2.8.tar.gz
8787a13f315c62a650170e4d888ebccb ocaml-libvirt-0.3.3.0.tar.gz