Accepting request 583536 from GNOME:Next

Scripted push of project GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/583536
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=110
This commit is contained in:
Dominique Leuenberger 2018-03-09 10:02:05 +00:00 committed by Git OBS Bridge
parent 2c82330295
commit 88d670b043
2 changed files with 13 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 28 16:22:37 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 22 03:05:02 UTC 2017 - qzheng@suse.com Fri Dec 22 03:05:02 UTC 2017 - qzheng@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package accountsservice # spec file for package accountsservice
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,9 +20,9 @@ Name: accountsservice
Version: 0.6.45 Version: 0.6.45
Release: 0 Release: 0
Summary: D-Bus Service to Manipulate User Account Information Summary: D-Bus Service to Manipulate User Account Information
License: GPL-3.0+ License: GPL-3.0-or-later
Group: System/Daemons Group: System/Daemons
Url: http://www.freedesktop.org/wiki/Software/AccountsService/ URL: http://www.freedesktop.org/wiki/Software/AccountsService/
Source: http://www.freedesktop.org/software/accountsservice/%{name}-%{version}.tar.xz Source: http://www.freedesktop.org/software/accountsservice/%{name}-%{version}.tar.xz
# WARNING: do not remove/significantly change patch0 without updating the relevant patch in gdm too # WARNING: do not remove/significantly change patch0 without updating the relevant patch in gdm too
# PATCH-FIX-OPENSUSE accountsservice-sysconfig.patch bnc#688071 vuntz@opensuse.org -- Read/write autologin configuration from sysconfig, like gdm (see gdm-sysconfig-settings.patch) # PATCH-FIX-OPENSUSE accountsservice-sysconfig.patch bnc#688071 vuntz@opensuse.org -- Read/write autologin configuration from sysconfig, like gdm (see gdm-sysconfig-settings.patch)
@ -37,6 +37,7 @@ Patch3: remove-no-longer-used-system-accounts.patch
BuildRequires: gnome-common BuildRequires: gnome-common
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: intltool BuildRequires: intltool
BuildRequires: pkgconfig
# needed for patch0 # needed for patch0
BuildRequires: vala BuildRequires: vala
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
@ -44,7 +45,6 @@ BuildRequires: pkgconfig(libsystemd) >= 186
BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
Recommends: %{name}-lang Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires} %{?systemd_requires}
%description %description
@ -88,6 +88,7 @@ The accountsservice server provides a set of D-Bus interfaces for
querying and manipulating user account information. querying and manipulating user account information.
%lang_package %lang_package
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
@ -108,7 +109,7 @@ make %{?_smp_mflags}
%install %install
%make_install %make_install
%find_lang accounts-service %find_lang accounts-service
rm -f %{buildroot}%{_libdir}/*.la find %{buildroot} -type f -name "*.la" -delete -print
%pre %pre
%service_add_pre accounts-daemon.service %service_add_pre accounts-daemon.service
@ -123,12 +124,11 @@ rm -f %{buildroot}%{_libdir}/*.la
%service_del_postun accounts-daemon.service %service_del_postun accounts-daemon.service
%post -n libaccountsservice0 -p /sbin/ldconfig %post -n libaccountsservice0 -p /sbin/ldconfig
%postun -n libaccountsservice0 -p /sbin/ldconfig %postun -n libaccountsservice0 -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-) %license COPYING
%doc AUTHORS COPYING NEWS README %doc AUTHORS NEWS README
%{_unitdir}/accounts-daemon.service %{_unitdir}/accounts-daemon.service
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.Accounts.conf %{_sysconfdir}/dbus-1/system.d/org.freedesktop.Accounts.conf
%{_libexecdir}/accounts-daemon %{_libexecdir}/accounts-daemon
@ -142,15 +142,12 @@ rm -f %{buildroot}%{_libdir}/*.la
%dir %{_localstatedir}/lib/AccountsService/icons %dir %{_localstatedir}/lib/AccountsService/icons
%files -n libaccountsservice0 %files -n libaccountsservice0
%defattr(-,root,root,-)
%{_libdir}/*.so.0* %{_libdir}/*.so.0*
%files -n typelib-1_0-AccountsService-1_0 %files -n typelib-1_0-AccountsService-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/AccountsService-1.0.typelib %{_libdir}/girepository-1.0/AccountsService-1.0.typelib
%files devel %files devel
%defattr(-,root,root,-)
%doc %{_datadir}/gtk-doc/html/lib%{name}/ %doc %{_datadir}/gtk-doc/html/lib%{name}/
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/accountsservice.pc %{_libdir}/pkgconfig/accountsservice.pc