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