From f0de37e077154dc552c5fbc41b563381262333980dcf639cc5969d78988926ac Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Thu, 21 Apr 2011 11:21:32 +0000 Subject: [PATCH] Accepting request 68037 from GNOME:Factory Accepted submit request 68037 from user babelworx OBS-URL: https://build.opensuse.org/request/show/68037 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/accountsservice?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + accountsservice-0.6.8.tar.bz2 | 3 + accountsservice-rpmlintrc | 3 + accountsservice.changes | 87 ++++++++++++++++++++++++++ accountsservice.spec | 112 ++++++++++++++++++++++++++++++++++ 6 files changed, 229 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 accountsservice-0.6.8.tar.bz2 create mode 100644 accountsservice-rpmlintrc create mode 100644 accountsservice.changes create mode 100644 accountsservice.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/accountsservice-0.6.8.tar.bz2 b/accountsservice-0.6.8.tar.bz2 new file mode 100644 index 0000000..8710f13 --- /dev/null +++ b/accountsservice-0.6.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e80febdcfe7fb511dbb1bf25aacfd948d8e1ffab3046789917ea059d7e164875 +size 342127 diff --git a/accountsservice-rpmlintrc b/accountsservice-rpmlintrc new file mode 100644 index 0000000..515d95e --- /dev/null +++ b/accountsservice-rpmlintrc @@ -0,0 +1,3 @@ +# This is temporary and should not enter Factory! +addFilter(".*suse-dbus-unauthorized-service.*org\.freedesktop\.Accounts.*") +addFilter(".*polkit-unauthorized-privilege.*org\.freedesktop\.accounts.*") diff --git a/accountsservice.changes b/accountsservice.changes new file mode 100644 index 0000000..cce85ce --- /dev/null +++ b/accountsservice.changes @@ -0,0 +1,87 @@ +------------------------------------------------------------------- +Mon Apr 11 13:41:00 UTC 2011 - fcrozat@novell.com + +- Add pkgconfig(systemd) to BuildRequires and package systemd + configuration file for accountsservice. + +------------------------------------------------------------------- +Tue Apr 5 11:18:12 UTC 2011 - fcrozat@novell.com + +- Update to version 0.6.8: + + use same rules for parsing booleans from gdm config as gdm. + +------------------------------------------------------------------- +Wed Mar 23 10:25:27 UTC 2011 - fcrozat@novell.com + +- Update to version 0.6.7: + + Fix call to useradd for normal users + + Correct free array of groups + + Updated translations +- Changes from version 0.6.6: + + Make it possible to disable user icon + + Drop Supervised user role + + Use "wheel" instead of "desktop_admin_r" as admin group + since that's what everyone uses for this purpose anyway. + + Crasher fixes + + Misc distro integration fixes + + Updated translations +- Changes from version 0.6.5: + + No longer return excluded users from cached listings + + Add a --debug command line option + + Use proper dbus proxy for settings api in client lib + + Expose XSession property over bus +- Enforce dependency on main package in library package by changing + Recommends to Requires. +- Add a rpmlintrc to ignore security-related rpmlint warnings that + make the build fail on Factory. This needs to get removed when + entering Factory, though. + +------------------------------------------------------------------- +Thu Mar 3 11:52:55 CET 2011 - vuntz@opensuse.org + +- Cleanup for inclusion in Factory. + +------------------------------------------------------------------- +Thu Feb 17 18:05:00 UTC 2011 - fcrozat@novell.com + +- Update to version 0.6.4: + - fix typo in HomeDirectory property + - fix bug in asynchronous loading code + - drop some random g_print's +- Changes from version 0.6.3: + + Add more getters to client library + + Add an initial cut at a setter api + + Add XSession property type +- Changes from version 0.6.2: + + Remove the unused UserChanged signal + + Add a small client library, based on code from gdm + + Don't use gnome-common + + Use the user-administration privilege for autologin changes +- Changes from version 0.6.1: + + Always emit the changed signal when setting user photo + + Install systemd unit files + + Translation updates +- Changes from version 0.6: + + Always require user-administration privilege when setting a + password or changing a username + + Allow changing password mode and password even when the + account is locked, and unlock it as a side-effect + + Use /etc/shadow to store account locking and 'set password at + next login' information and monitor /etc/shadow for changes + + Set loginuid when runing commands on behalf of a user to + generate proper audit records + + Drop SetIconData and make SetIconFile copy the file when + appropriate. As a consequence, the service no longer links + against image libraries. + + Various other robustness and error-handling fixes +- Changes from version 0.5: + + Make initial user list call work + + Avoid extraneous commandline parsing +- Package directories used by daemon to store user data: + /var/lib/AccountsService and subdirectories. + +------------------------------------------------------------------- +Sat Jan 30 13:12:53 CET 2010 - captain.magnus@opensuse.org + +- New package (version 0.4). + diff --git a/accountsservice.spec b/accountsservice.spec new file mode 100644 index 0000000..9b53fbc --- /dev/null +++ b/accountsservice.spec @@ -0,0 +1,112 @@ +# +# 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/ +# + +Name: accountsservice +Version: 0.6.8 +Release: 1 +License: GPLv3+ +Summary: D-Bus Service to Manipulate User Account Information +Url: http://www.fedoraproject.org/wiki/Features/UserAccountDialog +Group: System/Daemons +Source: http://mclasen.fedorapeople.org/accounts/%{name}-%{version}.tar.bz2 +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