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