adcli/adcli.spec

74 lines
2.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package adcli
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: adcli
Version: 0.8.2
Release: 0
Summary: Tool for performing actions on an Active Directory domain
License: LGPL-2.0-or-later
Group: Productivity/Networking/Other
URL: http://cgit.freedesktop.org/realmd/adcli
Source0: http://www.freedesktop.org/software/realmd/releases/%{name}-%{version}.tar.gz
Source1: http://www.freedesktop.org/software/realmd/releases/%{name}-%{version}.tar.gz.sig
BuildRequires: libxslt-tools
BuildRequires: openldap2-devel
BuildRequires: pkgconfig
BuildRequires: xmlto
BuildRequires: pkgconfig(libsasl2)
BuildRequires: pkgconfig(mit-krb5)
%description
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.
%package doc
Summary: Documentation for adcli
Group: Documentation/Other
Requires: %{name} = %{version}
%description doc
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.
This package contains the documentation for adcli.
%prep
%setup -q
%build
%configure --disable-static \
--disable-silent-rules
make %{?_smp_mflags}
%install
%make_install
# Remove zero-length file.
rm %{buildroot}/%{_datadir}/doc/%{name}/adcli-docs.proc
%files
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_sbindir}/%{name}
%{_mandir}/man8/adcli.8%{?ext_man}
%files doc
%doc %{_datadir}/doc/%{name}
%changelog