package created using the webbuild interface [release 5.19.0-1mamba;Thu Jun 11 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 03:25:23 +01:00
parent cec3bf1ae6
commit b7ea332dd7
2 changed files with 92 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# kwayland-server # kwayland-server
KDE Frameworks 5 Wayland server.

90
kwayland-server.spec Normal file
View File

@ -0,0 +1,90 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: kwayland-server
Version: 5.19.0
Release: 1mamba
Summary: KDE Frameworks 5 Wayland server
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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
* Thu Jun 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.19.0-1mamba
- package created using the webbuild interface