]> git.pld-linux.org Git - packages/telepathy-qt4.git/blob - telepathy-qt4.spec
- up to 0.8.0
[packages/telepathy-qt4.git] / telepathy-qt4.spec
1
2 %define         qt_ver          4.8.2
3
4 Summary:        Telepathy Qt4
5 Summary(pl.UTF-8):      Telepathy Qt4
6 Name:           telepathy-qt4
7 Version:        0.8.0
8 Release:        1
9 License:        LGPL v2.1
10 Group:          X11/Applications
11 Source0:        http://telepathy.freedesktop.org/releases/telepathy-qt4/%{name}-%{version}.tar.gz
12 # Source0-md5:  b93f03f063d784855d83e1b3c79a1cc5
13 Patch0:         %{name}-build.patch
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}
18 BuildRequires:  QtNetwork-devel >= %{qt_ver}
19 BuildRequires:  QtTest-devel >= %{qt_ver}
20 BuildRequires:  cmake
21 BuildRequires:  pkgconfig
22 BuildRequires:  python-dbus
23 BuildRequires:  python-devel
24 BuildRequires:  python-modules
25 BuildRequires:  python-pygobject
26 BuildRequires:  qt4-build >= %{qt_ver}
27 BuildRequires:  qt4-qmake >= %{qt_ver}
28 BuildRequires:  rpmbuild(macros) >= 1.293
29 BuildRequires:  telepathy-farsight-devel
30 BuildRequires:  telepathy-glib-devel
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Telepathy-Qt4 is a high-level binding for Telepathy.
35
36 %package devel
37 Summary:        Header files for telepathy-qt4 library
38 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki telepathy-qt4
39 Group:          Development/Libraries
40 Requires:       %{name} = %{version}-%{release}
41
42 %description devel
43 Header files for telepathy-qt4 library.
44
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe biblioteki telepathy-qt4
47
48 %prep
49 %setup -q
50 %patch0 -p1
51
52 %build
53 install -d build
54 cd build
55 %cmake \
56         ../
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} -C build install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post   -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS ChangeLog NEWS README
75 %attr(755,root,root) %{_libdir}/libtelepathy-qt4.so.*.*.*
76 %attr(755,root,root) %ghost %{_libdir}/libtelepathy-qt4.so.?
77 %attr(755,root,root) %{_libdir}/libtelepathy-qt4-farsight.so.*.*.*
78 %attr(755,root,root) %ghost %{_libdir}/libtelepathy-qt4-farsight.so.?
79
80 %files devel
81 %defattr(644,root,root,755)
82 %doc doc/html
83 %attr(755,root,root) %{_libdir}/libtelepathy-qt4.so
84 %attr(755,root,root) %{_libdir}/libtelepathy-qt4-farsight.so
85 %{_includedir}/telepathy-1.0
86 %{_pkgconfigdir}/TelepathyQt4.pc
87 %{_pkgconfigdir}/TelepathyQt4Farsight.pc
This page took 0.034778 seconds and 4 git commands to generate.