Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
server:messaging
libtelegramqml
libtelegramqml.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libtelegramqml.spec of Package libtelegramqml
# # spec file for package libtelegramqml # # Copyright (c) 2023 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: libtelegramqml Version: 2.0.0+git20180503.761f109 Release: 0 Summary: Telegram API tools for QtQml and Qml License: GPL-3.0-only Group: System/Libraries URL: https://github.com/Aseman-Land/TelegramQML Source: TelegramQML-%{version}.tar.xz Patch: Qt5Telegram.patch BuildRequires: gcc-c++ BuildRequires: libopenssl-devel BuildRequires: libqt5-qtbase-devel BuildRequires: libqt5-qtdeclarative-devel BuildRequires: libqt5-qtmultimedia-devel BuildRequires: libQt5Telegram-devel %description Telegram API tools for QtQML and Qml, based on Cutegram-Core and libqtelegram. %package -n libtelegramqml1 Summary: Shared libraries for TelegramQML Group: System/Libraries %description -n libtelegramqml1 This package provides shared libraries for TelegramQML. %package devel Summary: Development headers for TelegramQML Group: Development/Libraries/C and C++ Requires: libtelegramqml1 = %{version} %description devel This package provides development headers for TelegramQML. %prep %setup -q -n TelegramQML-%{version} %patch -p1 %build mkdir build cd build ls -l /usr/include/qt5 qmake-qt5 -r PREFIX=%{_prefix} \ INSTALL_LIBS_PREFIX=%{_libdir} \ BUILD_MODE+=lib \ QMAKE_CXXFLAGS+="%{optflags}" \ QMAKE_STRIP="/bin/true" \ .. make %install cd build make install INSTALL_ROOT=%{buildroot} %{?_smp_mflags} # install pkgconfig file cat > libtelegramqml.pc <<EOF prefix=%{_prefix} exec_prefix=%{_prefix} libdir=%{_libdir} includedir=%{_includedir} Name: libtelegramqml Version: 2.0.0+git20180503.761f109 Description: Telegram API tools for QtQml and Qml Libs: -L%{_libdir} -ltelegramqml Cflags: -I%{_includedir}/telegramqml EOF mkdir -p %{buildroot}%{_libdir}/pkgconfig install -m 0644 libtelegramqml.pc %{buildroot}%{_libdir}/pkgconfig %post -n libtelegramqml1 -p /sbin/ldconfig %postun -n libtelegramqml1 -p /sbin/ldconfig %files -n libtelegramqml1 %license LICENSE %doc README.md %{_libdir}/libtelegramqml.so.1 %{_libdir}/libtelegramqml.so.1.0 %{_libdir}/libtelegramqml.so.1.0.0 %files devel %{_includedir}/telegramqml/ %{_libdir}/libtelegramqml.so %{_libdir}/pkgconfig/libtelegramqml.pc %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