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