]> git.pld-linux.org Git - packages/telepathy-qt4.git/blame - telepathy-qt4.spec
- completed dependencies
[packages/telepathy-qt4.git] / telepathy-qt4.spec
CommitLineData
d9c999a5 1
1865d69b 2%define orgname telepathy-qt
1f9778f5 3%define qt_ver 4.8.2
d9c999a5 4
bfe5cf24
JB
5Summary: Library for Qt4-based Telepathy clients
6Summary(pl.UTF-8): Biblioteka dla klientów Telepathy opartych na Qt4
978e3d8c 7Name: telepathy-qt4
1865d69b 8Version: 0.9.3
34c867e1 9Release: 3
978e3d8c
AM
10License: LGPL v2.1
11Group: X11/Applications
1865d69b
AM
12Source0: http://telepathy.freedesktop.org/releases/telepathy-qt/%{orgname}-%{version}.tar.gz
13# Source0-md5: 94ac93aedf5f6fff49837bc8368e5a37
978e3d8c
AM
14URL: http://telepathy.freedesktop.org/wiki/Telepathy-Qt4
15BuildRequires: QtCore-devel >= %{qt_ver}
16BuildRequires: QtDBus-devel >= %{qt_ver}
17BuildRequires: QtGui-devel >= %{qt_ver}
d9c999a5 18BuildRequires: QtNetwork-devel >= %{qt_ver}
bfe5cf24 19BuildRequires: QtXml-devel >= %{qt_ver}
d9c999a5 20BuildRequires: QtTest-devel >= %{qt_ver}
bfe5cf24
JB
21BuildRequires: cmake >= 2.6
22BuildRequires: dbus-devel
23BuildRequires: dbus-glib-devel
24BuildRequires: farstream-devel >= 0.1.0
25BuildRequires: glib2-devel >= 2.0
26BuildRequires: libxml2-devel >= 2.0
978e3d8c 27BuildRequires: pkgconfig
e521664a 28BuildRequires: python-dbus
bfe5cf24
JB
29BuildRequires: python-devel >= 1:2.5
30BuildRequires: python-modules >= 1:2.5
e521664a 31BuildRequires: python-pygobject
978e3d8c
AM
32BuildRequires: qt4-build >= %{qt_ver}
33BuildRequires: qt4-qmake >= %{qt_ver}
34BuildRequires: rpmbuild(macros) >= 1.293
34c867e1 35BuildRequires: telepathy-farstream-devel >= 0.2.2
1865d69b 36BuildRequires: telepathy-glib-devel >= 0.19.5
bfe5cf24
JB
37Requires: QtCore >= %{qt_ver}
38Requires: QtDBus >= %{qt_ver}
39Requires: QtNetwork >= %{qt_ver}
40Requires: QtXml >= %{qt_ver}
41Requires: telepathy-farstream >= 0.2.2
42Requires: telepathy-glib >= 0.19.5
978e3d8c
AM
43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45%description
bfe5cf24
JB
46Library for Qt4-based Telepathy clients.
47
48%description -l pl.UTF-8
49Biblioteka dla klientów Telepathy opartych na Qt4.
978e3d8c
AM
50
51%package devel
52Summary: Header files for telepathy-qt4 library
53Summary(pl.UTF-8): Pliki nagłówkowe biblioteki telepathy-qt4
54Group: Development/Libraries
55Requires: %{name} = %{version}-%{release}
bfe5cf24
JB
56Requires: QtCore-devel >= %{qt_ver}
57Requires: QtDBus-devel >= %{qt_ver}
978e3d8c
AM
58
59%description devel
60Header files for telepathy-qt4 library.
61
62%description devel -l pl.UTF-8
63Pliki nagłówkowe biblioteki telepathy-qt4
64
978e3d8c 65%prep
1865d69b 66%setup -q -n %{orgname}-%{version}
978e3d8c
AM
67
68%build
1f9778f5
AM
69install -d build
70cd build
71%cmake \
0f75cb27 72 -DQT_QMAKE_EXECUTABLE_FINDQT=%{_libdir}/qt4/bin/qmake \
1f9778f5
AM
73 ../
74
978e3d8c
AM
75%{__make}
76
77%install
78rm -rf $RPM_BUILD_ROOT
79
1f9778f5
AM
80%{__make} -C build install \
81 DESTDIR=$RPM_BUILD_ROOT
978e3d8c
AM
82
83%clean
84rm -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
This page took 0.096635 seconds and 4 git commands to generate.