Blame SPECS/accountsservice.spec

88f331
%global _hardened_build 1
88f331
88f331
Name:           accountsservice
88f331
Version:        0.6.35
88f331
Release:        2%{?dist}
88f331
Summary:        D-Bus interfaces for querying and manipulating user account information
88f331
88f331
Group:          System Environment/Daemons
88f331
License:        GPLv3+
88f331
URL:            http://www.fedoraproject.org/wiki/Features/UserAccountDialog
88f331
#VCS: git:git://git.freedesktop.org/accountsservice
88f331
Source0:        http://www.freedesktop.org/software/accountsservice/accountsservice-%{version}.tar.xz
88f331
88f331
BuildRequires:  glib2-devel
88f331
BuildRequires:  dbus-glib-devel
88f331
BuildRequires:  polkit-devel
88f331
BuildRequires:  intltool
88f331
BuildRequires:  systemd-units
88f331
BuildRequires:  systemd-devel
88f331
BuildRequires:  gobject-introspection-devel
88f331
BuildRequires:  automake, autoconf, libtool
88f331
BuildRequires:  gtk-doc
88f331
88f331
Requires:       polkit
88f331
Requires:       shadow-utils
88f331
88f331
Requires(post): systemd-units
88f331
Requires(preun): systemd-units
88f331
Requires(postun): systemd-units
88f331
88f331
Patch0: rip-out-extension-interface.patch
88f331
Patch1: 0001-Avoid-deleting-the-root-user.patch
88f331
88f331
%package libs
88f331
Summary: Client-side library to talk to accountsservice
88f331
Group: Development/Libraries
88f331
Requires: %{name} = %{version}-%{release}
88f331
88f331
%description libs
88f331
The accountsservice-libs package contains a library that can
88f331
be used by applications that want to interact with the accountsservice
88f331
daemon.
88f331
88f331
88f331
%package devel
88f331
Summary: Development files for accountsservice-libs
88f331
Group: Development/Libraries
88f331
Requires: %{name}-libs = %{version}-%{release}
88f331
88f331
%description devel
88f331
The accountsservice-devel package contains headers and other
88f331
files needed to build applications that use accountsservice-libs.
88f331
88f331
88f331
%description
88f331
The accountsservice project provides a set of D-Bus interfaces for
88f331
querying and manipulating user account information and an implementation
88f331
of these interfaces, based on the useradd, usermod and userdel commands.
88f331
88f331
88f331
%prep
88f331
%setup -q
88f331
%patch0 -p1 -b .rip-out-extension-interface
88f331
%patch1 -p1 -b .dont-delete-root
88f331
88f331
%build
88f331
autoreconf -f -i
88f331
%configure
88f331
make %{?_smp_mflags}
88f331
88f331
88f331
%install
88f331
make install DESTDIR=$RPM_BUILD_ROOT
88f331
rm $RPM_BUILD_ROOT%{_libdir}/*.la
88f331
rm $RPM_BUILD_ROOT%{_libdir}/*.a
88f331
%find_lang accounts-service
88f331
88f331
88f331
%post libs -p /sbin/ldconfig
88f331
88f331
%postun libs -p /sbin/ldconfig
88f331
88f331
%post
88f331
%systemd_post accounts-daemon.service
88f331
88f331
%preun
88f331
%systemd_preun accounts-daemon.service
88f331
88f331
%postun
88f331
%systemd_postun accounts-daemon.service
88f331
88f331
%files -f accounts-service.lang
88f331
%defattr(-,root,root,-)
88f331
%doc COPYING README AUTHORS
88f331
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.Accounts.conf
88f331
%{_libexecdir}/accounts-daemon
88f331
%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml
88f331
%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.User.xml
88f331
%{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service
88f331
%{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy
88f331
%dir %{_localstatedir}/lib/AccountsService/
88f331
%dir %{_localstatedir}/lib/AccountsService/users
88f331
%dir %{_localstatedir}/lib/AccountsService/icons
88f331
%{_unitdir}/accounts-daemon.service
88f331
88f331
%files libs
88f331
%{_libdir}/libaccountsservice.so.*
88f331
%{_libdir}/girepository-1.0/AccountsService-1.0.typelib
88f331
88f331
%files devel
88f331
%{_includedir}/accountsservice-1.0
88f331
%{_libdir}/libaccountsservice.so
88f331
%{_libdir}/pkgconfig/accountsservice.pc
88f331
%{_datadir}/gir-1.0/AccountsService-1.0.gir
88f331
%dir %{_datadir}/gtk-doc/html/libaccountsservice
88f331
%{_datadir}/gtk-doc/html/libaccountsservice/*
88f331
88f331
%changelog
88f331
* Fri Nov  1 2013 Matthias Clasen <mclasen@redhat.com> 0.6.35-2
88f331
- Refuse to delete the root user
88f331
- Resolves: #1002973
88f331
88f331
* Tue Oct 22 2013 Ray Strode <rstrode@redhat.com> 0.6.35-1
88f331
- Update to 0.6.35
88f331
  Resolves: #1019488
88f331
88f331
* Tue Jun 11 2013 Ray Strode <rstrode@redhat.com> 0.6.34-1
88f331
- Update to 0.6.34
88f331
88f331
* Tue Jun 11 2013 Matthias Clasen <mclasen@redhat.com> - 0.6.33-1
88f331
- Update to 0.6.33
88f331
88f331
* Tue May 14 2013 Matthias Clasen <mclasen@redhat.com> - 0.6.32-1
88f331
- Update to 0.6.32
88f331
88f331
* Thu Apr 18 2013 Matthias Clasen <mclasen@redhat.com> - 0.6.31-2
88f331
- Hardened build
88f331
88f331
* Tue Apr 16 2013 Matthias Clasen <mclasen@redhat.com> - 0.6.31-1
88f331
- Update to 0.6.31
88f331
88f331
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.30-2
88f331
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
88f331
88f331
* Wed Jan 16 2013 Richard Hughes <rhughes@redhat.com> - 0.6.30-1
88f331
- Update to 0.6.30
88f331
88f331
* Fri Nov 16 2012 Matthias Clasen <mclasen@redhat.com> - 0.6.26-1
88f331
- Update to 0.6.26
88f331
88f331
* Tue Oct  2 2012 Matthias Clasen <mclasen@redhat.com> - 0.6.25-2
88f331
- Update to 0.6.25
88f331
- Use systemd scriptlets (#856649)
88f331
88f331
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.22-3
88f331
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
88f331
88f331
* Sat Jul 14 2012 Ville Skyttä <ville.skytta@iki.fi> - 0.6.22-2
88f331
- Add ldconfig scriptlets to -libs.
88f331
88f331
* Thu Jun 28 2012 Ray Strode <rstrode@redhat.com> 0.6.22-1
88f331
- Update to 0.6.22.
88f331
- Fixes CVE-2012-2737 - local file disclosure
88f331
  Related:  #832532
88f331
88f331
* Thu May 30 2012 Matthias Clasen <mclasen@redhatcom> 0.6.21-1
88f331
- Update to 0.6.21
88f331
88f331
* Fri May 04 2012 Ray Strode <rstrode@redhat.com> 0.6.20-1
88f331
- Update to 0.6.20. Should fix user list.
88f331
  Related: #814690
88f331
88f331
* Thu May 03 2012 Ray Strode <rstrode@redhat.com> 0.6.19-1
88f331
- Update to 0.6.19
88f331
  Allows user deletion of logged in users
88f331
  Related: #814690
88f331
88f331
* Wed Apr 11 2012 Matthias Clasen <mclsaen@redhat.com> - 0.6.18-1
88f331
- Update to 0.6.18
88f331
88f331
* Tue Mar 27 2012 Ray Strode <rstrode@redhat.com> 0.6.17-1
88f331
- Update to latest release
88f331
88f331
* Sun Mar  4 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.6.15-4
88f331
- Fix unitdir with usrmove
88f331
88f331
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.15-3
88f331
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
88f331
88f331
* Tue Nov 29 2011 Matthias Clasen <mclasen@redhat.com> 0.6.15-2
88f331
- Make resetting user icons work
88f331
- Update to 0.6.15
88f331
- Fixes session chooser at login screen when logged into vt
88f331
88f331
* Wed Sep 21 2011 Ray Strode <rstrode@redhat.com> 0.6.14-2
88f331
- Fix wtmp loading so users coming from the network are
88f331
  remembered in the user list in subsequent boots
88f331
88f331
* Wed Sep 21 2011 Ray Strode <rstrode@redhat.com> 0.6.14-1
88f331
- Update to 0.6.14
88f331
88f331
* Sun Sep  4 2011 Matthias Clasen <mclasen@redhat.com> - 0.6.13-3
88f331
- Fix fast user switching
88f331
88f331
* Mon Aug 15 2011 Kalev Lember <kalevlember@gmail.com> - 0.6.13-2
88f331
- Rebuilt for rpm bug #728707
88f331
88f331
* Tue Jul 19 2011 Matthias Clasen <mclasen@redhat.com> - 0.6.13-1
88f331
- Update to 0.6.13
88f331
- Drop ConsoleKit dependency
88f331
88f331
* Mon Jun 06 2011 Ray Strode <rstrode@redhat.com> 0.6.12-1
88f331
- Update to latest release
88f331
88f331
* Wed May 18 2011 Matthias Clasen <mclasen@redhat.com> 0.6.11-1
88f331
- Update to 0.6.11
88f331
88f331
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-2
88f331
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
88f331
88f331
* Wed Feb 02 2011 Ray Strode <rstrode@redhat.com> 0.6.3-1
88f331
- Update to 0.6.3
88f331
88f331
* Thu Jan 27 2011 Matthias Clasen <mclasen@redhat.com> 0.6.2-1
88f331
- Update to 0.6.2
88f331
88f331
* Wed Jul 21 2010 Matthias Clasen <mclasen@redhat.com> 0.6.1-1
88f331
- Update to 0.6.1
88f331
- Install systemd unit file
88f331
88f331
* Mon Apr  5 2010 Matthias Clasen <mclasen@redhat.com> 0.6-2
88f331
- Always emit changed signal on icon change
88f331
88f331
* Tue Mar 30 2010 Matthias Clasen <mclasen@redhat.com> 0.6-1
88f331
- Update to 0.6
88f331
88f331
* Mon Mar 22 2010 Matthias Clasen <mclasen@redhat.com> 0.5-1
88f331
- Update to 0.5
88f331
88f331
* Mon Feb 22 2010 Bastien Nocera <bnocera@redhat.com> 0.4-3
88f331
- Fix directory ownership
88f331
88f331
* Mon Feb 22 2010 Bastien Nocera <bnocera@redhat.com> 0.4-2
88f331
- Add missing directories to the filelist
88f331
88f331
* Fri Jan 29 2010 Matthias Clasen <mclasen@redhat.com> 0.4-1
88f331
- Initial packaging, based on work by Richard Hughes