From 57fc821f102b269b0ff5a22bb036533b5297f9f6 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 03:33:41 +0100 Subject: [PATCH] automatic version update by autodist [release 5.22.1-1mamba;Tue Jun 15 2021] --- README.md | 2 ++ layer-shell-qt.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 layer-shell-qt.spec diff --git a/README.md b/README.md index f2f2ca5..6ae07b8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # layer-shell-qt +This component is meant for applications to be able to easily use clients based on wlr-layer-shell. + diff --git a/layer-shell-qt.spec b/layer-shell-qt.spec new file mode 100644 index 0000000..898fbb9 --- /dev/null +++ b/layer-shell-qt.spec @@ -0,0 +1,86 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: layer-shell-qt +Version: 5.22.1 +Release: 1mamba +Summary: KDE Plasma component meant for applications to be able to easily use clients based on wlr-layer-shell +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://kde.org +Source: https://download.kde.org/stable/plasma/%{version}/layer-shell-qt-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +BuildRequires: libwayland-devel +BuildRequires: libxkbcommon-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +This component is meant for applications to be able to easily use clients based on wlr-layer-shell. + +%package -n lib%{name} +Group: System/Libraries +Summary: KDE Plasma component meant for applications to be able to easily use clients based on wlr-layer-shell + +%description -n lib%{name} +This component is meant for applications to be able to easily use clients based on wlr-layer-shell. +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} + +%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_kde5 -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}/libLayerShellQtInterface.so.* +%{_libdir}/qt5/plugins/wayland-shell-integration/liblayer-shell.so +%doc LICENSES + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/LayerShellQt +%{_includedir}/LayerShellQt/* +%dir %{_libdir}/cmake/LayerShellQt +%{_libdir}/cmake/LayerShellQt/LayerShellQt*.cmake +%{_libdir}/libLayerShellQtInterface.so + +%changelog +* Tue Jun 15 2021 Automatic Build System 5.22.1-1mamba +- automatic version update by autodist + +* Thu Jun 10 2021 Silvan Calarco 5.22.0-1mamba +- package created using the webbuild interface