Add Lua bindings package (lua-guestfs).
This commit is contained in:
parent
f07b3d550a
commit
8a4e2a5b7b
@ -82,6 +82,8 @@ BuildRequires: perl(XML::XPath)
|
|||||||
BuildRequires: perl(XML::XPath::XMLParser)
|
BuildRequires: perl(XML::XPath::XMLParser)
|
||||||
BuildRequires: libvirt-daemon-qemu
|
BuildRequires: libvirt-daemon-qemu
|
||||||
BuildRequires: perl(Expect)
|
BuildRequires: perl(Expect)
|
||||||
|
BuildRequires: lua
|
||||||
|
BuildRequires: lua-devel
|
||||||
|
|
||||||
# This is only needed for RHEL 5 because readline-devel doesn't
|
# This is only needed for RHEL 5 because readline-devel doesn't
|
||||||
# properly depend on it, but doesn't do any harm on other platforms:
|
# properly depend on it, but doesn't do any harm on other platforms:
|
||||||
@ -345,6 +347,8 @@ For GObject bindings and GObject Introspection, install
|
|||||||
|
|
||||||
For Java bindings, install 'libguestfs-java-devel'.
|
For Java bindings, install 'libguestfs-java-devel'.
|
||||||
|
|
||||||
|
For Lua bindings, install 'lua-guestfs'
|
||||||
|
|
||||||
For OCaml bindings, install 'ocaml-libguestfs-devel'.
|
For OCaml bindings, install 'ocaml-libguestfs-devel'.
|
||||||
|
|
||||||
For Perl bindings, install 'perl-Sys-Guestfs'.
|
For Perl bindings, install 'perl-Sys-Guestfs'.
|
||||||
@ -635,6 +639,16 @@ erlang-%{name} contains Erlang bindings for %{name}.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%package -n lua-guestfs
|
||||||
|
Summary: Lua bindings for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
|
Requires: lua
|
||||||
|
|
||||||
|
%description -n lua-guestfs
|
||||||
|
lua-guestfs contains Lua bindings for %{name}.
|
||||||
|
|
||||||
|
|
||||||
%package gobject
|
%package gobject
|
||||||
Summary: GObject bindings for %{name}
|
Summary: GObject bindings for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -1001,6 +1015,13 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/libguestfs
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%files -n lua-guestfs
|
||||||
|
%doc lua/examples/*.lua
|
||||||
|
%doc lua/examples/LICENSE
|
||||||
|
%{_libdir}/lua/*/guestfs.so
|
||||||
|
%{_mandir}/man3/guestfs-lua.3*
|
||||||
|
|
||||||
|
|
||||||
%files gobject
|
%files gobject
|
||||||
%{_libdir}/libguestfs-gobject-1.0.so.0*
|
%{_libdir}/libguestfs-gobject-1.0.so.0*
|
||||||
%{_libdir}/girepository-1.0/Guestfs-1.0.typelib
|
%{_libdir}/girepository-1.0/Guestfs-1.0.typelib
|
||||||
|
Loading…
Reference in New Issue
Block a user