realmd/realmd.spec
Stanislav Brabec 82724f8657 Accepting request 284781 from home:deadpoint
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.

OBS-URL: https://build.opensuse.org/request/show/284781
OBS-URL: https://build.opensuse.org/package/show/network/realmd?expand=0&rev=1
2015-02-16 17:25:59 +00:00

80 lines
2.4 KiB
RPMSpec

#
# 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
Version: 0.15.2
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
%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
%check
make check
%files -f realmd.lang
%defattr(-,root,root)
%{_sbindir}/realm
%{_unitdir}/realmd.service
%{_libdir}/realmd
%{_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