accountsservice-vl.spec 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. %define _unpackaged_files_terminate_build 1
  2. %global _vpath_srcdir .
  3. %global _vpath_builddir build
  4. %global __global_cflags %{optflags}
  5. %global __global_ldflags ""
  6. Name: accountsservice
  7. Version: 0.6.54
  8. Release: 1%{?_dist_release}
  9. Summary: D-Bus interfaces for querying and manipulating user account information
  10. Summary(ja): ユーザーアカウント情報の問合せや処理を行うための D-Bus インターフェース
  11. Group: System Environment/Daemons
  12. License: GPLv3+
  13. URL: http://www.fedoraproject.org/wiki/Features/UserAccountDialog
  14. #VCS: git:git://git.freedesktop.org/accountsservice
  15. Source0: http://mclasen.fedorapeople.org/accounts/accountsservice-%{version}.tar.xz
  16. # upstream patch
  17. Patch1: accountsservice-minimum-uid.patch
  18. Patch2: accountsservice-expose-interface-directory.patch
  19. # for Vine Linux
  20. Patch1000: accountsservice-0.6.54-vine-environment.patch
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  22. BuildRequires: meson
  23. BuildRequires: glib2-devel
  24. BuildRequires: dbus-glib-devel
  25. BuildRequires: polkit-devel
  26. BuildRequires: intltool
  27. # BuildRequires: systemd-units
  28. BuildRequires: gobject-introspection-devel
  29. BuildRequires: elogind-devel
  30. BuildRequires: python3-setuptools
  31. Requires: polkit
  32. Requires: shadow-utils
  33. Vendor: Project Vine
  34. Distribution: Vine Linux
  35. %description
  36. The accountsservice project provides a set of D-Bus interfaces for
  37. querying and manipulating user account information and an implementation
  38. of these interfaces, based on the useradd, usermod and userdel commands.
  39. %package libs
  40. Summary: Client-side library to talk to accountsservice
  41. Summary(ja): accountsservice と対話するためのクライアント側ライブラリ
  42. Group: System Environment/Libraries
  43. Requires: %{name} = %{version}-%{release}
  44. %description libs
  45. The accountsservice-libs package contains a library that can
  46. be used by applications that want to interact with the accountsservice
  47. daemon.
  48. %package devel
  49. Summary: Development files for accountsservice-libs
  50. Summary(ja): accountsservice-libs の開発用ファイル
  51. Group: Development/Libraries
  52. Requires: %{name}-libs = %{version}-%{release}
  53. %description devel
  54. The accountsservice-devel package contains headers and other
  55. files needed to build applications that use accountsservice-libs.
  56. %package doc
  57. Summary: Documentation for %{name}
  58. Summary(ja): %{name} 用のドキュメント
  59. Group: Documentation
  60. Requires: %{name} = %{version}-%{release}
  61. BuildArch: noarch
  62. %description doc
  63. This package contains documentation for %{name}.
  64. %prep
  65. %autosetup -p1
  66. %build
  67. %meson \
  68. -Dsystemd=false \
  69. -Dsystemdsystemunitdir=no \
  70. -Delogind=true \
  71. -Dadmin_group=wheel \
  72. -Dminimum_uid=500 \
  73. -Dgtk_doc=true
  74. %meson_build
  75. %install
  76. rm -rf $RPM_BUILD_ROOT
  77. %meson_install
  78. %find_lang accounts-service
  79. %post libs -p /sbin/ldconfig
  80. %postun libs -p /sbin/ldconfig
  81. %clean
  82. rm -rf $RPM_BUILD_ROOT
  83. %files -f accounts-service.lang
  84. %defattr(-,root,root,-)
  85. %doc COPYING README AUTHORS
  86. %{_sysconfdir}/dbus-1/system.d/org.freedesktop.Accounts.conf
  87. %{_libexecdir}/accounts-daemon
  88. %{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml
  89. %{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.User.xml
  90. %{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service
  91. %{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy
  92. %dir %{_localstatedir}/lib/AccountsService/
  93. %dir %{_localstatedir}/lib/AccountsService/users
  94. %dir %{_localstatedir}/lib/AccountsService/icons
  95. #/lib/systemd/system/accounts-daemon.service
  96. %files libs
  97. %defattr(-,root,root,-)
  98. %{_libdir}/libaccountsservice.so.*
  99. %{_libdir}/girepository-1.0/AccountsService-1.0.typelib
  100. %files devel
  101. %defattr(-,root,root,-)
  102. %{_includedir}/accountsservice-1.0
  103. %{_libdir}/libaccountsservice.so
  104. %{_libdir}/pkgconfig/accountsservice.pc
  105. %{_datadir}/gir-1.0/AccountsService-1.0.gir
  106. %files doc
  107. %defattr(-,root,root,-)
  108. %{_datadir}/gtk-doc/html/libaccountsservice/
  109. %changelog
  110. * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.6.54-1
  111. - new upstream release.
  112. - added elogind support.
  113. - updated Patch1000.
  114. * Mon Apr 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.40-1
  115. - new upstream release
  116. * Mon Nov 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.39-1
  117. - new upstream release
  118. * Sat Nov 1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.37-2
  119. - moved libs package to System Environment/Libraries
  120. - added %%post, %%postun and %%clean section
  121. - added Japanese summary
  122. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.37-1
  123. - new upstream release
  124. - add Patch1000 (accountsservice-0.6.37-vine-environment.patch)
  125. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-2
  126. - rebuild with VineSeed environment
  127. * Wed Apr 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-1
  128. - new upstream release
  129. * Sun Jan 13 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.30-1
  130. - new upstream release
  131. - create subpackage (%{name}-doc)
  132. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.25-1
  133. - new upstream release
  134. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.18-1
  135. - new upstream release
  136. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.14-1
  137. - new upstream release
  138. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.13-1
  139. - initial build for Vine Linux
  140. * Mon Jun 06 2011 Ray Strode <rstrode@redhat.com> 0.6.12-1
  141. - Update to latest release
  142. * Wed May 18 2011 Matthias Clasen <mclasen@redhat.com> 0.6.11-1
  143. - Update to 0.6.11
  144. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-2
  145. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  146. * Wed Feb 02 2011 Ray Strode <rstrode@redhat.com> 0.6.3-1
  147. - Update to 0.6.3
  148. * Thu Jan 27 2011 Matthias Clasen <mclasen@redhat.com> 0.6.2-1
  149. - Update to 0.6.2
  150. * Wed Jul 21 2010 Matthias Clasen <mclasen@redhat.com> 0.6.1-1
  151. - Update to 0.6.1
  152. - Install systemd unit file
  153. * Mon Apr 5 2010 Matthias Clasen <mclasen@redhat.com> 0.6-2
  154. - Always emit changed signal on icon change
  155. * Tue Mar 30 2010 Matthias Clasen <mclasen@redhat.com> 0.6-1
  156. - Update to 0.6
  157. * Mon Mar 22 2010 Matthias Clasen <mclasen@redhat.com> 0.5-1
  158. - Update to 0.5
  159. * Mon Feb 22 2010 Bastien Nocera <bnocera@redhat.com> 0.4-3
  160. - Fix directory ownership
  161. * Mon Feb 22 2010 Bastien Nocera <bnocera@redhat.com> 0.4-2
  162. - Add missing directories to the filelist
  163. * Fri Jan 29 2010 Matthias Clasen <mclasen@redhat.com> 0.4-1
  164. - Initial packaging, based on work by Richard Hughes