]> git.pld-linux.org Git - packages/libdecor.git/blame - libdecor.spec
- pl
[packages/libdecor.git] / libdecor.spec
CommitLineData
1920bfc1 1Summary: A client-side decorations library for Wayland client
e0fd771d 2Summary(pl.UTF-8): Biblioteka dekoracji po stronie klienta dla klientów Wayland
1920bfc1
JP
3Name: libdecor
4Version: 0.1.1
5Release: 1
6License: MIT
7Group: Libraries
e0fd771d 8#Source0Download: https://gitlab.freedesktop.org/libdecor/libdecor/-/releases
1920bfc1
JP
9Source0: https://gitlab.freedesktop.org/libdecor/libdecor/uploads/ee5ef0f2c3a4743e8501a855d61cb397/%{name}-%{version}.tar.xz
10# Source0-md5: 7201e594958075d125e6f372d1cf56d7
11URL: https://gitlab.freedesktop.org/libdecor/libdecor
12BuildRequires: cairo-devel
13BuildRequires: dbus-devel >= 1.0
14BuildRequires: meson >= 0.47.0
15BuildRequires: ninja
16BuildRequires: pango-devel
17BuildRequires: pkgconfig
18BuildRequires: rpmbuild(macros) >= 1.736
19BuildRequires: tar >= 1:1.22
20BuildRequires: wayland-devel >= 1.18
21BuildRequires: wayland-protocols >= 1.15
22BuildRequires: xz
23Requires: wayland >= 1.18
24Suggests: %{name}-plugin-cairo = %{version}-%{release}
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28libdecor is a library that can help Wayland clients draw window
29decorations for them. It aims to provide multiple backends that
30implements the decoration drawing.
31
e0fd771d
JB
32%description -l pl.UTF-8
33libdecor to biblioteka pomagająca klientom Wayland rysować dekoracje
34okien. Celem jest dostarczenie wielu backendów implementujących
35rysowanie dekoracji.
36
1920bfc1
JP
37%package devel
38Summary: Development files for libdecor
e0fd771d 39Summary(pl.UTF-8): Pliki programistyczne libdecor
1920bfc1
JP
40Group: Development/Libraries
41Requires: %{name} = %{version}-%{release}
42
43%description devel
44This package contains the header files for developing applications
45that use libdecor.
46
e0fd771d
JB
47%description devel -l pl.UTF-8
48Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
49wykorzystujących libdecor.
50
1920bfc1
JP
51%package plugin-cairo
52Summary: Cairo plugin for libdecor
e0fd771d 53Summary(pl.UTF-8): Wtyczka Cairo do libdecor
1920bfc1
JP
54Requires: %{name} = %{version}-%{release}
55
56%description plugin-cairo
57Cairo plugin for libdecor.
58
e0fd771d
JB
59%description plugin-cairo -l pl.UTF-8
60Wtyczka Cairo do libdecor.
61
1920bfc1
JP
62%prep
63%setup -q
64
65%build
66%meson build \
67 -Ddemo=false
68
69%ninja_build -C build
70
71%install
72rm -rf $RPM_BUILD_ROOT
73
74%ninja_install -C build
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%files
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
89
90%files devel
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
96
97%files plugin-cairo
98%defattr(644,root,root,755)
99%attr(755,root,root) %{_libdir}/libdecor/plugins-1/libdecor-cairo.so
This page took 0.152565 seconds and 4 git commands to generate.