1 |
dmorgan |
82068 |
%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 |
|
|
|
19 |
|
|
%description |
20 |
|
|
Qt4 libraries for use in Telepathy clients and connection managers |
21 |
|
|
|
22 |
|
|
#-------------------------------------------------------------------- |
23 |
|
|
|
24 |
|
|
%define libtelepathy_qt4_farsight_major 1 |
25 |
|
|
%define libtelepathy_qt4_farsight %mklibname telepathy-qt4-farsight %{libtelepathy_qt4_farsight_major} |
26 |
|
|
|
27 |
|
|
%package -n %libtelepathy_qt4_farsight |
28 |
|
|
Summary: Core Decibel library |
29 |
|
|
Group: System/Libraries |
30 |
|
|
|
31 |
|
|
%description -n %libtelepathy_qt4_farsight |
32 |
|
|
Core Decibel library. |
33 |
|
|
|
34 |
|
|
%files -n %libtelepathy_qt4_farsight |
35 |
|
|
%defattr(-,root,root) |
36 |
|
|
%{_libdir}/libtelepathy-qt4-farsight.so.%{libtelepathy_qt4_farsight_major}* |
37 |
|
|
|
38 |
|
|
#-------------------------------------------------------------------- |
39 |
|
|
|
40 |
|
|
%define libtelepathy_qt4_major 1 |
41 |
|
|
%define libtelepathy_qt4 %mklibname telepathy-qt4_ %{libtelepathy_qt4_major} |
42 |
|
|
|
43 |
|
|
%package -n %libtelepathy_qt4 |
44 |
|
|
Summary: Core Decibel library |
45 |
|
|
Group: System/Libraries |
46 |
|
|
|
47 |
|
|
%description -n %libtelepathy_qt4 |
48 |
|
|
Core Decibel library. |
49 |
|
|
|
50 |
|
|
%files -n %libtelepathy_qt4 |
51 |
|
|
%defattr(-,root,root) |
52 |
|
|
%{_libdir}/libtelepathy-qt4.so.%{libtelepathy_qt4_major}* |
53 |
|
|
|
54 |
|
|
#-------------------------------------------------------------------- |
55 |
|
|
|
56 |
|
|
%package devel |
57 |
|
|
Summary: %{name} development files |
58 |
|
|
Group: Development/Other |
59 |
|
|
Provides: libtelepathy-qt-devel = %{version} |
60 |
|
|
Requires: %libtelepathy_qt4 = %{version} |
61 |
|
|
Requires: %libtelepathy_qt4_farsight = %{version} |
62 |
|
|
|
63 |
|
|
%description devel |
64 |
|
|
Telepathy-qt development files. |
65 |
|
|
|
66 |
|
|
%files devel |
67 |
|
|
%defattr(-,root,root) |
68 |
|
|
%{_includedir}/* |
69 |
|
|
%{_libdir}/pkgconfig/* |
70 |
|
|
%{_libdir}/*.so |
71 |
|
|
|
72 |
|
|
#-------------------------------------------------------------------- |
73 |
|
|
|
74 |
|
|
%prep |
75 |
|
|
%setup -q -n %name-%version |
76 |
|
|
|
77 |
|
|
%build |
78 |
|
|
%cmake |
79 |
|
|
%make |
80 |
|
|
|
81 |
|
|
%install |
82 |
|
|
rm -fr %buildroot |
83 |
|
|
|
84 |
|
|
%makeinstall_std -C build |
85 |
|
|
|
86 |
|
|
%clean |
87 |
|
|
rm -rf %buildroot |
88 |
|
|
|
89 |
|
|
|