2018-09-21 14:28:56 +02:00
|
|
|
#
|
|
|
|
# spec file for package adcli
|
|
|
|
#
|
2021-03-29 11:52:27 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2018-09-21 14:28:56 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
2018-10-01 17:06:13 +02:00
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-09-21 14:28:56 +02:00
|
|
|
#
|
|
|
|
|
2018-10-01 17:06:13 +02:00
|
|
|
|
2021-03-29 11:52:27 +02:00
|
|
|
%define filehash 30880d967e79cee789194435e70fbf30
|
|
|
|
%define sighash 1075c948917caa32464c15ec9b6c5caf
|
2018-09-21 14:28:56 +02:00
|
|
|
Name: adcli
|
2021-03-29 11:52:27 +02:00
|
|
|
Version: 0.9.1
|
2018-09-21 14:28:56 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Tool for performing actions on an Active Directory domain
|
2018-10-01 17:06:13 +02:00
|
|
|
License: LGPL-2.0-or-later
|
2018-10-02 11:35:56 +02:00
|
|
|
Group: Productivity/Networking/Other
|
2019-12-23 12:56:16 +01:00
|
|
|
URL: https://gitlab.freedesktop.org/realmd/adcli
|
2021-03-29 11:52:27 +02:00
|
|
|
Source0: https://gitlab.freedesktop.org/sbose/adcli/uploads/%{filehash}/%{name}-%{version}.tar.gz
|
|
|
|
Source2: https://gitlab.freedesktop.org/sbose/adcli/uploads/%{sighash}/%{name}-%{version}.tar.gz.sig
|
|
|
|
# https://keys.openpgp.org/vks/v1/by-fingerprint/4A21C23848CDC107F487939849236C40EE9D57EB
|
|
|
|
Source3: %{name}.keyring
|
2018-09-21 14:28:56 +02:00
|
|
|
BuildRequires: libxslt-tools
|
|
|
|
BuildRequires: openldap2-devel
|
2018-10-01 17:06:13 +02:00
|
|
|
BuildRequires: pkgconfig
|
2018-09-21 14:28:56 +02:00
|
|
|
BuildRequires: xmlto
|
|
|
|
BuildRequires: pkgconfig(libsasl2)
|
|
|
|
BuildRequires: pkgconfig(mit-krb5)
|
|
|
|
|
|
|
|
%description
|
2018-10-02 11:28:48 +02:00
|
|
|
A command line tool that can perform actions in an Active Directory domain.
|
|
|
|
Among other things it can be used to join a computer to a domain.
|
2018-09-21 14:28:56 +02:00
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for adcli
|
|
|
|
Group: Documentation/Other
|
2018-11-11 18:29:13 +01:00
|
|
|
BuildArch: noarch
|
2018-09-21 14:28:56 +02:00
|
|
|
|
|
|
|
%description doc
|
2018-10-02 11:28:48 +02:00
|
|
|
A command line tool that can perform actions in an Active Directory domain.
|
|
|
|
Among other things it can be used to join a computer to a domain.
|
2018-09-21 14:28:56 +02:00
|
|
|
|
|
|
|
This package contains the documentation for adcli.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2021-03-29 11:52:27 +02:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--disable-silent-rules \
|
|
|
|
--enable-strict
|
|
|
|
%make_build
|
2018-09-21 14:28:56 +02:00
|
|
|
|
|
|
|
%install
|
2018-10-01 17:06:13 +02:00
|
|
|
%make_install
|
2018-10-01 17:08:11 +02:00
|
|
|
# Remove zero-length file.
|
|
|
|
rm %{buildroot}/%{_datadir}/doc/%{name}/adcli-docs.proc
|
2018-09-21 14:28:56 +02:00
|
|
|
|
2021-03-29 11:52:27 +02:00
|
|
|
%check
|
|
|
|
%make_build check
|
|
|
|
|
2018-09-21 14:28:56 +02:00
|
|
|
%files
|
2018-10-01 17:06:13 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
2018-09-21 14:28:56 +02:00
|
|
|
%{_sbindir}/%{name}
|
|
|
|
%{_mandir}/man8/adcli.8%{?ext_man}
|
|
|
|
|
|
|
|
%files doc
|
2021-03-29 11:52:27 +02:00
|
|
|
%license COPYING
|
2018-09-21 14:28:56 +02:00
|
|
|
%doc %{_datadir}/doc/%{name}
|
|
|
|
|
|
|
|
%changelog
|