diff --git a/telepathy-qt.spec b/telepathy-qt.spec index 4e11783..1ba77d0 100644 --- a/telepathy-qt.spec +++ b/telepathy-qt.spec @@ -1,5 +1,5 @@ Name: telepathy-qt -Version: 0.9.5 +Version: 0.9.6.1 Release: 1mamba Summary: A library for Qt-based Telepathy clients Group: Graphical Desktop/Libraries/QT @@ -12,7 +12,9 @@ License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc +BuildRequires: libglib-devel BuildRequires: libqt4-devel +BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel BuildRequires: telepathy-farstream-devel BuildRequires: telepathy-glib-devel @@ -56,16 +58,55 @@ Obsoletes: libtelepathy-qt4-devel %description devel This package contains libraries and header files for developing applications that use %{name}. +%package -n libtelepathy-qt5 +Summary: A library for Qt-based Telepathy clients +Requires: telepathy-mission-control + +%description -n libtelepathy-qt5 +Telepathy is a D-Bus framework for unifying real time communication, including instant messaging, voice calls and video calls. +It abstracts differences between protocols to provide a unified interface for applications. +See the Telepathy website for more information. + +%package -n libtelepathy-qt5-farstream +Summary: Farstream %{name} bindings +Requires: libtelepathy-qt5 = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libtelepathy-qt5-farstream +Farstream %{name} bindings. + +%package -n libtelepathy-qt5-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: libtelepathy-qt5 = %{?epoch:%epoch:}%{version}-%{release} +Requires: libtelepathy-qt5-farstream = %{?epoch:%epoch:}%{version}-%{release} +Provides: libtelepathy-qt5-farstream-devel = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n libtelepathy-qt5-devel +This package contains libraries and header files for developing applications that use %{name}. + %prep %setup -q %build -%cmake -d build +%cmake_kde5 -d build-qt5 \ + -DDESIRED_QT_VERSION=5 \ + -DDISABLE_WERROR=1 \ +%ifarch x86_64 + -DLIB_SUFFIX=64 +%endif + +%make + +cd .. +%cmake -d build \ + -DDISABLE_WERROR=1 %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +%makeinstall -C build-qt5 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -75,7 +116,13 @@ This package contains libraries and header files for developing applications tha %post farstream -p /sbin/ldconfig %postun farstream -p /sbin/ldconfig - + +%post -n libtelepathy-qt5 -p /sbin/ldconfig +%postun -n libtelepathy-qt5 -p /sbin/ldconfig + +%post -n libtelepathy-qt5-farstream -p /sbin/ldconfig +%postun -n libtelepathy-qt5-farstream -p /sbin/ldconfig + %files %defattr(-,root,root) %{_libdir}/libtelepathy-qt4.so.* @@ -87,6 +134,8 @@ This package contains libraries and header files for developing applications tha %files devel %defattr(-,root,root) +%dir %{_includedir}/telepathy-qt4 +%dir %{_includedir}/telepathy-qt4/TelepathyQt/ %{_includedir}/telepathy-qt4/TelepathyQt/ %{_libdir}/libtelepathy-qt4.so %{_libdir}/libtelepathy-qt4-farstream.so @@ -99,7 +148,35 @@ This package contains libraries and header files for developing applications tha %{_libdir}/cmake/TelepathyQt4Service/*.cmake %{_libdir}/pkgconfig/*.pc +%files -n libtelepathy-qt5 +%defattr(-,root,root) +%{_libdir}/libtelepathy-qt5.so.* +%doc AUTHORS COPYING + +%files -n libtelepathy-qt5-farstream +%defattr(-,root,root) +%{_libdir}/libtelepathy-qt5-farstream.so.* + +%files -n libtelepathy-qt5-devel +%defattr(-,root,root) +%dir %{_includedir}/telepathy-qt5 +%dir %{_includedir}/telepathy-qt5/TelepathyQt/ +%{_includedir}/telepathy-qt5/TelepathyQt/ +%{_libdir}/libtelepathy-qt5.so +%{_libdir}/libtelepathy-qt5-farstream.so +%{_libdir}/libtelepathy-qt5-service.a +%dir %{_libdir}/cmake/TelepathyQt5 +%{_libdir}/cmake/TelepathyQt5/*.cmake +%dir %{_libdir}/cmake/TelepathyQt5Farstream +%{_libdir}/cmake/TelepathyQt5Farstream/*.cmake +%dir %{_libdir}/cmake/TelepathyQt5Service +%{_libdir}/cmake/TelepathyQt5Service/*.cmake + %changelog +* Sun Aug 16 2015 Silvan Calarco 0.9.6.1-1mamba +- update to 0.9.6.1 +- qt5 packages + * Thu Sep 18 2014 Automatic Build System 0.9.5-1mamba - automatic version update by autodist