From bea1f8075cfdabaae3b4848a4119b323533c9189 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:56:51 +0100 Subject: [PATCH] package created using the webbuild interface [release 5.0.0-1mamba;Mon Apr 01 2019] --- README.md | 2 ++ libkvkontakte.spec | 87 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 libkvkontakte.spec diff --git a/README.md b/README.md index 9a4ec6d..6d76604 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libkvkontakte +LibKVkontakte is a Qt5/KDE5-based C++ library implementing job classes for asynchronous interation with the VK social networking site (vk.com). + diff --git a/libkvkontakte.spec b/libkvkontakte.spec new file mode 100644 index 0000000..635791a --- /dev/null +++ b/libkvkontakte.spec @@ -0,0 +1,87 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: libkvkontakte +Version: 5.0.0 +Release: 1mamba +Summary: KDE Frameworks 5 library for interation with the VK social networking site +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.kde.org +Source: https://download.kde.org/stable/libkvkontakte/%{version}/src/libkvkontakte-%{version}.tar.xz +# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libQt5WebKit-devel +BuildRequires: libgcc +BuildRequires: libkconfig-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libkdewebkit-devel +BuildRequires: libki18n-devel +BuildRequires: libkio-devel +BuildRequires: libkservice-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +LibKVkontakte is a Qt5/KDE5-based C++ library implementing job classes for asynchronous interation with the VK social networking site (vk.com). + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%cmake_kde5 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +/sbin/ldconfig +exit 0 + +%postun +/sbin/ldconfig +exit 0 + +%files -f %{name}5_qt.lang +%defattr(-,root,root) +%{_kde5_libdir}/libKF5Vkontakte.so.* +%doc COPYING COPYING.LIB + +%files devel +%defattr(-,root,root) +%dir %{_kde5_includedir}/Vkontakte +%{_kde5_includedir}/Vkontakte/* +%{_kde5_includedir}/kf5vkontakte_version.h +%{_kde5_libdir}/libKF5Vkontakte.so +%dir %{_kde5_libdir}/cmake/KF5Vkontakte +%{_kde5_libdir}/cmake/KF5Vkontakte/KF5Vkontakte*.cmake + +%changelog +* Mon Apr 01 2019 Silvan Calarco 5.0.0-1mamba +- package created using the webbuild interface