From 2fe077575ddd654e972b2c6337243657feabc8f4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 24 Feb 2024 22:44:46 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.17.1-1mamba;Sat Feb 24 2024] --- README.md | 2 ++ wlroots.spec | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 wlroots.spec diff --git a/README.md b/README.md index 7ef804a..f0bc62d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # wlroots +Pluggable, composable, unopinionated modules for building a Wayland compositor. + diff --git a/wlroots.spec b/wlroots.spec new file mode 100644 index 0000000..c854447 --- /dev/null +++ b/wlroots.spec @@ -0,0 +1,81 @@ +Name: wlroots +Version: 0.17.1 +Release: 1mamba +Summary: Pluggable, composable, unopinionated modules for building a Wayland compositor +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://gitlab.freedesktop.org/wlroots +Source: https://gitlab.freedesktop.org/wlroots/wlroots.git/%{version}/wlroots-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libdrm-devel +BuildRequires: libglvnd-devel +BuildRequires: libmesa-devel +BuildRequires: libpixman-devel +BuildRequires: libvulkan-devel +BuildRequires: libwayland-devel +BuildRequires: libxcb-devel +BuildRequires: libxcb-render-util-devel +BuildRequires: libxcb-util-wm-devel +BuildRequires: libxkbcommon-devel +## AUTOBUILDREQ-END +BuildRequires: meson +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +Pluggable, composable, unopinionated modules for building a Wayland compositor. + +%package -n lib%{name} +Group: System/Libraries +Summary: Pluggable, composable, unopinionated modules for building a Wayland compositor + +%description -n lib%{name} +Pluggable, composable, unopinionated modules for building a Wayland compositor. +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 +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%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}/libwlroots.so.* +%doc LICENSE + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/wlr +%{_includedir}/wlr/* +%{_libdir}/libwlroots.so +%{_libdir}/pkgconfig/wlroots.pc +%doc README.md + +%changelog +* Sat Feb 24 2024 Silvan Calarco 0.17.1-1mamba +- package created using the webbuild interface