2015-02-16 17:25:59 +00:00
|
|
|
#
|
|
|
|
# spec file for package realmd
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 SUSE LINUX Products 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: realmd
|
2016-05-23 15:20:43 +00:00
|
|
|
Version: 0.16.2
|
2015-02-16 17:25:59 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Kerberos realm enrollment service
|
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Productivity/Networking/Security
|
|
|
|
Url: http://www.freedesktop.org/software/realmd
|
|
|
|
Source: http://www.freedesktop.org/software/realmd/releases/%{name}-%{version}.tar.gz
|
|
|
|
Source1: realmd-rpmlintrc
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: libpackagekit-glib2-devel
|
|
|
|
BuildRequires: openldap2-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: polkit-devel
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
BuildRequires: xmlto
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2016-05-23 15:20:43 +00:00
|
|
|
PreReq: %fillup_prereq
|
|
|
|
PreReq: %insserv_prereq
|
|
|
|
|
2015-02-16 17:25:59 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
realmd is an on demand system DBus service, which allows callers to configure
|
|
|
|
network authentication and domain membership in a standard way. realmd
|
|
|
|
discovers information about the domain or realm automatically and does not
|
|
|
|
require complicated configuration in order to join a domain or realm.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-distro=suse \
|
|
|
|
--with-systemd-unit-dir=%{_unitdir} \
|
|
|
|
--with-systemd-journal=no \
|
|
|
|
--docdir=%{_defaultdocdir}/%{name}
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
|
|
|
|
%find_lang realmd
|
|
|
|
|
2016-05-23 15:20:43 +00:00
|
|
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
|
|
|
|
2015-02-16 17:25:59 +00:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2016-05-23 15:20:43 +00:00
|
|
|
%pre
|
|
|
|
%service_add_pre %{name}.service
|
|
|
|
|
|
|
|
%post
|
|
|
|
%service_add_post %{name}.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%service_del_preun %{name}.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%service_del_postun %{name}.service
|
|
|
|
|
2015-02-16 17:25:59 +00:00
|
|
|
%files -f realmd.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sbindir}/realm
|
2016-05-23 15:20:43 +00:00
|
|
|
%{_sbindir}/rc%{name}
|
2015-02-16 17:25:59 +00:00
|
|
|
%{_unitdir}/realmd.service
|
2016-05-23 15:20:43 +00:00
|
|
|
%dir %{_prefix}/lib/%{name}
|
|
|
|
%{_prefix}/lib/%{name}/%{name}
|
|
|
|
%{_prefix}/lib/%{name}/%{name}-defaults.conf
|
|
|
|
%{_prefix}/lib/%{name}/%{name}-distro.conf
|
2015-02-16 17:25:59 +00:00
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.realmd.conf
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.realmd.service
|
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.realmd.policy
|
|
|
|
%{_mandir}/man5/realmd.conf.5.gz
|
|
|
|
%{_mandir}/man8/realm.8.gz
|
|
|
|
%{_localstatedir}/cache/%{name}
|
|
|
|
%doc %{_defaultdocdir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|