libaccounts-glib-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. %define repo_id 17201ad512e86d248ac158046ac322e7164adc87
  2. Name: libaccounts-glib
  3. Version: 1.24
  4. Release: 1%{?_dist_release}
  5. Summary: A low-level library for managing accounts settings.
  6. Group: System Environment/Libraries
  7. License: LGPL
  8. URL: https://gitlab.com/accounts-sso/libaccounts-glib
  9. Source0: https://gitlab.com/accounts-sso/libaccounts-glib/-/archive/%{version}/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: meson
  12. BuildRequires: python3-rpm-macros
  13. BuildRequires: glib2-devel
  14. BuildRequires: libxml2-devel
  15. BuildRequires: gobject-introspection-devel
  16. BuildRequires: sqlite3-devel
  17. BuildRequires: python3-pygobject
  18. BuildRequires: check-devel
  19. BuildRequires: gtk-doc
  20. BuildRequires: docbook-style-xsl
  21. BuildRequires: vala-devel
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. This project is a library for managing accounts which can be used from GLib
  26. applications.
  27. %package devel
  28. Summary: Development tools for %{name}
  29. Summary(ja): %{name}
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. Requires: pkgconfig
  33. %description devel
  34. Header files and libraries for building a extension library for the
  35. %{name}.
  36. %package vala
  37. Summary: Vala bindings for %{name}
  38. Summary(ja): %{name} の Vala バインディング
  39. Group: Development/Libraries
  40. Requires: %{name} = %{version}-%{release}
  41. Requires: vala
  42. %description vala
  43. Vala bindings for %{name}.
  44. %prep
  45. %setup -q -n %{name}-%{version}
  46. perl -pi -e 's/^subdir.*docs.*$//' meson.build
  47. %build
  48. %meson
  49. %meson_build
  50. %install
  51. rm -rf $RPM_BUILD_ROOT
  52. %meson_install
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %post -p /sbin/ldconfig
  56. %postun -p /sbin/ldconfig
  57. %files
  58. %defattr(-,root,root,-)
  59. %doc COPYING NEWS README*
  60. %{_bindir}/ag-backup
  61. %{_bindir}/ag-tool
  62. %{_libdir}/%{name}.so.*
  63. %{_libdir}/girepository-1.0/Accounts-1.0.typelib
  64. %{python3_sitearch}/gi/overrides/Accounts.*
  65. %{_datadir}/dbus-1/interfaces/com.google.code.AccountsSSO.Accounts.Manager.xml
  66. %{_datadir}/xml/accounts/schema/dtd/accounts-*.dtd
  67. %{_datadir}/gettext/its/*
  68. #%{_mandir}/man1/ag-backup.1.gz
  69. #%{_mandir}/man1/ag-tool.1.gz
  70. %files devel
  71. %defattr(-, root, root, -)
  72. %{_includedir}/%{name}
  73. %{_libdir}/%{name}.so
  74. %{_libdir}/pkgconfig/%{name}.pc
  75. %{_datadir}/gir-1.0/Accounts-1.0.gir
  76. %files vala
  77. %defattr(-, root, root, -)
  78. %{_datadir}/vala/vapi/%{name}.deps
  79. %{_datadir}/vala/vapi/%{name}.vapi
  80. %changelog
  81. * Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.24-1
  82. - new upstream release.
  83. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18-1
  84. - new upstream release
  85. - remove %%{name}-docs subpackage
  86. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16-1
  87. - initial build