1 # define used dbus type [p2p, session, system]
3 # enable debug features such as control environment variables
4 # WARNING! do not use for production builds as it will break security
8 Summary: GLib based Single Sign-On daemon
13 Source: %{name}-%{version}.tar.gz
14 %if %{dbus_type} != "p2p"
17 Requires(post): /sbin/ldconfig
18 Requires(postun): /sbin/ldconfig
19 BuildRequires: pkgconfig(dbus-1)
20 BuildRequires: pkgconfig(glib-2.0) >= 2.30
21 BuildRequires: pkgconfig(gobject-2.0)
22 BuildRequires: pkgconfig(gio-2.0)
23 BuildRequires: pkgconfig(gio-unix-2.0)
24 BuildRequires: pkgconfig(gmodule-2.0)
25 BuildRequires: pkgconfig(sqlite3)
33 Summary: Development files for %{name}
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
42 %setup -q -n %{name}-%{version}
43 if [ -f = "gtk-doc.make" ]
52 %if %{debug_build} == 1
53 %configure --enable-dbus-type=%{dbus_type} --enable-debug
55 %configure --enable-dbus-type=%{dbus_type}
68 chmod u+s %{_bindir}/%{name}
71 %postun -p /sbin/ldconfig
75 %defattr(-,root,root,-)
76 %doc AUTHORS COPYING.LIB INSTALL NEWS README
78 %{_bindir}/%{name}-plugind
79 %{_libdir}/lib%{name}-*.so.*
80 %{_libdir}/%{name}/extensions/*.so*
81 %{_libdir}/%{name}/plugins/*.so*
82 %if %{dbus_type} != "p2p"
83 %{_datadir}/dbus-1/services/*SingleSignOn*.service
88 %defattr(-,root,root,-)
89 %{_includedir}/%{name}/*.h
90 %{_libdir}/lib%{name}-*.so
91 %{_libdir}/pkgconfig/%{name}.pc
92 %if %{dbus_type} != "p2p"
93 %{_datadir}/dbus-1/interfaces/*SSO*.xml