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