From 0665097785ea68be92b54f2a75b1c9255e5b011f74ef4127b16c68fa8ccc1781 Mon Sep 17 00:00:00 2001 From: Chris Kowalczyk Date: Fri, 21 Sep 2018 12:28:56 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/network:ldap/adcli?expand=0&rev=4 --- adcli.spec | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 adcli.spec diff --git a/adcli.spec b/adcli.spec new file mode 100644 index 0000000..db93352 --- /dev/null +++ b/adcli.spec @@ -0,0 +1,77 @@ +# +# spec file for package adcli +# +# Copyright (c) 2018 Chris Kowalczyk +# +# 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 http://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+ +Group: System/Libraries +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: xmlto +BuildRequires: pkgconfig(libsasl2) +BuildRequires: pkgconfig(mit-krb5) + +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Library of routines for joining a machine to Active Directory (without samba) +and managing machine accounts there. Will probably expand to cover other AD +related tasks as well. + +%package doc +Summary: Documentation for adcli +Group: Documentation/Other +Requires: %{name} = %{version} + +%description doc +Library of routines for joining a machine to Active Directory (without samba) +and managing machine accounts there. Will probably expand to cover other AD +related tasks as well. + +This package contains the documentation for adcli. + +%prep +%setup -q + +%build +%configure --disable-static \ + --disable-silent-rules +make %{?_smp_mflags} + +%install +%makeinstall +#Remove zero-length file. +pushd %{buildroot}/%{_datadir}/doc/%{name} +rm adcli-docs.proc +popd + +%files +%defattr(-,root,root) +%doc AUTHORS ChangeLog COPYING NEWS README +%{_sbindir}/%{name} +%{_mandir}/man8/adcli.8%{?ext_man} + +%files doc +%defattr(-,root,root) +%doc %{_datadir}/doc/%{name} + +%changelog