1 |
dmorgan |
82068 |
Name: telepathy-qt4 |
2 |
|
|
Version: 0.5.14 |
3 |
dmorgan |
88805 |
Release: %mkrel 3 |
4 |
dmorgan |
82068 |
Summary: Base classes for use in connection managers, and proxy classes |
5 |
ahmad |
87559 |
License: LGPLv2+ |
6 |
dmorgan |
82068 |
Group: Networking/Instant messaging |
7 |
|
|
Url: http://telepathy.freedesktop.org/wiki/Telepathy-Qt4 |
8 |
ahmad |
87559 |
Source0: http://telepathy.freedesktop.org/releases/telepathy-qt4/%name-%version.tar.gz |
9 |
|
|
Patch0: telepathy-qt4-0.5.14-fix-linking.patch |
10 |
dmorgan |
82068 |
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 |
ahmad |
87559 |
BuildRequires: python python-dbus |
16 |
|
|
BuildRequires: cmake |
17 |
dmorgan |
82068 |
|
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 |
ahmad |
87559 |
%define develname %mklibname telepathy-qt4 -d |
56 |
|
|
|
57 |
|
|
%package -n %{develname} |
58 |
dmorgan |
82068 |
Summary: %{name} development files |
59 |
|
|
Group: Development/Other |
60 |
|
|
Provides: libtelepathy-qt-devel = %{version} |
61 |
dmorgan |
88805 |
Provides: %name-devel = %{version} |
62 |
dmorgan |
82068 |
Requires: %libtelepathy_qt4 = %{version} |
63 |
|
|
Requires: %libtelepathy_qt4_farsight = %{version} |
64 |
|
|
|
65 |
ahmad |
87559 |
%description -n %{develname} |
66 |
dmorgan |
82068 |
Telepathy-qt development files. |
67 |
|
|
|
68 |
ahmad |
87559 |
%files -n %{develname} |
69 |
dmorgan |
82068 |
%defattr(-,root,root) |
70 |
ahmad |
87559 |
%doc AUTHORS ChangeLog COPYING HACKING NEWS README |
71 |
dmorgan |
82068 |
%{_includedir}/* |
72 |
|
|
%{_libdir}/pkgconfig/* |
73 |
|
|
%{_libdir}/*.so |
74 |
|
|
|
75 |
|
|
#-------------------------------------------------------------------- |
76 |
|
|
|
77 |
|
|
%prep |
78 |
|
|
%setup -q -n %name-%version |
79 |
ahmad |
87559 |
%patch0 -p1 |
80 |
dmorgan |
82068 |
|
81 |
|
|
%build |
82 |
|
|
%cmake |
83 |
|
|
%make |
84 |
|
|
|
85 |
|
|
%install |
86 |
|
|
rm -fr %buildroot |
87 |
|
|
|
88 |
|
|
%makeinstall_std -C build |
89 |
|
|
|
90 |
|
|
%clean |
91 |
|
|
rm -rf %buildroot |