2 %define orgname telepathy-qt
5 Summary: Library for Qt4-based Telepathy clients
6 Summary(pl.UTF-8): Biblioteka dla klientów Telepathy opartych na Qt4
11 Group: X11/Applications
12 Source0: http://telepathy.freedesktop.org/releases/telepathy-qt/%{orgname}-%{version}.tar.gz
13 # Source0-md5: 94ac93aedf5f6fff49837bc8368e5a37
14 Patch0: %{name}-build.patch
15 URL: http://telepathy.freedesktop.org/wiki/Telepathy-Qt4
16 BuildRequires: QtCore-devel >= %{qt_ver}
17 BuildRequires: QtDBus-devel >= %{qt_ver}
18 BuildRequires: QtGui-devel >= %{qt_ver}
19 BuildRequires: QtNetwork-devel >= %{qt_ver}
20 BuildRequires: QtXml-devel >= %{qt_ver}
21 BuildRequires: QtTest-devel >= %{qt_ver}
22 BuildRequires: cmake >= 2.6
23 BuildRequires: dbus-devel
24 BuildRequires: dbus-glib-devel
25 BuildRequires: farstream-devel >= 0.1.0
26 BuildRequires: glib2-devel >= 2.0
27 BuildRequires: libxml2-devel >= 2.0
28 BuildRequires: pkgconfig
29 BuildRequires: python-dbus
30 BuildRequires: python-devel >= 1:2.5
31 BuildRequires: python-modules >= 1:2.5
32 BuildRequires: python-pygobject
33 BuildRequires: qt4-build >= %{qt_ver}
34 BuildRequires: qt4-qmake >= %{qt_ver}
35 BuildRequires: rpmbuild(macros) >= 1.293
36 BuildRequires: telepathy-farstream-devel >= 0.2.2
37 BuildRequires: telepathy-glib-devel >= 0.19.5
38 Requires: QtCore >= %{qt_ver}
39 Requires: QtDBus >= %{qt_ver}
40 Requires: QtNetwork >= %{qt_ver}
41 Requires: QtXml >= %{qt_ver}
42 Requires: telepathy-farstream >= 0.2.2
43 Requires: telepathy-glib >= 0.19.5
44 Obsoletes: telepathy-qt4-yell
45 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48 Library for Qt4-based Telepathy clients.
50 %description -l pl.UTF-8
51 Biblioteka dla klientów Telepathy opartych na Qt4.
54 Summary: Header files for telepathy-qt4 library
55 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki telepathy-qt4
56 Group: Development/Libraries
57 Requires: %{name} = %{version}-%{release}
58 Requires: QtCore-devel >= %{qt_ver}
59 Requires: QtDBus-devel >= %{qt_ver}
60 Obsoletes: telepathy-qt4-yell-devel
63 Header files for telepathy-qt4 library.
65 %description devel -l pl.UTF-8
66 Pliki nagłówkowe biblioteki telepathy-qt4
69 %setup -q -n %{orgname}-%{version}
76 -DENABLE_FARSTREAM:BOOL=ON \
77 -DENABLE_FARSIGHT:BOOL=OFF \
78 -DQT_QMAKE_EXECUTABLE_FINDQT=%{_libdir}/qt4/bin/qmake \
84 rm -rf $RPM_BUILD_ROOT
86 %{__make} -C build install \
87 DESTDIR=$RPM_BUILD_ROOT
90 rm -rf $RPM_BUILD_ROOT
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
96 %defattr(644,root,root,755)
97 %doc AUTHORS ChangeLog NEWS README
98 %attr(755,root,root) %{_libdir}/libtelepathy-qt4.so.*.*.*
99 %attr(755,root,root) %ghost %{_libdir}/libtelepathy-qt4.so.2
100 %attr(755,root,root) %{_libdir}/libtelepathy-qt4-farstream.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/libtelepathy-qt4-farstream.so.2
104 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/libtelepathy-qt4.so
107 %attr(755,root,root) %{_libdir}/libtelepathy-qt4-farstream.so
108 %{_libdir}/cmake/TelepathyQt4
109 %{_libdir}/cmake/TelepathyQt4Farstream
110 %{_includedir}/telepathy-qt4
111 %{_pkgconfigdir}/TelepathyQt4.pc
112 %{_pkgconfigdir}/TelepathyQt4Farstream.pc