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