[12446] | 1 | %bcond_with systemd |
---|
| 2 | |
---|
[12005] | 3 | %define _unpackaged_files_terminate_build 1 |
---|
| 4 | %global __global_cflags %{optflags} |
---|
| 5 | %global __global_ldflags "" |
---|
| 6 | |
---|
[12446] | 7 | Summary: D-Bus interfaces for querying and manipulating user account information |
---|
| 8 | Summary(ja): ユーザーアカウント情報の照会・処理を行うための D-Bus I/F |
---|
[4616] | 9 | Name: accountsservice |
---|
[12446] | 10 | Version: 0.6.55 |
---|
| 11 | Release: 1%{?_dist_release}%{?with_systemd:.systemd} |
---|
| 12 | Vendor: Project Vine |
---|
| 13 | Distribution: Vine Linux |
---|
[4616] | 14 | |
---|
| 15 | Group: System Environment/Daemons |
---|
| 16 | License: GPLv3+ |
---|
[12446] | 17 | URL: https://www.freedesktop.org/wiki/Software/AccountsService/ |
---|
[4616] | 18 | #VCS: git:git://git.freedesktop.org/accountsservice |
---|
[12446] | 19 | Source0: https://www.freedesktop.org/software/accountsservice/accountsservice-%{version}.tar.xz |
---|
[4616] | 20 | |
---|
[12005] | 21 | # upstream patch |
---|
| 22 | |
---|
[8353] | 23 | # for Vine Linux |
---|
| 24 | |
---|
[9049] | 25 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[12005] | 26 | BuildRequires: meson |
---|
[4616] | 27 | BuildRequires: glib2-devel |
---|
| 28 | BuildRequires: dbus-glib-devel |
---|
| 29 | BuildRequires: polkit-devel |
---|
| 30 | BuildRequires: intltool |
---|
| 31 | # BuildRequires: systemd-units |
---|
| 32 | BuildRequires: gobject-introspection-devel |
---|
[12446] | 33 | BuildRequires: python3-setuptools |
---|
| 34 | %if %{with systemd} |
---|
| 35 | BuildRequires: systemd-devel |
---|
| 36 | %{?systemd_requires} |
---|
| 37 | %else |
---|
[12005] | 38 | BuildRequires: elogind-devel |
---|
[12446] | 39 | %endif |
---|
[4616] | 40 | |
---|
| 41 | Requires: polkit |
---|
| 42 | Requires: shadow-utils |
---|
| 43 | |
---|
| 44 | |
---|
[7327] | 45 | %description |
---|
| 46 | The accountsservice project provides a set of D-Bus interfaces for |
---|
| 47 | querying and manipulating user account information and an implementation |
---|
| 48 | of these interfaces, based on the useradd, usermod and userdel commands. |
---|
| 49 | |
---|
| 50 | |
---|
[4616] | 51 | %package libs |
---|
[9049] | 52 | Summary: Client-side library to talk to accountsservice |
---|
| 53 | Summary(ja): accountsservice と対話するためのクライアント側ライブラリ |
---|
| 54 | Group: System Environment/Libraries |
---|
[4616] | 55 | Requires: %{name} = %{version}-%{release} |
---|
| 56 | |
---|
| 57 | %description libs |
---|
| 58 | The accountsservice-libs package contains a library that can |
---|
| 59 | be used by applications that want to interact with the accountsservice |
---|
| 60 | daemon. |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %package devel |
---|
| 64 | Summary: Development files for accountsservice-libs |
---|
[9049] | 65 | Summary(ja): accountsservice-libs の開発用ファイル |
---|
[4616] | 66 | Group: Development/Libraries |
---|
| 67 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 68 | |
---|
| 69 | %description devel |
---|
| 70 | The accountsservice-devel package contains headers and other |
---|
| 71 | files needed to build applications that use accountsservice-libs. |
---|
| 72 | |
---|
| 73 | |
---|
[7327] | 74 | %package doc |
---|
| 75 | Summary: Documentation for %{name} |
---|
| 76 | Summary(ja): %{name} 用のドキュメント |
---|
| 77 | Group: Documentation |
---|
| 78 | Requires: %{name} = %{version}-%{release} |
---|
| 79 | BuildArch: noarch |
---|
[4616] | 80 | |
---|
[7327] | 81 | %description doc |
---|
| 82 | This package contains documentation for %{name}. |
---|
[4616] | 83 | |
---|
[7327] | 84 | |
---|
[4616] | 85 | %prep |
---|
[12005] | 86 | %autosetup -p1 |
---|
[12446] | 87 | sed -i -e '/"gnome-initial-setup",/a "selfbuild",' src/user-classify.c |
---|
[4616] | 88 | |
---|
[12446] | 89 | |
---|
[4616] | 90 | %build |
---|
[12005] | 91 | %meson \ |
---|
[12446] | 92 | %if %{with systemd} |
---|
| 93 | -Dsystemd=true \ |
---|
| 94 | -Delogind=false \ |
---|
| 95 | -Dsystemdsystemunitdir=%{_unitdir} \ |
---|
| 96 | %else |
---|
[12005] | 97 | -Dsystemd=false \ |
---|
[12446] | 98 | -Delogind=true \ |
---|
[12005] | 99 | -Dsystemdsystemunitdir=no \ |
---|
[12446] | 100 | %endif |
---|
[12005] | 101 | -Dadmin_group=wheel \ |
---|
| 102 | -Dminimum_uid=500 \ |
---|
| 103 | -Dgtk_doc=true |
---|
[4616] | 104 | |
---|
[12005] | 105 | %meson_build |
---|
[4616] | 106 | |
---|
[12005] | 107 | |
---|
[4616] | 108 | %install |
---|
[9049] | 109 | rm -rf $RPM_BUILD_ROOT |
---|
[12005] | 110 | %meson_install |
---|
[9049] | 111 | |
---|
[4616] | 112 | %find_lang accounts-service |
---|
| 113 | |
---|
| 114 | |
---|
[12446] | 115 | %clean |
---|
| 116 | rm -rf $RPM_BUILD_ROOT |
---|
| 117 | |
---|
| 118 | |
---|
| 119 | %if %{with systemd} |
---|
| 120 | %post |
---|
| 121 | %systemd_post accounts-daemon.service |
---|
| 122 | |
---|
| 123 | %preun |
---|
| 124 | %systemd_preun accounts-daemon.service |
---|
| 125 | |
---|
| 126 | %postun |
---|
| 127 | %systemd_postun accounts-daemon.service |
---|
| 128 | %endif |
---|
| 129 | |
---|
[9049] | 130 | %post libs -p /sbin/ldconfig |
---|
| 131 | %postun libs -p /sbin/ldconfig |
---|
| 132 | |
---|
| 133 | |
---|
[4616] | 134 | %files -f accounts-service.lang |
---|
| 135 | %defattr(-,root,root,-) |
---|
[12446] | 136 | %license COPYING |
---|
| 137 | %doc README* AUTHORS |
---|
[4616] | 138 | %{_sysconfdir}/dbus-1/system.d/org.freedesktop.Accounts.conf |
---|
| 139 | %{_libexecdir}/accounts-daemon |
---|
| 140 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml |
---|
| 141 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.User.xml |
---|
| 142 | %{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service |
---|
| 143 | %{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy |
---|
| 144 | %dir %{_localstatedir}/lib/AccountsService/ |
---|
| 145 | %dir %{_localstatedir}/lib/AccountsService/users |
---|
| 146 | %dir %{_localstatedir}/lib/AccountsService/icons |
---|
[12446] | 147 | %if %{with systemd} |
---|
| 148 | %{_unitdir}/accounts-daemon.service |
---|
| 149 | %endif |
---|
[4616] | 150 | |
---|
| 151 | %files libs |
---|
[7327] | 152 | %defattr(-,root,root,-) |
---|
[4616] | 153 | %{_libdir}/libaccountsservice.so.* |
---|
| 154 | %{_libdir}/girepository-1.0/AccountsService-1.0.typelib |
---|
| 155 | |
---|
| 156 | %files devel |
---|
[7327] | 157 | %defattr(-,root,root,-) |
---|
[4616] | 158 | %{_includedir}/accountsservice-1.0 |
---|
| 159 | %{_libdir}/libaccountsservice.so |
---|
| 160 | %{_libdir}/pkgconfig/accountsservice.pc |
---|
| 161 | %{_datadir}/gir-1.0/AccountsService-1.0.gir |
---|
| 162 | |
---|
[7327] | 163 | %files doc |
---|
| 164 | %defattr(-,root,root,-) |
---|
| 165 | %{_datadir}/gtk-doc/html/libaccountsservice/ |
---|
| 166 | |
---|
[4616] | 167 | %changelog |
---|
[12446] | 168 | * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.6.55-1 |
---|
| 169 | - new upstream release. |
---|
| 170 | - added systemd support (disabled as default). |
---|
| 171 | - dropped Patch1 and 2: fixed in upstream. |
---|
| 172 | - dropped Patch1000: got a same effect by sed. |
---|
| 173 | |
---|
[12005] | 174 | * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.6.54-1 |
---|
| 175 | - new upstream release. |
---|
| 176 | - added elogind support. |
---|
| 177 | - updated Patch1000. |
---|
| 178 | |
---|
[9506] | 179 | * Mon Apr 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.40-1 |
---|
| 180 | - new upstream release |
---|
| 181 | |
---|
[9073] | 182 | * Mon Nov 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.39-1 |
---|
| 183 | - new upstream release |
---|
| 184 | |
---|
[9049] | 185 | * Sat Nov 1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.37-2 |
---|
| 186 | - moved libs package to System Environment/Libraries |
---|
| 187 | - added %%post, %%postun and %%clean section |
---|
| 188 | - added Japanese summary |
---|
| 189 | |
---|
[8353] | 190 | * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.37-1 |
---|
| 191 | - new upstream release |
---|
| 192 | - add Patch1000 (accountsservice-0.6.37-vine-environment.patch) |
---|
| 193 | |
---|
[8119] | 194 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-2 |
---|
| 195 | - rebuild with VineSeed environment |
---|
| 196 | |
---|
[7633] | 197 | * Wed Apr 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-1 |
---|
| 198 | - new upstream release |
---|
| 199 | |
---|
[7327] | 200 | * Sun Jan 13 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.30-1 |
---|
| 201 | - new upstream release |
---|
| 202 | - create subpackage (%{name}-doc) |
---|
| 203 | |
---|
[6890] | 204 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.25-1 |
---|
| 205 | - new upstream release |
---|
| 206 | |
---|
[6078] | 207 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.18-1 |
---|
| 208 | - new upstream release |
---|
| 209 | |
---|
[4812] | 210 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.14-1 |
---|
| 211 | - new upstream release |
---|
| 212 | |
---|
[4616] | 213 | * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.13-1 |
---|
| 214 | - initial build for Vine Linux |
---|
| 215 | |
---|
| 216 | |
---|
| 217 | * Mon Jun 06 2011 Ray Strode <rstrode@redhat.com> 0.6.12-1 |
---|
| 218 | - Update to latest release |
---|
| 219 | |
---|
| 220 | * Wed May 18 2011 Matthias Clasen <mclasen@redhat.com> 0.6.11-1 |
---|
| 221 | - Update to 0.6.11 |
---|
| 222 | |
---|
| 223 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-2 |
---|
| 224 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 225 | |
---|
| 226 | * Wed Feb 02 2011 Ray Strode <rstrode@redhat.com> 0.6.3-1 |
---|
| 227 | - Update to 0.6.3 |
---|
| 228 | |
---|
| 229 | * Thu Jan 27 2011 Matthias Clasen <mclasen@redhat.com> 0.6.2-1 |
---|
| 230 | - Update to 0.6.2 |
---|
| 231 | |
---|
| 232 | * Wed Jul 21 2010 Matthias Clasen <mclasen@redhat.com> 0.6.1-1 |
---|
| 233 | - Update to 0.6.1 |
---|
| 234 | - Install systemd unit file |
---|
| 235 | |
---|
| 236 | * Mon Apr 5 2010 Matthias Clasen <mclasen@redhat.com> 0.6-2 |
---|
| 237 | - Always emit changed signal on icon change |
---|
| 238 | |
---|
| 239 | * Tue Mar 30 2010 Matthias Clasen <mclasen@redhat.com> 0.6-1 |
---|
| 240 | - Update to 0.6 |
---|
| 241 | |
---|
| 242 | * Mon Mar 22 2010 Matthias Clasen <mclasen@redhat.com> 0.5-1 |
---|
| 243 | - Update to 0.5 |
---|
| 244 | |
---|
| 245 | * Mon Feb 22 2010 Bastien Nocera <bnocera@redhat.com> 0.4-3 |
---|
| 246 | - Fix directory ownership |
---|
| 247 | |
---|
| 248 | * Mon Feb 22 2010 Bastien Nocera <bnocera@redhat.com> 0.4-2 |
---|
| 249 | - Add missing directories to the filelist |
---|
| 250 | |
---|
| 251 | * Fri Jan 29 2010 Matthias Clasen <mclasen@redhat.com> 0.4-1 |
---|
| 252 | - Initial packaging, based on work by Richard Hughes |
---|