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