mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Include the ipa command in client-only build
https://fedorahosted.org/freeipa/ticket/4536 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
parent
df187a4b4a
commit
22ce015913
@ -223,7 +223,6 @@ logs, analysis thereof). If your network uses IPA for authentication,
|
|||||||
this package should be installed on every client machine.
|
this package should be installed on every client machine.
|
||||||
|
|
||||||
|
|
||||||
%if ! %{ONLY_CLIENT}
|
|
||||||
%package admintools
|
%package admintools
|
||||||
Summary: IPA administrative tools
|
Summary: IPA administrative tools
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -241,7 +240,6 @@ user, virtual machines, groups, authentication credentials), Policy
|
|||||||
(configuration settings, access control information) and Audit (events,
|
(configuration settings, access control information) and Audit (events,
|
||||||
logs, analysis thereof). This package provides command-line tools for
|
logs, analysis thereof). This package provides command-line tools for
|
||||||
IPA administrators.
|
IPA administrators.
|
||||||
%endif # ONLY_CLIENT
|
|
||||||
|
|
||||||
%package python
|
%package python
|
||||||
Summary: Python libraries used by IPA
|
Summary: Python libraries used by IPA
|
||||||
@ -427,10 +425,10 @@ mkdir -p %{buildroot}%{_sysconfdir}/ipa/
|
|||||||
/bin/touch %{buildroot}%{_sysconfdir}/ipa/default.conf
|
/bin/touch %{buildroot}%{_sysconfdir}/ipa/default.conf
|
||||||
/bin/touch %{buildroot}%{_sysconfdir}/ipa/ca.crt
|
/bin/touch %{buildroot}%{_sysconfdir}/ipa/ca.crt
|
||||||
mkdir -p %{buildroot}/%{_localstatedir}/lib/ipa-client/sysrestore
|
mkdir -p %{buildroot}/%{_localstatedir}/lib/ipa-client/sysrestore
|
||||||
|
|
||||||
%if ! %{ONLY_CLIENT}
|
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
|
mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
|
||||||
install -pm 644 contrib/completion/ipa.bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/ipa
|
install -pm 644 contrib/completion/ipa.bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/ipa
|
||||||
|
|
||||||
|
%if ! %{ONLY_CLIENT}
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/cron.d
|
mkdir -p %{buildroot}%{_sysconfdir}/cron.d
|
||||||
|
|
||||||
(cd %{buildroot}/%{python_sitelib}/ipaserver && find . -type f | \
|
(cd %{buildroot}/%{python_sitelib}/ipaserver && find . -type f | \
|
||||||
@ -770,14 +768,12 @@ fi
|
|||||||
%{_mandir}/man1/ipa-join.1.gz
|
%{_mandir}/man1/ipa-join.1.gz
|
||||||
%{_mandir}/man5/default.conf.5.gz
|
%{_mandir}/man5/default.conf.5.gz
|
||||||
|
|
||||||
%if ! %{ONLY_CLIENT}
|
|
||||||
%files admintools
|
%files admintools
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING README Contributors.txt
|
%doc COPYING README Contributors.txt
|
||||||
%{_bindir}/ipa
|
%{_bindir}/ipa
|
||||||
%config %{_sysconfdir}/bash_completion.d
|
%config %{_sysconfdir}/bash_completion.d
|
||||||
%{_mandir}/man1/ipa.1.gz
|
%{_mandir}/man1/ipa.1.gz
|
||||||
%endif # ONLY_CLIENT
|
|
||||||
|
|
||||||
%files python -f %{gettext_domain}.lang
|
%files python -f %{gettext_domain}.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
@ -35,4 +35,6 @@ setup(
|
|||||||
'ipalib',
|
'ipalib',
|
||||||
'ipalib.plugins',
|
'ipalib.plugins',
|
||||||
],
|
],
|
||||||
|
scripts=['ipa'],
|
||||||
|
data_files = [('share/man/man1', ["ipa.1"])],
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user