2024-01-05 18:23:23 +01:00
|
|
|
Name: telegram-qt
|
2024-01-05 18:23:23 +01:00
|
|
|
Version: 0.1.0.20200428git
|
2024-01-05 18:23:23 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Qt-based library for Telegram network
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/Kaffeine/telegram-qt
|
|
|
|
## GITSOURCE https://github.com/Kaffeine/telegram-qt.git master
|
|
|
|
Source: https://github.com/Kaffeine/telegram-qt.git/master/telegram-qt-%{version}.tar.bz2
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 18:23:23 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-05 18:23:23 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libqt5-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Qt-based library for Telegram network.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Qt-based library for Telegram network
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
Qt-based library for Telegram network.
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 18:23:23 +01:00
|
|
|
%{_libdir}/libTelegramQt5Core.so.*
|
2024-01-05 18:23:23 +01:00
|
|
|
%{_libdir}/libTelegramQt5Qml.so.*
|
|
|
|
%dir %{_libdir}/qt5/qml/TelegramQt
|
|
|
|
%{_libdir}/qt5/qml/TelegramQt/*
|
2024-01-05 18:23:23 +01:00
|
|
|
%doc LICENSE.LGPL
|
2024-01-05 18:23:23 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/TelegramQt5
|
|
|
|
%dir %{_includedir}/TelegramQt5/TelegramQt
|
|
|
|
%{_includedir}/TelegramQt5/TelegramQt/*
|
2024-01-05 18:23:23 +01:00
|
|
|
%{_libdir}/cmake/TelegramQt5/TelegramQt5*.cmake
|
|
|
|
%{_libdir}/libTelegramQt5Core.so
|
2024-01-05 18:23:23 +01:00
|
|
|
%{_libdir}/libTelegramQt5Qml.so
|
|
|
|
%{_libdir}/pkgconfig/TelegramQt5.pc
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:23:23 +01:00
|
|
|
* Tue Apr 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0.20200428git-1mamba
|
|
|
|
- update to 0.1.0.20200428git
|
|
|
|
|
2024-01-05 18:23:23 +01:00
|
|
|
* Mon Mar 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0.20190318git-1mamba
|
|
|
|
- package created using the webbuild interface
|