1 Summary: A client-side decorations library for Wayland client
2 Summary(pl.UTF-8): Biblioteka dekoracji po stronie klienta dla klientów Wayland
8 #Source0Download: https://gitlab.freedesktop.org/libdecor/libdecor/-/releases
9 Source0: https://gitlab.freedesktop.org/libdecor/libdecor/uploads/ee5ef0f2c3a4743e8501a855d61cb397/%{name}-%{version}.tar.xz
10 # Source0-md5: 7201e594958075d125e6f372d1cf56d7
11 URL: https://gitlab.freedesktop.org/libdecor/libdecor
12 BuildRequires: cairo-devel
13 BuildRequires: dbus-devel >= 1.0
14 BuildRequires: meson >= 0.47.0
16 BuildRequires: pango-devel
17 BuildRequires: pkgconfig
18 BuildRequires: rpmbuild(macros) >= 1.736
19 BuildRequires: tar >= 1:1.22
20 BuildRequires: wayland-devel >= 1.18
21 BuildRequires: wayland-protocols >= 1.15
23 Requires: wayland >= 1.18
24 Suggests: %{name}-plugin-cairo = %{version}-%{release}
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 libdecor is a library that can help Wayland clients draw window
29 decorations for them. It aims to provide multiple backends that
30 implements the decoration drawing.
32 %description -l pl.UTF-8
33 libdecor to biblioteka pomagająca klientom Wayland rysować dekoracje
34 okien. Celem jest dostarczenie wielu backendów implementujących
38 Summary: Development files for libdecor
39 Summary(pl.UTF-8): Pliki programistyczne libdecor
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
44 This package contains the header files for developing applications
47 %description devel -l pl.UTF-8
48 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
49 wykorzystujących libdecor.
52 Summary: Cairo plugin for libdecor
53 Summary(pl.UTF-8): Wtyczka Cairo do libdecor
54 Requires: %{name} = %{version}-%{release}
56 %description plugin-cairo
57 Cairo plugin for libdecor.
59 %description plugin-cairo -l pl.UTF-8
60 Wtyczka Cairo do libdecor.
72 rm -rf $RPM_BUILD_ROOT
74 %ninja_install -C build
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
83 %defattr(644,root,root,755)
84 %doc LICENSE README.md
85 %attr(755,root,root) %{_libdir}/libdecor-0.so.*.*.*
86 %attr(755,root,root) %ghost %{_libdir}/libdecor-0.so.0
87 %dir %{_libdir}/libdecor
88 %dir %{_libdir}/libdecor/plugins-1
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/libdecor-0.so
93 %dir %{_includedir}/libdecor-0
94 %{_includedir}/libdecor-0/libdecor.h
95 %{_pkgconfigdir}/libdecor-0.pc
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libdecor/plugins-1/libdecor-cairo.so