2011-04-21 13:21:32 +02:00
|
|
|
#
|
|
|
|
# spec file for package accountsservice
|
|
|
|
#
|
|
|
|
# Copyright (c) 2011 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/
|
|
|
|
#
|
|
|
|
|
2011-04-21 13:21:46 +02:00
|
|
|
|
|
|
|
|
2011-04-21 13:21:32 +02:00
|
|
|
Name: accountsservice
|
2011-05-02 14:43:07 +02:00
|
|
|
Version: 0.6.10
|
2011-04-21 13:21:32 +02:00
|
|
|
Release: 1
|
|
|
|
License: GPLv3+
|
|
|
|
Summary: D-Bus Service to Manipulate User Account Information
|
|
|
|
Url: http://www.fedoraproject.org/wiki/Features/UserAccountDialog
|
|
|
|
Group: System/Daemons
|
2011-05-02 14:43:07 +02:00
|
|
|
Source: http://www.freedesktop.org/software/accountsservice/%{name}-%{version}.tar.bz2
|
2011-04-21 13:21:32 +02:00
|
|
|
Source1: %{name}-rpmlintrc
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: pkgconfig(dbus-glib-1)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(polkit-gobject-1)
|
|
|
|
BuildRequires: pkgconfig(systemd)
|
|
|
|
Recommends: %{name}-lang
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
The accountsservice server provides a set of D-Bus interfaces for
|
|
|
|
querying and manipulating user account information.
|
|
|
|
|
|
|
|
The implementation is based on the useradd, usermod and userdel
|
|
|
|
commands.
|
|
|
|
|
|
|
|
%package -n libaccountsservice0
|
|
|
|
License: GPLv3+
|
|
|
|
Summary: D-Bus Service to Manipulate User Account Information -- Client Library
|
|
|
|
Group: System/Libraries
|
|
|
|
# Clients do need the server to do something useful
|
|
|
|
Requires: %{name}
|
|
|
|
|
|
|
|
%description -n libaccountsservice0
|
|
|
|
The accountsservice server provides a set of D-Bus interfaces for
|
|
|
|
querying and manipulating user account information.
|
|
|
|
|
|
|
|
This package provides a client library for the service.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
License: GPLv3+
|
|
|
|
Summary: D-Bus Service to Manipulate User Account Information -- Development Files
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libaccountsservice0 = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The accountsservice server provides a set of D-Bus interfaces for
|
|
|
|
querying and manipulating user account information.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%find_lang accounts-service
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -n libaccountsservice0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libaccountsservice0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS COPYING NEWS README
|
|
|
|
/lib/systemd/system/accounts-daemon.service
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.Accounts.conf
|
|
|
|
%{_libexecdir}/accounts-daemon
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.User.xml
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service
|
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy
|
|
|
|
# Directories where the server stores user data
|
|
|
|
%dir %{_localstatedir}/lib/AccountsService
|
|
|
|
%dir %{_localstatedir}/lib/AccountsService/users
|
|
|
|
%dir %{_localstatedir}/lib/AccountsService/icons
|
|
|
|
|
|
|
|
%files -n libaccountsservice0
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/*.so.0*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/accountsservice.pc
|
|
|
|
%{_includedir}/accountsservice-1.0/
|
|
|
|
|
|
|
|
%files lang -f accounts-service.lang
|
|
|
|
|
|
|
|
%changelog
|