package created using the webbuild interface [release 0.1.0.20190318git-1mamba;Mon Mar 18 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 18:23:23 +01:00
parent 1ab3f15f03
commit 96f3448862
2 changed files with 87 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# telegram-qt
Qt-based library for Telegram network.

85
telegram-qt.spec Normal file
View File

@ -0,0 +1,85 @@
Name: telegram-qt
Version: 0.1.0.20190318git
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
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)
%{_libdir}/libTelegramQt5.so.*
%{_libdir}/libTelegramQt5Qml.so.*
%dir %{_libdir}/qt5/qml/TelegramQt
%{_libdir}/qt5/qml/TelegramQt/*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/TelegramQt5
%dir %{_includedir}/TelegramQt5/TelegramQt
%{_includedir}/TelegramQt5/TelegramQt/*
%{_libdir}/cmake/TelegramQt5/TelegramQt5Config.cmake
%{_libdir}/cmake/TelegramQt5/TelegramQt5ConfigVersion.cmake
%{_libdir}/libTelegramQt5.so
%{_libdir}/libTelegramQt5Qml.so
%{_libdir}/pkgconfig/TelegramQt5.pc
%doc README.md
%changelog
* Mon Mar 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0.20190318git-1mamba
- package created using the webbuild interface