File invisAD-client.spec of Package invisAD-client
#
# spec file for package invisAD-client
#
# Copyright (c) 2018 Stefan Schaefer -- invis-server.org
#
# 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 to stefan@invis-server.org
#
%define packagename invisAD-client
Name: invisAD-client-1
Version: 0.5
Release: 0
License: GPL-3.0
Summary: Setup Package for invis Servers
Url: http://www.invis-server.org
Group: Productivity/Networking/Other
Source: %name-%version.tar.gz
#BuildRequires: apache2 libzypp cron sudo systemd shadow
Requires: sssd-tools sssd-ad sssd-krb5 openldap2-client krb5-client
%if 0%{?suse_version} < 1600 && 0%{?is_opensuse}
Requires: nss_ldap pam_ldap
%endif
Obsoletes: nscd
#Conflicts: invisAD-setup invisAD-setup-11 invisAD-setup-12
Provides: invisAD-client
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
invis servers are servers for small and micro-enterprises based on openSUSE Linux. This package offers tools to enter invis-Server managed ActiveDirectoy domains with openSUSE Leap based systems.
It contains additional a script to connect an openSUSE Linux Workstations via OpenVPN.
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}
rm -rf install
mv * %{buildroot}
find %{buildroot} -name ".gitignore" -exec rm -f {} \;
%pre
%post
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/invis-client
%config(noreplace) %{_sysconfdir}/invis-client/*.conf
%attr(0755,root,root) %{_bindir}/*
%dir %doc %{_defaultdocdir}/%{packagename}
%doc %doc %{_defaultdocdir}/%{packagename}/*
%changelog