]>
Commit | Line | Data |
---|---|---|
a439583d PZ |
1 | Summary: GObject contact aggregation library |
2 | Name: folks | |
55e966a3 | 3 | Version: 0.2.0 |
a439583d PZ |
4 | Release: 1 |
5 | License: LGPL v2+ | |
6 | Group: Libraries | |
7 | URL: http://telepathy.freedesktop.org/wiki/Folks | |
55e966a3 PZ |
8 | Source0: http://download.gnome.org/sources/folks/0.2/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 8c66c03d942313db735f6eb375c2f71a | |
10 | Patch0: telepathy-glib-vala.patch | |
a439583d | 11 | BuildRequires: libgee-devel |
2a61e194 | 12 | BuildRequires: libxml2-devel |
13 | BuildRequires: pkgconfig | |
a439583d PZ |
14 | BuildRequires: telepathy-glib-devel |
15 | BuildRequires: vala >= 0.9.7 | |
2a61e194 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a439583d PZ |
17 | |
18 | %description | |
19 | libfolks is a library that aggregates people from multiple sources | |
20 | (e.g. Telepathy connection managers and eventually evolution data | |
21 | server, Facebook, etc.) to create meta-contacts. | |
22 | ||
2a61e194 | 23 | %package devel |
a439583d PZ |
24 | Summary: Development files for %{name} |
25 | Group: Development/Libraries | |
26 | Requires: %{name} = %{version}-%{release} | |
27 | ||
2a61e194 | 28 | %description devel |
a439583d PZ |
29 | The %{name}-devel package contains libraries and header files for |
30 | developing applications that use %{name}. | |
31 | ||
a439583d PZ |
32 | %prep |
33 | %setup -q | |
55e966a3 | 34 | %patch0 -p1 |
a439583d PZ |
35 | |
36 | %build | |
37 | %configure \ | |
2a61e194 | 38 | --disable-static |
a439583d | 39 | |
2a61e194 | 40 | %{__make} V=1 |
a439583d PZ |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
45 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' | |
46 | ||
2a61e194 | 47 | %clean |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
a439583d PZ |
50 | %post -p /sbin/ldconfig |
51 | %postun -p /sbin/ldconfig | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc AUTHORS ChangeLog README | |
55e966a3 | 56 | %attr(755,root,root) %{_bindir}/folks-import |
a439583d PZ |
57 | %attr(755,root,root) %{_libdir}/libfolks.so.*.*.* |
58 | %attr(755,root,root) %ghost %{_libdir}/libfolks.so.0 | |
59 | %attr(755,root,root) %{_libdir}/libfolks-telepathy.so.*.*.* | |
60 | %attr(755,root,root) %ghost %{_libdir}/libfolks-telepathy.so.0 | |
2a61e194 | 61 | %dir %{_libdir}/folks |
62 | %dir %{_libdir}/folks/15 | |
63 | %dir %{_libdir}/folks/15/backends | |
64 | %dir %{_libdir}/folks/15/backends/* | |
65 | %attr(755,root,root) %{_libdir}/folks/15/backends/*/libfolks-backend-*.so | |
55e966a3 PZ |
66 | %{_datadir}/vala/vapi/folks.* |
67 | %{_datadir}/vala/vapi/folks-telepathy.* | |
a439583d PZ |
68 | |
69 | %files devel | |
70 | %defattr(644,root,root,755) | |
a439583d PZ |
71 | %{_includedir}/folks |
72 | %{_libdir}/libfolks.so | |
73 | %{_libdir}/libfolks-telepathy.so | |
74 | %{_pkgconfigdir}/folks.pc | |
75 | %{_pkgconfigdir}/folks-telepathy.pc |