- New upstream version 0.4.0.3.
- Rebuild for OCaml 3.10.1.
This commit is contained in:
parent
a60d5f02b8
commit
fc82a36b65
@ -1 +1 @@
|
|||||||
ocaml-libvirt-0.3.3.4.tar.gz
|
ocaml-libvirt-0.4.0.3.tar.gz
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
|
|
||||||
# Select what subpackages to build.
|
# Select what subpackages to build.
|
||||||
%define build_mlvirsh 1
|
%define build_mlvirsh 1
|
||||||
%define build_mlvirtmanager 0
|
%define build_virt_ctrl 1
|
||||||
%define build_virt_top 1
|
%define build_virt_top 1
|
||||||
%define build_virt_df 0
|
%define build_virt_df 0
|
||||||
%define build_full_featured_virt_top 1
|
%define build_full_featured_virt_top 1
|
||||||
|
|
||||||
Name: ocaml-libvirt
|
Name: ocaml-libvirt
|
||||||
Version: 0.3.3.4
|
Version: 0.4.0.3
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: OCaml binding for libvirt
|
Summary: OCaml binding for libvirt
|
||||||
|
|
||||||
@ -20,18 +20,15 @@ Source0: http://libvirt.org/sources/ocaml/ocaml-libvirt/%{name}-%{version
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
ExcludeArch: ppc64
|
ExcludeArch: ppc64
|
||||||
|
|
||||||
# Note for people building from this spec file:
|
BuildRequires: ocaml >= 3.10.1
|
||||||
# These BR's can be found in Fedora development, or here:
|
|
||||||
# http://www.annexia.org/tmp/ocaml/
|
|
||||||
BuildRequires: ocaml >= 3.10.0-7
|
|
||||||
BuildRequires: ocaml-ocamldoc
|
BuildRequires: ocaml-ocamldoc
|
||||||
BuildRequires: ocaml-findlib-devel
|
BuildRequires: ocaml-findlib-devel
|
||||||
BuildRequires: ocaml-extlib-devel
|
%if %build_virt_ctrl
|
||||||
%if %build_mlvirtmanager
|
|
||||||
BuildRequires: ocaml-lablgtk-devel
|
BuildRequires: ocaml-lablgtk-devel
|
||||||
%endif
|
%endif
|
||||||
%if %build_virt_top
|
%if %build_virt_top
|
||||||
BuildRequires: ocaml-curses-devel
|
BuildRequires: ocaml-curses-devel
|
||||||
|
BuildRequires: ocaml-extlib-devel
|
||||||
%if %build_full_featured_virt_top
|
%if %build_full_featured_virt_top
|
||||||
BuildRequires: ocaml-xml-light-devel
|
BuildRequires: ocaml-xml-light-devel
|
||||||
BuildRequires: ocaml-csv-devel
|
BuildRequires: ocaml-csv-devel
|
||||||
@ -73,14 +70,14 @@ OCaml virtualization shell.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if %build_mlvirtmanager
|
%if %build_virt_ctrl
|
||||||
%package -n mlvirtmanager
|
%package -n virt-ctrl
|
||||||
Summary: OCaml virtualization graphical utility
|
Summary: OCaml virtualization graphical utility
|
||||||
Group: Applications/Emulators
|
Group: Applications/Emulators
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
|
|
||||||
|
|
||||||
%description -n mlvirtmanager
|
%description -n virt-ctrl
|
||||||
OCaml virtualization graphical utility.
|
OCaml virtualization graphical utility.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -130,8 +127,8 @@ strip libvirt/dllmllibvirt.so
|
|||||||
%if %build_mlvirsh
|
%if %build_mlvirsh
|
||||||
strip mlvirsh/mlvirsh.opt
|
strip mlvirsh/mlvirsh.opt
|
||||||
%endif
|
%endif
|
||||||
%if %build_mlvirtmanager
|
%if %build_virt_ctrl
|
||||||
strip mlvirtmanager/mlvirtmanager.opt
|
strip virt-ctrl/virt-ctrl.opt
|
||||||
%endif
|
%endif
|
||||||
%if %build_virt_top
|
%if %build_virt_top
|
||||||
strip virt-top/virt-top.opt
|
strip virt-top/virt-top.opt
|
||||||
@ -161,8 +158,8 @@ gzip $RPM_BUILD_ROOT%{_mandir}/man1/virt-top.1
|
|||||||
%if !%build_mlvirsh
|
%if !%build_mlvirsh
|
||||||
rm -f $RPM_BUILD_ROOT%{_bindir}/mlvirsh
|
rm -f $RPM_BUILD_ROOT%{_bindir}/mlvirsh
|
||||||
%endif
|
%endif
|
||||||
%if !%build_mlvirtmanager
|
%if !%build_virt_ctrl
|
||||||
rm -f $RPM_BUILD_ROOT%{_bindir}/mlvirtmanager
|
rm -f $RPM_BUILD_ROOT%{_bindir}/virt-ctrl
|
||||||
%endif
|
%endif
|
||||||
%if !%build_virt_top
|
%if !%build_virt_top
|
||||||
rm -f $RPM_BUILD_ROOT%{_bindir}/virt-top
|
rm -f $RPM_BUILD_ROOT%{_bindir}/virt-top
|
||||||
@ -209,11 +206,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if %build_mlvirtmanager
|
%if %build_virt_ctrl
|
||||||
%files -n mlvirtmanager
|
%files -n virt-ctrl
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING README ChangeLog
|
%doc COPYING README ChangeLog
|
||||||
%{_bindir}/mlvirtmanager
|
%{_bindir}/virt-ctrl
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@ -235,6 +232,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 12 2008 Richard W.M. Jones <rjones@redhat.com> - 0.4.0.3-1
|
||||||
|
- New upstream version 0.4.0.3.
|
||||||
|
- Rebuild for OCaml 3.10.1.
|
||||||
|
|
||||||
* Tue Nov 20 2007 Richard W.M. Jones <rjones@redhat.com> - 0.3.3.4-1
|
* Tue Nov 20 2007 Richard W.M. Jones <rjones@redhat.com> - 0.3.3.4-1
|
||||||
- New upstream release 0.3.3.4.
|
- New upstream release 0.3.3.4.
|
||||||
- Upstream website is now http://libvirt.org/ocaml/
|
- Upstream website is now http://libvirt.org/ocaml/
|
||||||
|
Loading…
Reference in New Issue
Block a user