Search
SailfishOS Open Build Service
>
Projects
>
c
:
telepathy
:
devel
:
tank
>
libqtolm-qt5
> _service:tar_git:libqtolm.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:libqtolm.spec of Package libqtolm-qt5
Name: libqtolm-qt5 Summary: A Qt wrapper for libolm %define version_major 0 %define version_minor 1 %define version_patch 0 Version: 0.1.0+mer.20200213164013.cbdab16 Release: 1 Group: Development/Libraries License: LGPL2.1 URL: https://gitlab.com/b0/libqtolm Source0: %{name}-%{version}.tar.xz Requires: qt5-qtcore Requires: qt5-qtnetwork BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Network) BuildRequires: cmake >= 3.1 BuildRequires: opt-gcc BuildRequires: libolm-devel %description %{summary}. %package devel Summary: Development files for a Qt wrapper for libolm Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libolm-devel %description devel %{summary}. %prep %setup -q %build %define cmake_build %__cmake --build . %define cmake_install DESTDIR=%{?buildroot} %__cmake --build . --target install %cmake \ -DCMAKE_CXX_COMPILER=/opt/gcc/bin/g++ \ -DCMAKE_SHARED_LINKER_FLAGS="-L/opt/gcc/lib -static-libstdc++" \ -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/libqtolm-qt5 \ -DBUILD_SHARED_LIBS=ON %cmake_build %install rm -rf %{buildroot} %cmake_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_libdir}/libQtOlm.so.%{version_major}.%{version_minor}.%{version_patch} %{_libdir}/libQtOlm.so.%{version_major}.%{version_minor} %{_libdir}/libQtOlm.so %files devel %defattr(-,root,root,-) %{_includedir}/libqtolm-qt5 %{_libdir}/libQtOlm.so %{_libdir}/pkgconfig/QtOlm.pc %{_libdir}/cmake/QtOlm