layer-shell-qt/layer-shell-qt.spec

93 lines
2.8 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: layer-shell-qt
Version: 5.22.3
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 <silvan.calarco@mambasoft.it>
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 Jul 06 2021 Automatic Build System <autodist@mambasoft.it> 5.22.3-1mamba
- automatic version update by autodist
* Wed Jun 23 2021 Automatic Build System <autodist@mambasoft.it> 5.22.2.1-1mamba
- automatic version update by autodist
* Tue Jun 15 2021 Automatic Build System <autodist@mambasoft.it> 5.22.1-1mamba
- automatic version update by autodist
* Thu Jun 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.22.0-1mamba
- package created using the webbuild interface