]> git.pld-linux.org Git - packages/folks.git/blob - folks.spec
- some PLDization
[packages/folks.git] / folks.spec
1 Summary:        GObject contact aggregation library
2 Name:           folks
3 Version:        0.2.0
4 Release:        1
5 License:        LGPL v2+
6 Group:          Libraries
7 URL:            http://telepathy.freedesktop.org/wiki/Folks
8 Source0:        http://download.gnome.org/sources/folks/0.2/%{name}-%{version}.tar.bz2
9 # Source0-md5:  8c66c03d942313db735f6eb375c2f71a
10 Patch0:         telepathy-glib-vala.patch
11 BuildRequires:  libgee-devel
12 BuildRequires:  libxml2-devel
13 BuildRequires:  pkgconfig
14 BuildRequires:  telepathy-glib-devel
15 BuildRequires:  vala >= 0.9.7
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
23 %package devel
24 Summary:        Development files for %{name}
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}-%{release}
27
28 %description devel
29 The %{name}-devel package contains libraries and header files for
30 developing applications that use %{name}.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 %configure \
38         --disable-static
39
40 %{__make} V=1
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
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %post -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
52
53 %files
54 %defattr(644,root,root,755)
55 %doc AUTHORS ChangeLog README
56 %attr(755,root,root) %{_bindir}/folks-import
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
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
66 %{_datadir}/vala/vapi/folks.*
67 %{_datadir}/vala/vapi/folks-telepathy.*
68
69 %files devel
70 %defattr(644,root,root,755)
71 %{_includedir}/folks
72 %{_libdir}/libfolks.so
73 %{_libdir}/libfolks-telepathy.so
74 %{_pkgconfigdir}/folks.pc
75 %{_pkgconfigdir}/folks-telepathy.pc
This page took 0.131268 seconds and 3 git commands to generate.