]>
Commit | Line | Data |
---|---|---|
a439583d PZ |
1 | Summary: GObject contact aggregation library |
2 | Name: folks | |
6ab13509 | 3 | Version: 0.6.5 |
a439583d PZ |
4 | Release: 1 |
5 | License: LGPL v2+ | |
6 | Group: Libraries | |
20895c66 | 7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/folks/0.6/%{name}-%{version}.tar.xz |
6ab13509 | 8 | # Source0-md5: 31dce2251d3ab3323ac098eda820de1c |
a439583d | 9 | URL: http://telepathy.freedesktop.org/wiki/Folks |
cb1d7e18 | 10 | BuildRequires: GConf2-devel >= 2.31.0 |
20895c66 MB |
11 | BuildRequires: autoconf >= 2.65 |
12 | BuildRequires: automake >= 1:1.11 | |
99340317 | 13 | BuildRequires: dbus-glib-devel |
20895c66 | 14 | BuildRequires: evolution-data-server-devel >= 3.2.0 |
99340317 MB |
15 | BuildRequires: gettext-devel |
16 | BuildRequires: glib2-devel >= 1:2.24.0 | |
17 | BuildRequires: gobject-introspection-devel >= 0.10.0 | |
18 | BuildRequires: intltool >= 0.35.0 | |
19 | BuildRequires: libgee-devel < 0.7 | |
d5d9c06c | 20 | BuildRequires: libsocialweb-devel >= 0.25.15-2 |
20895c66 | 21 | BuildRequires: libtool |
2a61e194 | 22 | BuildRequires: libxml2-devel |
99340317 | 23 | BuildRequires: pkgconfig >= 1:0.21 |
cb1d7e18 | 24 | BuildRequires: readline-devel |
20895c66 MB |
25 | BuildRequires: tar >= 1:1.22 |
26 | BuildRequires: telepathy-glib-devel >= 0.14.0 | |
27 | BuildRequires: tracker-devel >= 0.12.0 | |
28 | BuildRequires: vala >= 2:0.14.0 | |
29 | BuildRequires: xz | |
2a61e194 | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a439583d PZ |
31 | |
32 | %description | |
33 | libfolks is a library that aggregates people from multiple sources | |
34 | (e.g. Telepathy connection managers and eventually evolution data | |
35 | server, Facebook, etc.) to create meta-contacts. | |
36 | ||
2a61e194 | 37 | %package devel |
99340317 MB |
38 | Summary: Development files for folks libraries |
39 | Summary(pl.UTF-8): Pliki programistyczne bibliotek folks | |
a439583d PZ |
40 | Group: Development/Libraries |
41 | Requires: %{name} = %{version}-%{release} | |
20895c66 | 42 | Requires: evolution-data-server-devel >= 3.2.0 |
99340317 MB |
43 | Requires: glib2-devel >= 1:2.24.0 |
44 | Requires: libgee-devel < 0.7 | |
20895c66 MB |
45 | Requires: libsocialweb-devel >= 0.25.15-2 |
46 | Requires: telepathy-glib-devel >= 0.14.0 | |
47 | Requires: tracker-devel >= 0.12.0 | |
a439583d | 48 | |
2a61e194 | 49 | %description devel |
99340317 MB |
50 | Development files for folks libraries. |
51 | ||
52 | %description devel -l pl.UTF-8 | |
53 | Pliki programistyczne bibliotek folks. | |
a439583d | 54 | |
a439583d PZ |
55 | %prep |
56 | %setup -q | |
a439583d PZ |
57 | |
58 | %build | |
20895c66 MB |
59 | %{__intltoolize} |
60 | %{__libtoolize} | |
61 | %{__aclocal} -I m4 | |
62 | %{__autoconf} | |
63 | %{__autoheader} | |
64 | %{__automake} | |
a439583d | 65 | %configure \ |
99340317 MB |
66 | --disable-silent-rules \ |
67 | --disable-static \ | |
68 | --enable-vala | |
a439583d | 69 | |
99340317 | 70 | %{__make} |
a439583d PZ |
71 | |
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
99340317 MB |
74 | |
75 | %{__make} install \ | |
76 | DESTDIR=$RPM_BUILD_ROOT | |
77 | ||
20895c66 | 78 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/folks/*/backends/*/*.la \ |
99340317 MB |
79 | $RPM_BUILD_ROOT%{_libdir}/*.la |
80 | ||
81 | %find_lang %{name} | |
a439583d | 82 | |
2a61e194 | 83 | %clean |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
a439583d PZ |
86 | %post -p /sbin/ldconfig |
87 | %postun -p /sbin/ldconfig | |
88 | ||
99340317 | 89 | %files -f %{name}.lang |
a439583d PZ |
90 | %defattr(644,root,root,755) |
91 | %doc AUTHORS ChangeLog README | |
55e966a3 | 92 | %attr(755,root,root) %{_bindir}/folks-import |
99340317 | 93 | %attr(755,root,root) %{_bindir}/folks-inspect |
a439583d | 94 | %attr(755,root,root) %{_libdir}/libfolks.so.*.*.* |
e1dd2460 | 95 | %attr(755,root,root) %ghost %{_libdir}/libfolks.so.25 |
20895c66 | 96 | %attr(755,root,root) %{_libdir}/libfolks-eds.so.*.*.* |
e1dd2460 | 97 | %attr(755,root,root) %ghost %{_libdir}/libfolks-eds.so.25 |
d5d9c06c | 98 | %attr(755,root,root) %{_libdir}/libfolks-libsocialweb.so.*.*.* |
e1dd2460 | 99 | %attr(755,root,root) %ghost %{_libdir}/libfolks-libsocialweb.so.25 |
20895c66 | 100 | %attr(755,root,root) %{_libdir}/libfolks-telepathy.so.*.*.* |
e1dd2460 | 101 | %attr(755,root,root) %ghost %{_libdir}/libfolks-telepathy.so.25 |
2a61e194 | 102 | %dir %{_libdir}/folks |
a9a389d6 ŁK |
103 | %dir %{_libdir}/folks/29 |
104 | %dir %{_libdir}/folks/29/backends | |
105 | %dir %{_libdir}/folks/29/backends/eds | |
106 | %attr(755,root,root) %{_libdir}/folks/29/backends/eds/eds.so | |
107 | %dir %{_libdir}/folks/29/backends/key-file | |
108 | %attr(755,root,root) %{_libdir}/folks/29/backends/key-file/key-file.so | |
109 | %dir %{_libdir}/folks/29/backends/libsocialweb | |
110 | %attr(755,root,root) %{_libdir}/folks/29/backends/libsocialweb/libsocialweb.so | |
111 | %dir %{_libdir}/folks/29/backends/telepathy | |
112 | %attr(755,root,root) %{_libdir}/folks/29/backends/telepathy/telepathy.so | |
24c58894 | 113 | %{_libdir}/girepository-1.0/*.typelib |
a439583d PZ |
114 | |
115 | %files devel | |
116 | %defattr(644,root,root,755) | |
99340317 | 117 | %attr(755,root,root) %{_libdir}/libfolks.so |
20895c66 | 118 | %attr(755,root,root) %{_libdir}/libfolks-eds.so |
d5d9c06c | 119 | %attr(755,root,root) %{_libdir}/libfolks-libsocialweb.so |
20895c66 | 120 | %attr(755,root,root) %{_libdir}/libfolks-telepathy.so |
24c58894 | 121 | %{_datadir}/gir-1.0/*.gir |
d5d9c06c AF |
122 | %{_datadir}/vala/vapi/folks.deps |
123 | %{_datadir}/vala/vapi/folks.vapi | |
20895c66 MB |
124 | %{_datadir}/vala/vapi/folks-eds.deps |
125 | %{_datadir}/vala/vapi/folks-eds.vapi | |
d5d9c06c AF |
126 | %{_datadir}/vala/vapi/folks-libsocialweb.deps |
127 | %{_datadir}/vala/vapi/folks-libsocialweb.vapi | |
128 | %{_datadir}/vala/vapi/folks-telepathy.deps | |
129 | %{_datadir}/vala/vapi/folks-telepathy.vapi | |
a439583d | 130 | %{_includedir}/folks |
a439583d | 131 | %{_pkgconfigdir}/folks.pc |
20895c66 | 132 | %{_pkgconfigdir}/folks-eds.pc |
d5d9c06c | 133 | %{_pkgconfigdir}/folks-libsocialweb.pc |
20895c66 | 134 | %{_pkgconfigdir}/folks-telepathy.pc |