libaccounts-glib-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. %define repo_id 17201ad512e86d248ac158046ac322e7164adc87
  2. Summary: A low-level library for managing accounts settings.
  3. Name: libaccounts-glib
  4. Version: 1.25
  5. Release: 1%{?_dist_release}
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. Group: System Environment/Libraries
  9. License: LGPL
  10. URL: https://gitlab.com/accounts-sso/libaccounts-glib
  11. Source0: https://gitlab.com/accounts-sso/libaccounts-glib/-/archive/%{version}/%{name}-%{version}.tar.bz2
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: meson
  14. BuildRequires: python3-rpm-macros
  15. BuildRequires: glib2-devel
  16. BuildRequires: libxml2-devel
  17. BuildRequires: gobject-introspection-devel
  18. BuildRequires: sqlite3-devel
  19. BuildRequires: python3-pygobject
  20. BuildRequires: check-devel
  21. BuildRequires: gtk-doc
  22. BuildRequires: docbook-style-xsl
  23. BuildRequires: vala-devel
  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. %license COPYING
  60. %doc NEWS README*
  61. %{_bindir}/ag-backup
  62. %{_bindir}/ag-tool
  63. %{_libdir}/%{name}.so.*
  64. %{_libdir}/girepository-1.0/Accounts-1.0.typelib
  65. %{python3_sitearch}/gi/overrides/Accounts.*
  66. %{_datadir}/dbus-1/interfaces/com.google.code.AccountsSSO.Accounts.Manager.xml
  67. %{_datadir}/xml/accounts/schema/dtd/accounts-*.dtd
  68. %{_datadir}/gettext/its/*
  69. #%{_mandir}/man1/ag-backup.1.gz
  70. #%{_mandir}/man1/ag-tool.1.gz
  71. %files devel
  72. %defattr(-, root, root, -)
  73. %{_includedir}/%{name}
  74. %{_libdir}/%{name}.so
  75. %{_libdir}/pkgconfig/%{name}.pc
  76. %{_datadir}/gir-1.0/Accounts-1.0.gir
  77. %files vala
  78. %defattr(-, root, root, -)
  79. %{_datadir}/vala/vapi/%{name}.deps
  80. %{_datadir}/vala/vapi/%{name}.vapi
  81. %changelog
  82. * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.25-1
  83. - new upstream release.
  84. * Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.24-1
  85. - new upstream release.
  86. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18-1
  87. - new upstream release
  88. - remove %%{name}-docs subpackage
  89. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16-1
  90. - initial build