1 | Summary: MATE keyring client library |
---|
2 | Name: libmatekeyring |
---|
3 | Version: 1.1.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Source0: %{name}-%{version}.tar.xz |
---|
6 | License: GPLv2 |
---|
7 | Group: System Environment/Libraries |
---|
8 | URL: https://matsusoft.com.ar/projects/mate/ |
---|
9 | |
---|
10 | BuildRequires: mate-common |
---|
11 | BuildRequires: glib2-devel |
---|
12 | BuildRequires: dbus-devel |
---|
13 | BuildRequires: libgcrypt-devel |
---|
14 | BuildRequires: gtk-doc |
---|
15 | BuildRequires: autoconf |
---|
16 | BuildRequires: automake |
---|
17 | |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | Packager: Takemikaduchi |
---|
23 | |
---|
24 | |
---|
25 | %description |
---|
26 | mate-keyring is a program that keep password and other secrets for |
---|
27 | users. The library libmate-keyring is used by applications to integrate |
---|
28 | with the mate keyring system. |
---|
29 | |
---|
30 | |
---|
31 | %package devel |
---|
32 | Summary: Development tools for libmatekeyring |
---|
33 | Summary(ja): libmatekeyring の開発環境 |
---|
34 | Group: Development/Libraries |
---|
35 | Requires: %{name} = %{version}-%{release} |
---|
36 | Requires: pkgconfig |
---|
37 | |
---|
38 | %description devel |
---|
39 | Header files and libraries for building a extension library for the |
---|
40 | libmatekeyring. |
---|
41 | |
---|
42 | |
---|
43 | %package doc |
---|
44 | Summary: Documentation for libmatekeyring |
---|
45 | Summary(ja): libmatekeyring 用のドキュメント |
---|
46 | Group: Documentation |
---|
47 | Requires: %{name} = %{version}-%{release} |
---|
48 | BuildArch: noarch |
---|
49 | |
---|
50 | %description doc |
---|
51 | This package contains documentation for libmatekeyring. |
---|
52 | |
---|
53 | |
---|
54 | %prep |
---|
55 | %setup -q |
---|
56 | |
---|
57 | |
---|
58 | %build |
---|
59 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
60 | %configure \ |
---|
61 | --disable-static \ |
---|
62 | |
---|
63 | %{__make} %{?_smp_mflags} |
---|
64 | |
---|
65 | |
---|
66 | %install |
---|
67 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
68 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
69 | |
---|
70 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
71 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
72 | |
---|
73 | %find_lang libmate-keyring |
---|
74 | |
---|
75 | %clean |
---|
76 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
77 | |
---|
78 | %post -p /sbin/ldconfig |
---|
79 | |
---|
80 | %postun -p /sbin/ldconfig |
---|
81 | |
---|
82 | %files -f libmate-keyring.lang |
---|
83 | %defattr(-,root,root,-) |
---|
84 | %doc COPYING.LIB ChangeLog NEWS README |
---|
85 | %{_libdir}/libmate-keyring.so.* |
---|
86 | |
---|
87 | %files devel |
---|
88 | %defattr(-,root,root,-) |
---|
89 | %{_includedir}/mate-keyring-1 |
---|
90 | %{_libdir}/libmate-keyring.so |
---|
91 | %{_libdir}/pkgconfig/mate-keyring-1.pc |
---|
92 | |
---|
93 | %files doc |
---|
94 | %defattr(-,root,root,-) |
---|
95 | %{_datadir}/gtk-doc/html/mate-keyring |
---|
96 | |
---|
97 | |
---|
98 | %changelog |
---|
99 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
100 | - initial build for Vine Linux |
---|
101 | |
---|