]> git.pld-linux.org Git - packages/telepathy-qt4.git/blame - telepathy-qt4.spec
- already includes telepathy-qt4-yell functionality, so Obsolete it
[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
bcc96c2f 43Obsoletes: telepathy-qt4-yell
978e3d8c
AM
44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46%description
bfe5cf24
JB
47Library for Qt4-based Telepathy clients.
48
49%description -l pl.UTF-8
50Biblioteka dla klientów Telepathy opartych na Qt4.
978e3d8c
AM
51
52%package devel
53Summary: Header files for telepathy-qt4 library
54Summary(pl.UTF-8): Pliki nagłówkowe biblioteki telepathy-qt4
55Group: Development/Libraries
56Requires: %{name} = %{version}-%{release}
bfe5cf24
JB
57Requires: QtCore-devel >= %{qt_ver}
58Requires: QtDBus-devel >= %{qt_ver}
bcc96c2f 59Obsoletes: telepathy-qt4-yell-devel
978e3d8c
AM
60
61%description devel
62Header files for telepathy-qt4 library.
63
64%description devel -l pl.UTF-8
65Pliki nagłówkowe biblioteki telepathy-qt4
66
978e3d8c 67%prep
1865d69b 68%setup -q -n %{orgname}-%{version}
978e3d8c
AM
69
70%build
1f9778f5
AM
71install -d build
72cd build
73%cmake \
0f75cb27 74 -DQT_QMAKE_EXECUTABLE_FINDQT=%{_libdir}/qt4/bin/qmake \
1f9778f5
AM
75 ../
76
978e3d8c
AM
77%{__make}
78
79%install
80rm -rf $RPM_BUILD_ROOT
81
1f9778f5
AM
82%{__make} -C build install \
83 DESTDIR=$RPM_BUILD_ROOT
978e3d8c
AM
84
85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%post -p /sbin/ldconfig
89%postun -p /sbin/ldconfig
90
91%files
92%defattr(644,root,root,755)
93%doc AUTHORS ChangeLog NEWS README
d9c999a5 94%attr(755,root,root) %{_libdir}/libtelepathy-qt4.so.*.*.*
bfe5cf24 95%attr(755,root,root) %ghost %{_libdir}/libtelepathy-qt4.so.2
34c867e1 96%attr(755,root,root) %{_libdir}/libtelepathy-qt4-farstream.so.*.*.*
bfe5cf24 97%attr(755,root,root) %ghost %{_libdir}/libtelepathy-qt4-farstream.so.2
978e3d8c
AM
98
99%files devel
100%defattr(644,root,root,755)
101%doc doc/html
102%attr(755,root,root) %{_libdir}/libtelepathy-qt4.so
34c867e1 103%attr(755,root,root) %{_libdir}/libtelepathy-qt4-farstream.so
1865d69b 104%{_libdir}/cmake/TelepathyQt4
34c867e1 105%{_libdir}/cmake/TelepathyQt4Farstream
1865d69b 106%{_includedir}/telepathy-qt4
978e3d8c 107%{_pkgconfigdir}/TelepathyQt4.pc
34c867e1 108%{_pkgconfigdir}/TelepathyQt4Farstream.pc
This page took 0.037912 seconds and 4 git commands to generate.