1 |
%define _disable_ld_no_undefined 1 |
2 |
|
3 |
Name: telepathy-qt4 |
4 |
Version: 0.5.14 |
5 |
Release: %mkrel 1 |
6 |
Summary: Base classes for use in connection managers, and proxy classes |
7 |
License: GPL |
8 |
Group: Networking/Instant messaging |
9 |
Url: http://telepathy.freedesktop.org/wiki/Telepathy-Qt4 |
10 |
Source: http://telepathy.freedesktop.org/releases/telepathy-qt4/%name-%version.tar.gz |
11 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
12 |
BuildRequires: qt4-devel |
13 |
BuildRequires: libtelepathy-farsight-devel >= 0.0.4 |
14 |
BuildRequires: libtelepathy-glib-devel >= 0.11.11 |
15 |
BuildRequires: libgstreamer-plugins-base-devel |
16 |
BuildRequires: gstreamer0.10-devel |
17 |
BuildRequires: python |
18 |
BuildRequires: cmake |
19 |
|
20 |
%description |
21 |
Qt4 libraries for use in Telepathy clients and connection managers |
22 |
|
23 |
#-------------------------------------------------------------------- |
24 |
|
25 |
%define libtelepathy_qt4_farsight_major 1 |
26 |
%define libtelepathy_qt4_farsight %mklibname telepathy-qt4-farsight %{libtelepathy_qt4_farsight_major} |
27 |
|
28 |
%package -n %libtelepathy_qt4_farsight |
29 |
Summary: Core Decibel library |
30 |
Group: System/Libraries |
31 |
|
32 |
%description -n %libtelepathy_qt4_farsight |
33 |
Core Decibel library. |
34 |
|
35 |
%files -n %libtelepathy_qt4_farsight |
36 |
%defattr(-,root,root) |
37 |
%{_libdir}/libtelepathy-qt4-farsight.so.%{libtelepathy_qt4_farsight_major}* |
38 |
|
39 |
#-------------------------------------------------------------------- |
40 |
|
41 |
%define libtelepathy_qt4_major 1 |
42 |
%define libtelepathy_qt4 %mklibname telepathy-qt4_ %{libtelepathy_qt4_major} |
43 |
|
44 |
%package -n %libtelepathy_qt4 |
45 |
Summary: Core Decibel library |
46 |
Group: System/Libraries |
47 |
|
48 |
%description -n %libtelepathy_qt4 |
49 |
Core Decibel library. |
50 |
|
51 |
%files -n %libtelepathy_qt4 |
52 |
%defattr(-,root,root) |
53 |
%{_libdir}/libtelepathy-qt4.so.%{libtelepathy_qt4_major}* |
54 |
|
55 |
#-------------------------------------------------------------------- |
56 |
|
57 |
%package devel |
58 |
Summary: %{name} development files |
59 |
Group: Development/Other |
60 |
Provides: libtelepathy-qt-devel = %{version} |
61 |
Requires: %libtelepathy_qt4 = %{version} |
62 |
Requires: %libtelepathy_qt4_farsight = %{version} |
63 |
|
64 |
%description devel |
65 |
Telepathy-qt development files. |
66 |
|
67 |
%files devel |
68 |
%defattr(-,root,root) |
69 |
%{_includedir}/* |
70 |
%{_libdir}/pkgconfig/* |
71 |
%{_libdir}/*.so |
72 |
|
73 |
#-------------------------------------------------------------------- |
74 |
|
75 |
%prep |
76 |
%setup -q -n %name-%version |
77 |
|
78 |
%build |
79 |
%cmake |
80 |
%make |
81 |
|
82 |
%install |
83 |
rm -fr %buildroot |
84 |
|
85 |
%makeinstall_std -C build |
86 |
|
87 |
%clean |
88 |
rm -rf %buildroot |
89 |
|
90 |
|