[9791] | 1 | %define repo_id 17201ad512e86d248ac158046ac322e7164adc87 |
---|
| 2 | |
---|
[8369] | 3 | Name: libaccounts-glib |
---|
[9791] | 4 | Version: 1.18 |
---|
[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 |
---|
| 11 | Source0: %{name}-%{version}.tar.gz |
---|
[8369] | 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: glib2-devel |
---|
| 16 | BuildRequires: libxml2-devel |
---|
| 17 | BuildRequires: gobject-introspection-devel |
---|
| 18 | BuildRequires: sqlite3-devel |
---|
| 19 | BuildRequires: pygobject3-devel |
---|
| 20 | BuildRequires: check-devel |
---|
| 21 | BuildRequires: gtk-doc |
---|
| 22 | BuildRequires: docbook-style-xsl |
---|
| 23 | BuildRequires: autoconf |
---|
| 24 | |
---|
| 25 | Vendor: Project Vine |
---|
| 26 | Distribution: Vine Linux |
---|
| 27 | Packager: Takemikaduchi |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %description |
---|
| 31 | This project is a library for managing accounts which can be used from GLib |
---|
| 32 | applications. |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %package devel |
---|
| 36 | Summary: Development tools for %{name} |
---|
| 37 | Summary(ja): %{name} |
---|
| 38 | Group: Development/Libraries |
---|
| 39 | Requires: %{name} = %{version}-%{release} |
---|
| 40 | Requires: pkgconfig |
---|
| 41 | |
---|
| 42 | %description devel |
---|
| 43 | Header files and libraries for building a extension library for the |
---|
| 44 | %{name}. |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %package vala |
---|
| 48 | Summary: Vala bindings for %{name} |
---|
| 49 | Summary(ja): %{name} の Vala バインディング |
---|
| 50 | Group: Development/Libraries |
---|
| 51 | Requires: %{name} = %{version}-%{release} |
---|
| 52 | Requires: vala |
---|
| 53 | |
---|
| 54 | %description vala |
---|
| 55 | Vala bindings for %{name}. |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %prep |
---|
[9791] | 59 | %setup -q -n %{name}-%{version}-%{repo_id} |
---|
[8369] | 60 | |
---|
| 61 | %build |
---|
[9791] | 62 | export CFLAGS="$RPM_OPT_FLAGS -Wno-error=deprecated-declarations" |
---|
| 63 | NOCONFIGURE=1 ./autogen.sh |
---|
[8369] | 64 | %configure \ |
---|
| 65 | --disable-static \ |
---|
| 66 | --disable-gtk-doc |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | make %{?_smp_mflags} |
---|
| 70 | |
---|
| 71 | %install |
---|
| 72 | rm -rf $RPM_BUILD_ROOT |
---|
| 73 | |
---|
| 74 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 75 | |
---|
| 76 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 77 | |
---|
| 78 | %clean |
---|
| 79 | rm -rf $RPM_BUILD_ROOT |
---|
| 80 | |
---|
| 81 | %post -p /sbin/ldconfig |
---|
| 82 | |
---|
| 83 | %postun -p /sbin/ldconfig |
---|
| 84 | |
---|
| 85 | %files |
---|
| 86 | %defattr(-,root,root,-) |
---|
| 87 | %doc ChangeLog AUTHORS COPYING NEWS README |
---|
| 88 | %{_bindir}/ag-backup |
---|
| 89 | %{_bindir}/ag-tool |
---|
| 90 | %{_libdir}/%{name}.so.* |
---|
| 91 | %{_libdir}/girepository-1.0/Accounts-1.0.typelib |
---|
| 92 | %{_libdir}/%{name} |
---|
| 93 | %{python_sitearch}/gi/overrides/Accounts.* |
---|
| 94 | %{_datadir}/backup-framework/applications/accounts.conf |
---|
| 95 | %{_datadir}/dbus-1/interfaces/com.google.code.AccountsSSO.Accounts.Manager.xml |
---|
| 96 | %{_datadir}/%{name} |
---|
| 97 | %{_datadir}/xml/accounts/schema/dtd/accounts-*.dtd |
---|
| 98 | %{_mandir}/man1/ag-backup.1.gz |
---|
| 99 | %{_mandir}/man1/ag-tool.1.gz |
---|
| 100 | |
---|
| 101 | %files devel |
---|
| 102 | %defattr(-, root, root, -) |
---|
| 103 | %{_includedir}/%{name} |
---|
| 104 | %{_libdir}/%{name}.so |
---|
| 105 | %{_libdir}/pkgconfig/%{name}.pc |
---|
| 106 | %{_datadir}/gir-1.0/Accounts-1.0.gir |
---|
| 107 | |
---|
| 108 | %files vala |
---|
| 109 | %defattr(-, root, root, -) |
---|
| 110 | %{_datadir}/vala/vapi/%{name}.deps |
---|
| 111 | %{_datadir}/vala/vapi/%{name}.vapi |
---|
| 112 | |
---|
| 113 | |
---|
| 114 | %changelog |
---|
[9791] | 115 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18-1 |
---|
| 116 | - new upstream release |
---|
| 117 | - remove %%{name}-docs subpackage |
---|
| 118 | |
---|
[8369] | 119 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16-1 |
---|
| 120 | - initial build |
---|
| 121 | |
---|