pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gsignond.pc
+dist_sysconf_DATA = gsignond.conf
+
SUBDIRS = src test
EXTRA_DIST = dists tools
AC_SUBST(MESSAGE_BUS_TYPE, [$enable_dbus_type])
AM_CONDITIONAL(HAVE_DEBUG, [test x$enable_debug = xyes])
+AM_CONDITIONAL(SET_PERMISSIONS, [test x$enable_distcheck != xyes])
AC_SUBST(DBUS_SERVICES_DIR)
AC_SUBST(DBUS_INTERFACES_DIR)
Name: gsignond
Summary: GLib based Single Sign-On daemon
Version: 0.0.2
-Release: 9
+Release: 10
Group: System/Daemons
-License: LGPL
+License: LGPL-2.1+
Source: %{name}-%{version}.tar.gz
+Provides: gsignon
%if %{dbus_type} != "p2p"
Requires: dbus-1
%endif
%endif
%exclude %{_libdir}/gsignond/extensions/*.la
%exclude %{_libdir}/gsignond/plugins/*.la
+%config(noreplace) %{_sysconfdir}/gsignond.conf
%files devel
Name: gsignond
Summary: GLib based Single Sign-On daemon
Version: 0.0.2
-Release: 9
+Release: 10
Group: System/Daemons
-License: LGPL
+License: LGPL-2.1+
Source: %{name}-%{version}.tar.gz
+Provides: gsignon
%if %{dbus_type} != "p2p"
Requires: dbus-1
%endif
%if %{dbus_type} != "p2p"
%{_datadir}/dbus-1/services/*SingleSignOn*.service
%endif
+%config(noreplace) %{_sysconfdir}/gsignond.conf
%files devel
$(GSIGNOND_LIBS) \
$(NULL)
+if SET_PERMISSIONS
+install-exec-hook:
+ chown root $(bindir)/gsignond || true
+ chmod u+s $(bindir)/gsignond || true
+endif
+