Move bindings BRs to their respective sub-packages
This commit is contained in:
parent
e39ff10e9f
commit
4fbb526de1
52
lasso.spec
52
lasso.spec
@ -1,6 +1,7 @@
|
||||
%global with_java 1
|
||||
%global with_php 0
|
||||
%global with_perl 1
|
||||
# The Lasso build system requires python, especially the binding generators
|
||||
%global with_python 1
|
||||
%global with_python2 0
|
||||
%global with_python3 0
|
||||
@ -85,37 +86,6 @@ BuildRequires: swig
|
||||
BuildRequires: xmlsec1-devel >= 1.2.25-4
|
||||
BuildRequires: xmlsec1-openssl-devel >= 1.2.25-4
|
||||
BuildRequires: zlib-devel
|
||||
%if %{with_java}
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: jpackage-utils
|
||||
%endif
|
||||
%if %{with_perl}
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(Error)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(warnings)
|
||||
BuildRequires: perl(XSLoader)
|
||||
%endif
|
||||
%if %{with_php}
|
||||
BuildRequires: expat-devel
|
||||
BuildRequires: php-devel
|
||||
%endif
|
||||
# The Lasso build system requires python, especially the binding generators
|
||||
%if %{with_python2}
|
||||
BuildRequires: python2
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-lxml
|
||||
BuildRequires: python2-six
|
||||
%endif
|
||||
%if %{with_python3}
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-lxml
|
||||
BuildRequires: python3-six
|
||||
%endif
|
||||
%if %{with_wsf}
|
||||
BuildRequires: cyrus-sasl-devel
|
||||
%endif
|
||||
@ -139,6 +109,14 @@ documentation for Lasso.
|
||||
%if %{with_perl}
|
||||
%package -n perl-%{name}
|
||||
Summary: Liberty Alliance Single Sign On (lasso) Perl bindings
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(Error)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(warnings)
|
||||
BuildRequires: perl(XSLoader)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
@ -149,6 +127,8 @@ Perl language bindings for the lasso (Liberty Alliance Single Sign On) library.
|
||||
%if %{with_java}
|
||||
%package -n java-%{name}
|
||||
Summary: Liberty Alliance Single Sign On (lasso) Java bindings
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: jpackage-utils
|
||||
Requires: java-headless
|
||||
Requires: jpackage-utils
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
@ -165,6 +145,8 @@ Java language bindings for the lasso (Liberty Alliance Single Sign On) library.
|
||||
%if %{with_php}
|
||||
%package -n php-%{name}
|
||||
Summary: Liberty Alliance Single Sign On (lasso) PHP bindings
|
||||
BuildRequires: expat-devel
|
||||
BuildRequires: php-devel
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: php(zend-abi) = %{php_zend_api}
|
||||
Requires: php(api) = %{php_core_api}
|
||||
@ -178,6 +160,10 @@ PHP language bindings for the lasso (Liberty Alliance Single Sign On) library.
|
||||
%package -n python2-%{name}
|
||||
%{?python_provide:%python_provide python2-%{name}}
|
||||
Summary: Liberty Alliance Single Sign On (lasso) Python bindings
|
||||
BuildRequires: python2
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-lxml
|
||||
BuildRequires: python2-six
|
||||
Requires: python2
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%if %{obsolete_old_lang_subpackages}
|
||||
@ -195,6 +181,10 @@ library.
|
||||
%package -n python3-%{name}
|
||||
%{?python_provide:%python_provide python3-%{name}}
|
||||
Summary: Liberty Alliance Single Sign On (lasso) Python bindings
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-lxml
|
||||
BuildRequires: python3-six
|
||||
Requires: python3
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user