diff --git a/libdecor-0.1.1.tar.xz b/libdecor-0.1.1.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..d0f76716633ab25274ef13bb369bf8902b3362c6 Binary files /dev/null and b/libdecor-0.1.1.tar.xz differ diff --git a/libdecor.spec b/libdecor.spec new file mode 100644 index 0000000000000000000000000000000000000000..8634696c5869b490bca6fd47cd80679146c985c3 --- /dev/null +++ b/libdecor.spec @@ -0,0 +1,57 @@ +%define anolis_release 1 +Name: libdecor +Version: 0.1.1 +Release: %{anolis_release}%{?dist} +Summary: Wayland client side decoration library + +License: MIT +URL: https://gitlab.freedesktop.org/libdecor/libdecor +Source: https://gitlab.freedesktop.org/libdecor/libdecor/uploads/ee5ef0f2c3a4743e8501a855d61cb397/%{name}-%{version}.tar.xz + +BuildRequires: gcc +BuildRequires: meson >= 0.47.0 +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(dbus-1) >= 1.0 +BuildRequires: pkgconfig(pangocairo) +BuildRequires: pkgconfig(wayland-client) >= 1.18 +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(wayland-protocols) >= 1.15 + +%description +Libdecor provides a small helper library for providing client side decoration +to Wayland clients. + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%autosetup -p1 + +%build +%meson -Ddemo=false +%meson_build + +%install +%meson_install + +%files +%license LICENSE +%{_libdir}/libdecor-0.so.0* +%dir %{_libdir}/libdecor/ +%dir %{_libdir}/libdecor/plugins-1 +%{_libdir}/libdecor/plugins-1/libdecor-cairo.so + +%files devel +%{_includedir}/libdecor-0/ +%{_libdir}/libdecor-0.so +%{_libdir}/pkgconfig/libdecor-0.pc + +%changelog +* Tue Jan 24 2023 Funda Wang - 0.1.1-1 +- Import package for anolis 23