af6df9f
%global _hardened_build 1
bff2554
bff2554
Name:           accountsservice
236d137
Version:        0.6.37
b3d6f98
Release:        2%{?dist}
bff2554
Summary:        D-Bus interfaces for querying and manipulating user account information
bff2554
bff2554
Group:          System Environment/Daemons
bff2554
License:        GPLv3+
bff2554
URL:            http://www.fedoraproject.org/wiki/Features/UserAccountDialog
53cdc88
#VCS: git:git://git.freedesktop.org/accountsservice
d74b80b
Source0:        http://www.freedesktop.org/software/accountsservice/accountsservice-%{version}.tar.xz
bff2554
bff2554
BuildRequires:  glib2-devel
bff2554
BuildRequires:  dbus-glib-devel
bff2554
BuildRequires:  polkit-devel
bff2554
BuildRequires:  intltool
d6ee4ac
BuildRequires:  systemd-units
dc09693
BuildRequires:  systemd-devel
b10ed50
BuildRequires:  gobject-introspection-devel
7e1f055
BuildRequires:  gtk-doc
bff2554
bff2554
Requires:       polkit
bff2554
Requires:       shadow-utils
bff2554
6cca7aa
Requires(post): systemd-units
6cca7aa
Requires(preun): systemd-units
6cca7aa
Requires(postun): systemd-units
6cca7aa
2a2e442
%package libs
2436ddd
Summary: Client-side library to talk to accountsservice
2a2e442
Group: Development/Libraries
2a2e442
Requires: %{name} = %{version}-%{release}
2a2e442
2a2e442
%description libs
2a2e442
The accountsservice-libs package contains a library that can
2a2e442
be used by applications that want to interact with the accountsservice
2a2e442
daemon.
2a2e442
2a2e442
2a2e442
%package devel
2a2e442
Summary: Development files for accountsservice-libs
2a2e442
Group: Development/Libraries
2a2e442
Requires: %{name}-libs = %{version}-%{release}
2a2e442
2a2e442
%description devel
2a2e442
The accountsservice-devel package contains headers and other
2a2e442
files needed to build applications that use accountsservice-libs.
2a2e442
2a2e442
bff2554
%description
bff2554
The accountsservice project provides a set of D-Bus interfaces for
bff2554
querying and manipulating user account information and an implementation
bff2554
of these interfaces, based on the useradd, usermod and userdel commands.
bff2554
2a2e442
bff2554
%prep
bff2554
%setup -q
bff2554
bff2554
%build
3d0303c
%configure --enable-user-heuristics
bff2554
make %{?_smp_mflags}
bff2554
bff2554
bff2554
%install
bff2554
make install DESTDIR=$RPM_BUILD_ROOT
2a2e442
rm $RPM_BUILD_ROOT%{_libdir}/*.la
2a2e442
rm $RPM_BUILD_ROOT%{_libdir}/*.a
d6ee4ac
%find_lang accounts-service
bff2554
bff2554
2436ddd
%post libs -p /sbin/ldconfig
2436ddd
2436ddd
%postun libs -p /sbin/ldconfig
2436ddd
6cca7aa
%post
6cca7aa
%systemd_post accounts-daemon.service
6cca7aa
6cca7aa
%preun
6cca7aa
%systemd_preun accounts-daemon.service
6cca7aa
6cca7aa
%postun
6cca7aa
%systemd_postun accounts-daemon.service
2436ddd
d6ee4ac
%files -f accounts-service.lang
bff2554
%doc COPYING README AUTHORS
bff2554
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.Accounts.conf
bff2554
%{_libexecdir}/accounts-daemon
bff2554
%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml
bff2554
%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.User.xml
bff2554
%{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service
bff2554
%{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy
4041602
%dir %{_localstatedir}/lib/AccountsService/
4041602
%dir %{_localstatedir}/lib/AccountsService/users
4041602
%dir %{_localstatedir}/lib/AccountsService/icons
1fb5a04
%{_unitdir}/accounts-daemon.service
bff2554
2a2e442
%files libs
2a2e442
%{_libdir}/libaccountsservice.so.*
2a2e442
%{_libdir}/girepository-1.0/AccountsService-1.0.typelib
2a2e442
2a2e442
%files devel
2a2e442
%{_includedir}/accountsservice-1.0
2a2e442
%{_libdir}/libaccountsservice.so
2a2e442
%{_libdir}/pkgconfig/accountsservice.pc
2a2e442
%{_datadir}/gir-1.0/AccountsService-1.0.gir
Richard Hughes 19a5d04
%dir %{_datadir}/gtk-doc/html/libaccountsservice
Richard Hughes 19a5d04
%{_datadir}/gtk-doc/html/libaccountsservice/*
bff2554
bff2554
%changelog
b3d6f98
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.6.37-2
b3d6f98
- Rebuilt for gobject-introspection 1.41.4
b3d6f98
236d137
* Sat Jun 07 2014 Kalev Lember <kalevlember@gmail.com> - 0.6.37-1
236d137
- Update to 0.6.37, drop upstreamed patches
236d137
40903be
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.35-5
40903be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
40903be
3a7a6b0
* Fri Jan 10 2014 Matthias Clasen <mclasen@redhat.com> - 0.6.35-4
035de60
- Consistently call userdel with -f
035de60
8b27c78
* Wed Nov 20 2013 Ray Strode <rstrode@redhat.com> 0.6.35-3
8b27c78
- Only treat users < 1000 as system users
8b27c78
- only use user heuristics on the range 500-1000
8b27c78
8b27c78
* Mon Nov 11 2013 Ray Strode <rstrode@redhat.com> 0.6.35-2
3d0303c
- pass --enable-user-heuristics which fedora needs so users
3d0303c
  with UIDs less than 1000 show up in the user list.
3d0303c
7e1f055
* Mon Oct 28 2013 Ray Strode <rstrode@redhat.com> 0.6.35-1
d780c4b
- Update to 0.6.35
7e1f055
  Related: #1013721
d780c4b
3bdfa99
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.34-2
3bdfa99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3bdfa99
ab9290f
* Tue Jun 11 2013 Ray Strode <rstrode@redhat.com> 0.6.34-1
ab9290f
- Update to 0.6.34
ab9290f
899ae09
* Tue Jun 11 2013 Matthias Clasen <mclasen@redhat.com> - 0.6.33-1
899ae09
- Update to 0.6.33
899ae09
c2a64e0
* Tue May 14 2013 Matthias Clasen <mclasen@redhat.com> - 0.6.32-1
c2a64e0
- Update to 0.6.32
c2a64e0
af6df9f
* Thu Apr 18 2013 Matthias Clasen <mclasen@redhat.com> - 0.6.31-2
af6df9f
- Hardened build
af6df9f
1c282a0
* Tue Apr 16 2013 Matthias Clasen <mclasen@redhat.com> - 0.6.31-1
1c282a0
- Update to 0.6.31
1c282a0
27783c6
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.30-2
27783c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
27783c6
Richard Hughes 19a5d04
* Wed Jan 16 2013 Richard Hughes <rhughes@redhat.com> - 0.6.30-1
Richard Hughes 19a5d04
- Update to 0.6.30
Richard Hughes 19a5d04
611f933
* Fri Nov 16 2012 Matthias Clasen <mclasen@redhat.com> - 0.6.26-1
611f933
- Update to 0.6.26
611f933
6cca7aa
* Tue Oct  2 2012 Matthias Clasen <mclasen@redhat.com> - 0.6.25-2
6cca7aa
- Update to 0.6.25
6cca7aa
- Use systemd scriptlets (#856649)
6cca7aa
d1b500b
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.22-3
d1b500b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d1b500b
2436ddd
* Sat Jul 14 2012 Ville Skyttä <ville.skytta@iki.fi> - 0.6.22-2
2436ddd
- Add ldconfig scriptlets to -libs.
2436ddd
0a661a9
* Thu Jun 28 2012 Ray Strode <rstrode@redhat.com> 0.6.22-1
0a661a9
- Update to 0.6.22.
0a661a9
- Fixes CVE-2012-2737 - local file disclosure
0a661a9
  Related:  #832532
0a661a9
9cdb18e
* Thu May 30 2012 Matthias Clasen <mclasen@redhatcom> 0.6.21-1
9cdb18e
- Update to 0.6.21
9cdb18e
7a80459
* Fri May 04 2012 Ray Strode <rstrode@redhat.com> 0.6.20-1
7a80459
- Update to 0.6.20. Should fix user list.
7a80459
  Related: #814690
7a80459
62d5ed3
* Thu May 03 2012 Ray Strode <rstrode@redhat.com> 0.6.19-1
62d5ed3
- Update to 0.6.19
62d5ed3
  Allows user deletion of logged in users
62d5ed3
  Related: #814690
62d5ed3
bf02b12
* Wed Apr 11 2012 Matthias Clasen <mclsaen@redhat.com> - 0.6.18-1
bf02b12
- Update to 0.6.18
bf02b12
58cbbbe
* Tue Mar 27 2012 Ray Strode <rstrode@redhat.com> 0.6.17-1
58cbbbe
- Update to latest release
58cbbbe
1fb5a04
* Sun Mar  4 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.6.15-4
1fb5a04
- Fix unitdir with usrmove
1fb5a04
9df77af
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.15-3
9df77af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9df77af
18bc9fd
* Tue Nov 29 2011 Matthias Clasen <mclasen@redhat.com> 0.6.15-2
18bc9fd
- Make resetting user icons work
18bc9fd
- Update to 0.6.15
18bc9fd
- Fixes session chooser at login screen when logged into vt
18bc9fd
907d6b5
* Wed Sep 21 2011 Ray Strode <rstrode@redhat.com> 0.6.14-2
907d6b5
- Fix wtmp loading so users coming from the network are
907d6b5
  remembered in the user list in subsequent boots
907d6b5
cbd37c3
* Wed Sep 21 2011 Ray Strode <rstrode@redhat.com> 0.6.14-1
cbd37c3
- Update to 0.6.14
cbd37c3
15c0f0d
* Sun Sep  4 2011 Matthias Clasen <mclasen@redhat.com> - 0.6.13-3
15c0f0d
- Fix fast user switching
15c0f0d
1c43145
* Mon Aug 15 2011 Kalev Lember <kalevlember@gmail.com> - 0.6.13-2
1c43145
- Rebuilt for rpm bug #728707
1c43145
d74b80b
* Tue Jul 19 2011 Matthias Clasen <mclasen@redhat.com> - 0.6.13-1
d74b80b
- Update to 0.6.13
d74b80b
- Drop ConsoleKit dependency
d74b80b
7f8d9bb
* Mon Jun 06 2011 Ray Strode <rstrode@redhat.com> 0.6.12-1
7f8d9bb
- Update to latest release
7f8d9bb
1be2156
* Wed May 18 2011 Matthias Clasen <mclasen@redhat.com> 0.6.11-1
1be2156
- Update to 0.6.11
1be2156
f60df04
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-2
f60df04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f60df04
fc9aabb
* Wed Feb 02 2011 Ray Strode <rstrode@redhat.com> 0.6.3-1
fc9aabb
- Update to 0.6.3
fc9aabb
2a2e442
* Thu Jan 27 2011 Matthias Clasen <mclasen@redhat.com> 0.6.2-1
2a2e442
- Update to 0.6.2
2a2e442
d6ee4ac
* Wed Jul 21 2010 Matthias Clasen <mclasen@redhat.com> 0.6.1-1
d6ee4ac
- Update to 0.6.1
d6ee4ac
- Install systemd unit file
d6ee4ac
1215136
* Mon Apr  5 2010 Matthias Clasen <mclasen@redhat.com> 0.6-2
1215136
- Always emit changed signal on icon change
1215136
53cdc88
* Tue Mar 30 2010 Matthias Clasen <mclasen@redhat.com> 0.6-1
53cdc88
- Update to 0.6
53cdc88
7097ae0
* Mon Mar 22 2010 Matthias Clasen <mclasen@redhat.com> 0.5-1
7097ae0
- Update to 0.5
7097ae0
4041602
* Mon Feb 22 2010 Bastien Nocera <bnocera@redhat.com> 0.4-3
4041602
- Fix directory ownership
4041602
46f54c7
* Mon Feb 22 2010 Bastien Nocera <bnocera@redhat.com> 0.4-2
46f54c7
- Add missing directories to the filelist
46f54c7
bff2554
* Fri Jan 29 2010 Matthias Clasen <mclasen@redhat.com> 0.4-1
bff2554
- Initial packaging, based on work by Richard Hughes