]>
Commit | Line | Data |
---|---|---|
d9c999a5 | 1 | |
1865d69b | 2 | %define orgname telepathy-qt |
1f9778f5 | 3 | %define qt_ver 4.8.2 |
d9c999a5 | 4 | |
bfe5cf24 JB |
5 | Summary: Library for Qt4-based Telepathy clients |
6 | Summary(pl.UTF-8): Biblioteka dla klientów Telepathy opartych na Qt4 | |
978e3d8c | 7 | Name: telepathy-qt4 |
1865d69b | 8 | Version: 0.9.3 |
34c867e1 | 9 | Release: 3 |
978e3d8c AM |
10 | License: LGPL v2.1 |
11 | Group: X11/Applications | |
1865d69b AM |
12 | Source0: http://telepathy.freedesktop.org/releases/telepathy-qt/%{orgname}-%{version}.tar.gz |
13 | # Source0-md5: 94ac93aedf5f6fff49837bc8368e5a37 | |
978e3d8c AM |
14 | URL: http://telepathy.freedesktop.org/wiki/Telepathy-Qt4 |
15 | BuildRequires: QtCore-devel >= %{qt_ver} | |
16 | BuildRequires: QtDBus-devel >= %{qt_ver} | |
17 | BuildRequires: QtGui-devel >= %{qt_ver} | |
d9c999a5 | 18 | BuildRequires: QtNetwork-devel >= %{qt_ver} |
bfe5cf24 | 19 | BuildRequires: QtXml-devel >= %{qt_ver} |
d9c999a5 | 20 | BuildRequires: QtTest-devel >= %{qt_ver} |
bfe5cf24 JB |
21 | BuildRequires: cmake >= 2.6 |
22 | BuildRequires: dbus-devel | |
23 | BuildRequires: dbus-glib-devel | |
24 | BuildRequires: farstream-devel >= 0.1.0 | |
25 | BuildRequires: glib2-devel >= 2.0 | |
26 | BuildRequires: libxml2-devel >= 2.0 | |
978e3d8c | 27 | BuildRequires: pkgconfig |
e521664a | 28 | BuildRequires: python-dbus |
bfe5cf24 JB |
29 | BuildRequires: python-devel >= 1:2.5 |
30 | BuildRequires: python-modules >= 1:2.5 | |
e521664a | 31 | BuildRequires: python-pygobject |
978e3d8c AM |
32 | BuildRequires: qt4-build >= %{qt_ver} |
33 | BuildRequires: qt4-qmake >= %{qt_ver} | |
34 | BuildRequires: rpmbuild(macros) >= 1.293 | |
34c867e1 | 35 | BuildRequires: telepathy-farstream-devel >= 0.2.2 |
1865d69b | 36 | BuildRequires: telepathy-glib-devel >= 0.19.5 |
bfe5cf24 JB |
37 | Requires: QtCore >= %{qt_ver} |
38 | Requires: QtDBus >= %{qt_ver} | |
39 | Requires: QtNetwork >= %{qt_ver} | |
40 | Requires: QtXml >= %{qt_ver} | |
41 | Requires: telepathy-farstream >= 0.2.2 | |
42 | Requires: telepathy-glib >= 0.19.5 | |
978e3d8c AM |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
44 | ||
45 | %description | |
bfe5cf24 JB |
46 | Library for Qt4-based Telepathy clients. |
47 | ||
48 | %description -l pl.UTF-8 | |
49 | Biblioteka dla klientów Telepathy opartych na Qt4. | |
978e3d8c AM |
50 | |
51 | %package devel | |
52 | Summary: Header files for telepathy-qt4 library | |
53 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki telepathy-qt4 | |
54 | Group: Development/Libraries | |
55 | Requires: %{name} = %{version}-%{release} | |
bfe5cf24 JB |
56 | Requires: QtCore-devel >= %{qt_ver} |
57 | Requires: QtDBus-devel >= %{qt_ver} | |
978e3d8c AM |
58 | |
59 | %description devel | |
60 | Header files for telepathy-qt4 library. | |
61 | ||
62 | %description devel -l pl.UTF-8 | |
63 | Pliki nagłówkowe biblioteki telepathy-qt4 | |
64 | ||
978e3d8c | 65 | %prep |
1865d69b | 66 | %setup -q -n %{orgname}-%{version} |
978e3d8c AM |
67 | |
68 | %build | |
1f9778f5 AM |
69 | install -d build |
70 | cd build | |
71 | %cmake \ | |
0f75cb27 | 72 | -DQT_QMAKE_EXECUTABLE_FINDQT=%{_libdir}/qt4/bin/qmake \ |
1f9778f5 AM |
73 | ../ |
74 | ||
978e3d8c AM |
75 | %{__make} |
76 | ||
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
1f9778f5 AM |
80 | %{__make} -C build install \ |
81 | DESTDIR=$RPM_BUILD_ROOT | |
978e3d8c AM |
82 | |
83 | %clean | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %post -p /sbin/ldconfig | |
87 | %postun -p /sbin/ldconfig | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
91 | %doc AUTHORS ChangeLog NEWS README | |
d9c999a5 | 92 | %attr(755,root,root) %{_libdir}/libtelepathy-qt4.so.*.*.* |
bfe5cf24 | 93 | %attr(755,root,root) %ghost %{_libdir}/libtelepathy-qt4.so.2 |
34c867e1 | 94 | %attr(755,root,root) %{_libdir}/libtelepathy-qt4-farstream.so.*.*.* |
bfe5cf24 | 95 | %attr(755,root,root) %ghost %{_libdir}/libtelepathy-qt4-farstream.so.2 |
978e3d8c AM |
96 | |
97 | %files devel | |
98 | %defattr(644,root,root,755) | |
99 | %doc doc/html | |
100 | %attr(755,root,root) %{_libdir}/libtelepathy-qt4.so | |
34c867e1 | 101 | %attr(755,root,root) %{_libdir}/libtelepathy-qt4-farstream.so |
1865d69b | 102 | %{_libdir}/cmake/TelepathyQt4 |
34c867e1 | 103 | %{_libdir}/cmake/TelepathyQt4Farstream |
1865d69b | 104 | %{_includedir}/telepathy-qt4 |
978e3d8c | 105 | %{_pkgconfigdir}/TelepathyQt4.pc |
34c867e1 | 106 | %{_pkgconfigdir}/TelepathyQt4Farstream.pc |