Accepting request 160457 from Cloud:OpenStack:Master

OBS-URL: https://build.opensuse.org/request/show/160457
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=201
This commit is contained in:
Dirk Mueller 2013-03-21 14:21:49 +00:00 committed by Git OBS Bridge
parent 1f13976730
commit b38bc9aabb

View File

@ -1,7 +1,7 @@
# #
# spec file for package libguestfs # spec file for package libguestfs
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Michal Hrusecky <mhrusecky@novell.com> # Copyright (c) 2011 Michal Hrusecky <mhrusecky@novell.com>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -16,6 +16,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) %define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%if !%opt %if !%opt
# get rid of /usr/lib/rpm/find-debuginfo.sh # get rid of /usr/lib/rpm/find-debuginfo.sh
@ -24,7 +25,6 @@
%undefine _build_create_debug %undefine _build_create_debug
%endif %endif
# disable certain features for a SLES11 build # disable certain features for a SLES11 build
# in Virtualization repo in OBS they're reenabled via prjconf # in Virtualization repo in OBS they're reenabled via prjconf
%if %suse_version == 1110 %if %suse_version == 1110
@ -48,9 +48,9 @@
%bcond_without fuse %bcond_without fuse
%if %suse_version > 1210 %if %suse_version > 1210
%bcond_with ruby_bindings
%else
%bcond_without ruby_bindings %bcond_without ruby_bindings
%else
%bcond_with ruby_bindings
%endif %endif
# The following defines are overridden in the individual subpackages # The following defines are overridden in the individual subpackages
@ -82,18 +82,18 @@ Name: libguestfs
%if "%{?_ignore_exclusive_arch}" == "" %if "%{?_ignore_exclusive_arch}" == ""
ExclusiveArch: %ix86 x86_64 ExclusiveArch: %ix86 x86_64
%endif %endif
BuildRequires: libacl-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: aaa_base BuildRequires: aaa_base
BuildRequires: attr-devel BuildRequires: attr-devel
BuildRequires: augeas-devel BuildRequires: augeas-devel
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: automake BuildRequires: automake
BuildRequires: file-devel BuildRequires: file-devel
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: gperf BuildRequires: gperf
BuildRequires: libacl-devel
BuildRequires: libcap-devel BuildRequires: libcap-devel
%if %suse_version >= 1220 %if %suse_version >= 1220
BuildRequires: libconfig-devel BuildRequires: libconfig-devel
@ -128,7 +128,7 @@ BuildRequires: hivex-devel
Url: http://libguestfs.org/ Url: http://libguestfs.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Compatibility package for guestfs-tools Summary: Compatibility package for guestfs-tools
License: GPL-2 License: GPL-2.0
Group: System/Filesystems Group: System/Filesystems
Version: 1.20.3 Version: 1.20.3
Release: 0 Release: 0
@ -160,6 +160,7 @@ virtual machines.
%package -n guestfs-tools %package -n guestfs-tools
Summary: Tools for accessing and modifying virtual machine disk images Summary: Tools for accessing and modifying virtual machine disk images
License: GPL-2.0
Group: System/Filesystems Group: System/Filesystems
Provides: %{name} = %{version} Provides: %{name} = %{version}
Obsoletes: %{name} < %{version} Obsoletes: %{name} < %{version}
@ -202,6 +203,7 @@ virtual machines.
%package -n guestfsd %package -n guestfsd
Summary: Daemon for the libguestfs appliance Summary: Daemon for the libguestfs appliance
License: GPL-2.0
Group: System/Filesystems Group: System/Filesystems
%description -n guestfsd %description -n guestfsd
@ -213,6 +215,7 @@ This package is only required for building the appliance.
%if %{with ocaml_bindings} %if %{with ocaml_bindings}
%package -n ocaml-libguestfs %package -n ocaml-libguestfs
Summary: Provides OCaml support for libguestfs Summary: Provides OCaml support for libguestfs
License: GPL-2.0
Group: System/Filesystems Group: System/Filesystems
# #
@ -221,6 +224,7 @@ Allows OCaml scripts to directly use libguestfs.
%package -n ocaml-libguestfs-devel %package -n ocaml-libguestfs-devel
Summary: Provides OCaml support for libguestfs Summary: Provides OCaml support for libguestfs
License: GPL-2.0
Group: Development/Libraries/Other Group: Development/Libraries/Other
%description -n ocaml-libguestfs-devel %description -n ocaml-libguestfs-devel
@ -230,6 +234,7 @@ Allows OCaml scripts to directly use libguestfs.
%if %{with perl_bindings} %if %{with perl_bindings}
%package -n perl-Sys-Guestfs %package -n perl-Sys-Guestfs
Summary: Provides Perl support for libguestfs Summary: Provides Perl support for libguestfs
License: GPL-2.0
Group: System/Filesystems Group: System/Filesystems
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(Data::Dumper) BuildRequires: perl(Data::Dumper)
@ -257,6 +262,7 @@ Allows Perl scripts to directly use libguestfs.
%if %{with lua_bindings} %if %{with lua_bindings}
%package -n lua-libguestfs %package -n lua-libguestfs
Summary: Provides Lua support for libguestfs Summary: Provides Lua support for libguestfs
License: GPL-2.0
Group: System/Filesystems Group: System/Filesystems
BuildRequires: lua-devel BuildRequires: lua-devel
%define _configure_lua --enable-lua %define _configure_lua --enable-lua
@ -269,6 +275,7 @@ Allows lua scripts to directly use libguestfs.
%if %{with python_bindings} %if %{with python_bindings}
%package -n python-libguestfs %package -n python-libguestfs
Summary: Provides Python support for libguestfs Summary: Provides Python support for libguestfs
License: GPL-2.0
Group: System/Filesystems Group: System/Filesystems
%define pyver %(python -c "import sys; print sys.version[:3]") %define pyver %(python -c "import sys; print sys.version[:3]")
BuildRequires: python BuildRequires: python
@ -285,6 +292,7 @@ Allows Python scripts to directly use libguestfs.
%if %{with ruby_bindings} %if %{with ruby_bindings}
%package -n rubygem-libguestfs %package -n rubygem-libguestfs
Summary: Ruby bindings for libguestfs Summary: Ruby bindings for libguestfs
License: GPL-2.0
Group: System/Filesystems Group: System/Filesystems
BuildRequires: ruby BuildRequires: ruby
BuildRequires: ruby-devel BuildRequires: ruby-devel
@ -346,6 +354,7 @@ BuildRequires: xz
BuildRequires: zerofree BuildRequires: zerofree
%endif %endif
Summary: Virtual machine needed for libguestfs Summary: Virtual machine needed for libguestfs
License: GPL-2.0
Group: System/Filesystems Group: System/Filesystems
Provides: libguestfs-data = %{version} Provides: libguestfs-data = %{version}
Obsoletes: libguestfs-data < %{version} Obsoletes: libguestfs-data < %{version}
@ -357,6 +366,7 @@ This package provides such an image, an initrd and a kernel.
%package devel %package devel
Summary: Development files for libguestfs Summary: Development files for libguestfs
License: GPL-2.0
Group: Development/Libraries/Other Group: Development/Libraries/Other
Requires: libguestfs0 = %{version} Requires: libguestfs0 = %{version}
@ -379,8 +389,8 @@ guestfish, or use virt-rescue to get a rescue shell for fixing unbootable
virtual machines. virtual machines.
%package -n libguestfs0 %package -n libguestfs0
License: LGPL-2.1
Summary: Runtime library of libguestfs Summary: Runtime library of libguestfs
License: LGPL-2.1
Group: System/Filesystems Group: System/Filesystems
%description -n libguestfs0 %description -n libguestfs0