diff options
| author | Petr Viktorin <pviktori@redhat.com> | 2016-02-19 14:54:18 +0100 |
|---|---|---|
| committer | Jan Cholasta <jcholast@redhat.com> | 2016-02-29 08:28:50 +0100 |
| commit | ec95ffaa529b3de61b12c85ce01e4b2f1d0c65b3 (patch) | |
| tree | e210f0a03cacbf50e3f5a20fc82b1d1944d4c211 | |
| parent | 872d5903d0d278914d740575b4ef92fa75c44a45 (diff) | |
Package python3-ipaclient
Part of the work for https://fedorahosted.org/freeipa/ticket/5638
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
| -rw-r--r-- | freeipa.spec.in | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in index 74b260b5d..40162a971 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -370,6 +370,30 @@ If your network uses IPA for authentication, this package should be installed on every client machine. +%if 0%{?with_python3} + +%package -n python3-ipaclient +Summary: Python libraries used by IPA client +Group: System Environment/Libraries +BuildArch: noarch +%{?python_provide:%python_provide python3-ipaclient} +Requires: %{name}-client-common = %{version}-%{release} +Requires: %{name}-common = %{version}-%{release} +Requires: python3-ipalib = %{version}-%{release} +Requires: python3-dns >= 1.11.1 + +%description -n python3-ipaclient +IPA is an integrated solution to provide centrally managed Identity (users, +hosts, services), Authentication (SSO, 2FA), and Authorization +(host access control, SELinux user roles, services). The solution provides +features for further integration with Linux based clients (SUDO, automount) +and integration with Active Directory based infrastructures (Trusts). +If your network uses IPA for authentication, this package should be +installed on every client machine. + +%endif # with_python3 + + %package client-common Summary: Common files used by IPA client Group: System Environment/Base @@ -691,6 +715,7 @@ make client-install DESTDIR=%{buildroot} (cd ipalib && make PYTHON=%{__python3} IPA_VERSION_IS_GIT_SNAPSHOT=no %{?_smp_mflags} DESTDIR=%{buildroot} install) (cd ipapython && make PYTHON=%{__python3} IPA_VERSION_IS_GIT_SNAPSHOT=no %{?_smp_mflags} DESTDIR=%{buildroot} install) (cd ipaplatform && %{__python3} setup.py install --root %{buildroot}) +(cd ipaclient && %{__python3} setup.py install --root %{buildroot}) %endif # with_python3 %find_lang %{gettext_domain} @@ -1246,6 +1271,20 @@ fi %{python_sitelib}/ipaclient-*.egg-info +%if 0%{?with_python3} + +%files -n python3-ipaclient +%defattr(-,root,root,-) +%doc README Contributors.txt +%license COPYING +%dir %{python3_sitelib}/ipaclient +%{python3_sitelib}/ipaclient/*.py +%{python3_sitelib}/ipaclient/__pycache__/*.py* +%{python3_sitelib}/ipaclient-*.egg-info + +%endif # with_python3 + + %files client-common %defattr(-,root,root,-) %doc README Contributors.txt |
