Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
telepathy-qt5
telepathy-qt5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File telepathy-qt5.spec of Package telepathy-qt5
# # spec file for package telepathy-qt5 # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define libname libtelepathy-qt5 %define major 0 Name: telepathy-qt5 Version: 0.9.6 Release: 0 Summary: Qt4 bindings for the Telepathy Library License: LGPL-2.1+ Group: Development/Tools/Other Url: http://telepathy.freedesktop.org/ Source: http://telepathy.freedesktop.org/releases/telepathy-qt/telepathy-qt-%{version}.tar.gz Source1: baselibs.conf BuildRequires: cmake BuildRequires: dbus-1-python BuildRequires: fdupes # FIXME patch, or make upstream look for qhelpgenerator-qt5 first #BuildRequires: libqt5-qttools-devel #BuildRequires: doxygen BuildRequires: libxml2-devel BuildRequires: python-xml BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(farstream-0.2) BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) BuildRequires: pkgconfig(telepathy-farstream) BuildRequires: pkgconfig(telepathy-glib) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Telepathy-Qt5 is a high-level binding for Telepathy, similar to telepathy-glib but for Qt 5. %package -n %{libname}-%{major} Summary: Library for performing syntax highlighting in Qt documents Group: Development/Tools/Other %description -n %{libname}-%{major} Telepathy-Qt5 is a high-level binding for Telepathy, similar to telepathy-glib but for Qt 5. %package -n %{libname}-farstream%{major} Summary: Library for performing syntax highlighting in Qt documents Group: Development/Tools/Other %description -n %{libname}-farstream%{major} Telepathy-farstream-Qt4 is a high-level binding for Telepathy, similar to telepathy-glib but for Qt 5. %package devel Summary: Header files, libraries and development documentation for %{name} Group: Development/Libraries/C and C++ Provides: %{name}-service-devel-static = %{version} Requires: %{libname}-%{major} = %{version} Requires: %{libname}-farstream%{major} = %{version} Requires: pkgconfig(gstreamer-1.0) Requires: pkgconfig(gstreamer-plugins-base-1.0) %description devel This package contains the header files, static libraries and development documentation for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel. %prep %setup -q -n telepathy-qt-%{version} %build if [ %{_lib} = lib64 ]; then EXTRA_FLAGS="$EXTRA_FLAGS -DLIB_SUFFIX=64" fi mkdir build cd build cmake -DCMAKE_BUILD_TYPE=release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_C_FLAGS="%{optflags}" \ -DCMAKE_CXX_FLAGS="%{optflags}" \ -DENABLE_TESTS=FALSE \ -DENABLE_EXAMPLES=FALSE \ -DENABLE_FARSIGHT=FALSE \ -DENABLE_FARSTREAM=TRUE \ -DDISABLE_WERROR=TRUE \ -DDESIRED_QT_VERSION=5 $EXTRA_FLAGS .. make %{?_smp_mflags} %install %makeinstall -C build %fdupes %{buildroot} %post -n %{libname}-%{major} -p /sbin/ldconfig %postun -n %{libname}-%{major} -p /sbin/ldconfig %post -n %{libname}-farstream%{major} -p /sbin/ldconfig %postun -n %{libname}-farstream%{major} -p /sbin/ldconfig %files -n %{libname}-%{major} %defattr(-,root,root) %{_libdir}/libtelepathy-qt5.so.* %files -n %{libname}-farstream%{major} %defattr(-,root,root) %{_libdir}/libtelepathy-qt5-farstream.so.* %files devel %defattr(-,root,root) %doc AUTHORS ChangeLog README COPYING HACKING NEWS %{_includedir}/telepathy-qt5/ %{_libdir}/libtelepathy-qt5*.so %{_libdir}/libtelepathy-qt5-service.a %{_libdir}/pkgconfig/TelepathyQt5*.pc %{_libdir}/cmake/TelepathyQt5*/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor