]>
Commit | Line | Data |
---|---|---|
a439583d PZ |
1 | Summary: GObject contact aggregation library |
2 | Name: folks | |
5bd9412e | 3 | Version: 0.5.2 |
a439583d PZ |
4 | Release: 1 |
5 | License: LGPL v2+ | |
6 | Group: Libraries | |
d5d9c06c | 7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/folks/0.5/%{name}-%{version}.tar.bz2 |
5bd9412e | 8 | # Source0-md5: 78c5807148721a5e316fa54b436d2918 |
a439583d | 9 | URL: http://telepathy.freedesktop.org/wiki/Folks |
99340317 MB |
10 | BuildRequires: dbus-glib-devel |
11 | BuildRequires: gettext-devel | |
12 | BuildRequires: glib2-devel >= 1:2.24.0 | |
13 | BuildRequires: gobject-introspection-devel >= 0.10.0 | |
14 | BuildRequires: intltool >= 0.35.0 | |
15 | BuildRequires: libgee-devel < 0.7 | |
d5d9c06c | 16 | BuildRequires: libsocialweb-devel >= 0.25.15-2 |
2a61e194 | 17 | BuildRequires: libxml2-devel |
99340317 MB |
18 | BuildRequires: pkgconfig >= 1:0.21 |
19 | BuildRequires: telepathy-glib-devel >= 0.13.1 | |
d5d9c06c | 20 | BuildRequires: vala >= 1:0.12.0 |
2a61e194 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a439583d PZ |
22 | |
23 | %description | |
24 | libfolks is a library that aggregates people from multiple sources | |
25 | (e.g. Telepathy connection managers and eventually evolution data | |
26 | server, Facebook, etc.) to create meta-contacts. | |
27 | ||
2a61e194 | 28 | %package devel |
99340317 MB |
29 | Summary: Development files for folks libraries |
30 | Summary(pl.UTF-8): Pliki programistyczne bibliotek folks | |
a439583d PZ |
31 | Group: Development/Libraries |
32 | Requires: %{name} = %{version}-%{release} | |
99340317 MB |
33 | Requires: glib2-devel >= 1:2.24.0 |
34 | Requires: libgee-devel < 0.7 | |
35 | Requires: telepathy-glib-devel >= 0.13.1 | |
a439583d | 36 | |
2a61e194 | 37 | %description devel |
99340317 MB |
38 | Development files for folks libraries. |
39 | ||
40 | %description devel -l pl.UTF-8 | |
41 | Pliki programistyczne bibliotek folks. | |
a439583d | 42 | |
a439583d PZ |
43 | %prep |
44 | %setup -q | |
a439583d PZ |
45 | |
46 | %build | |
47 | %configure \ | |
99340317 MB |
48 | --disable-silent-rules \ |
49 | --disable-static \ | |
50 | --enable-vala | |
a439583d | 51 | |
99340317 | 52 | %{__make} |
a439583d PZ |
53 | |
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
99340317 MB |
56 | |
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
d5d9c06c | 60 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/folks/*/backends/*/libfolks-backend-*.la \ |
99340317 MB |
61 | $RPM_BUILD_ROOT%{_libdir}/*.la |
62 | ||
63 | %find_lang %{name} | |
a439583d | 64 | |
2a61e194 | 65 | %clean |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
a439583d PZ |
68 | %post -p /sbin/ldconfig |
69 | %postun -p /sbin/ldconfig | |
70 | ||
99340317 | 71 | %files -f %{name}.lang |
a439583d PZ |
72 | %defattr(644,root,root,755) |
73 | %doc AUTHORS ChangeLog README | |
55e966a3 | 74 | %attr(755,root,root) %{_bindir}/folks-import |
99340317 | 75 | %attr(755,root,root) %{_bindir}/folks-inspect |
a439583d | 76 | %attr(755,root,root) %{_libdir}/libfolks.so.*.*.* |
99340317 | 77 | %attr(755,root,root) %ghost %{_libdir}/libfolks.so.22 |
a439583d | 78 | %attr(755,root,root) %{_libdir}/libfolks-telepathy.so.*.*.* |
99340317 | 79 | %attr(755,root,root) %ghost %{_libdir}/libfolks-telepathy.so.22 |
d5d9c06c AF |
80 | %attr(755,root,root) %{_libdir}/libfolks-libsocialweb.so.*.*.* |
81 | %attr(755,root,root) %ghost %{_libdir}/libfolks-libsocialweb.so.22 | |
2a61e194 | 82 | %dir %{_libdir}/folks |
d5d9c06c AF |
83 | %dir %{_libdir}/folks/23 |
84 | %dir %{_libdir}/folks/23/backends | |
85 | %dir %{_libdir}/folks/23/backends/key-file | |
86 | %attr(755,root,root) %{_libdir}/folks/23/backends/key-file/libfolks-backend-key-file.so | |
87 | %dir %{_libdir}/folks/23/backends/libsocialweb | |
88 | %attr(755,root,root) %{_libdir}/folks/23/backends/libsocialweb/libfolks-backend-libsocialweb.so | |
89 | %dir %{_libdir}/folks/23/backends/telepathy | |
90 | %attr(755,root,root) %{_libdir}/folks/23/backends/telepathy/libfolks-backend-telepathy.so | |
a439583d PZ |
91 | |
92 | %files devel | |
93 | %defattr(644,root,root,755) | |
99340317 MB |
94 | %attr(755,root,root) %{_libdir}/libfolks.so |
95 | %attr(755,root,root) %{_libdir}/libfolks-telepathy.so | |
d5d9c06c AF |
96 | %attr(755,root,root) %{_libdir}/libfolks-libsocialweb.so |
97 | %{_datadir}/vala/vapi/folks.deps | |
98 | %{_datadir}/vala/vapi/folks.vapi | |
99 | %{_datadir}/vala/vapi/folks-libsocialweb.deps | |
100 | %{_datadir}/vala/vapi/folks-libsocialweb.vapi | |
101 | %{_datadir}/vala/vapi/folks-telepathy.deps | |
102 | %{_datadir}/vala/vapi/folks-telepathy.vapi | |
a439583d | 103 | %{_includedir}/folks |
a439583d PZ |
104 | %{_pkgconfigdir}/folks.pc |
105 | %{_pkgconfigdir}/folks-telepathy.pc | |
d5d9c06c | 106 | %{_pkgconfigdir}/folks-libsocialweb.pc |