%define majver %(echo %version | cut -d. -f1-2) Name: kwayland-server Version: 5.19.1 Release: 1mamba Summary: KDE Frameworks 5 Wayland server Group: Graphical Desktop/Applications/Environment Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org Source: https://download.kde.org/stable/plasma/%{version}/kwayland-server-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libGL-devel BuildRequires: libgcc BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel BuildRequires: libwayland-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules BuildRequires: plasma-wayland-protocols BuildRoot: %{_tmppath}/%{name}-%{version}-root %description KDE Frameworks 5 Wayland server. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for KDE Frameworks 5 Wayland server Requires: plasma-wayland-protocols %description -n lib%{name} KDE Frameworks 5 Wayland server. 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} /sbin/ldconfig exit 0 %postun -n lib%{name} /sbin/ldconfig exit 0 %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libKWaylandServer.so.* %{_datadir}/qlogging-categories5/kwaylandserver.categories %doc COPYING.LIB %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/KWaylandServer %{_includedir}/KWaylandServer/*.h %{_includedir}/kwaylandserver_version.h %{_libdir}/libKWaylandServer.so %dir %{_libdir}/cmake/KWaylandServer %{_libdir}/cmake/KWaylandServer/KWaylandServer*.cmake %changelog * Wed Jun 17 2020 Automatic Build System 5.19.1-1mamba - automatic version update by autodist * Thu Jun 11 2020 Silvan Calarco 5.19.0-1mamba - package created using the webbuild interface