diff --git a/README.md b/README.md index 7be35f3..9ab784b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libdecor +A client-side decorations library for Wayland client. + diff --git a/libdecor.spec b/libdecor.spec new file mode 100644 index 0000000..6edefd4 --- /dev/null +++ b/libdecor.spec @@ -0,0 +1,69 @@ +Name: libdecor +Version: 0.1.1 +Release: 1mamba +Summary: A client-side decorations library for Wayland client +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://gitlab.freedesktop.org/libdecor/libdecor +Source: https://gitlab.freedesktop.org/libdecor/libdecor.git/%{version}/libdecor-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libcairo-devel +BuildRequires: libdbus-devel +BuildRequires: libglib-devel +BuildRequires: libpango-devel +BuildRequires: libwayland-devel +## AUTOBUILDREQ-END + +%description +A client-side decorations library for Wayland client. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +A client-side decorations library for Wayland client. +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 -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libdecor-0.so.* +%{_libdir}/libdecor/plugins-1/libdecor-cairo.so +%doc LICENSE + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libdecor-0 +%{_includedir}/libdecor-0/libdecor.h +%{_libdir}/libdecor-0.so +%{_libdir}/pkgconfig/libdecor-0.pc +%doc README.md + +%changelog +* Mon Dec 12 2022 Silvan Calarco 0.1.1-1mamba +- package created using the webbuild interface