]> git.pld-linux.org Git - packages/wlroots.git/blame - wlroots.spec
up to 0.13.0 (new soname)
[packages/wlroots.git] / wlroots.spec
CommitLineData
ed3567b5
JP
1Summary: A modular Wayland compositor library
2Name: wlroots
20723c1a 3Version: 0.13.0
ed3567b5
JP
4Release: 1
5License: MIT
6Group: Libraries
7Source0: https://github.com/swaywm/wlroots/releases/download/%{version}/%{name}-%{version}.tar.gz
20723c1a 8# Source0-md5: 614bfd6dfb47e86699d0215646519ad6
378d42d3 9Patch0: x32.patch
ed3567b5
JP
10URL: https://github.com/swaywm/wlroots
11BuildRequires: EGL-devel
12BuildRequires: Mesa-libgbm-devel >= 17.1.0
13BuildRequires: OpenGLESv2-devel
14BuildRequires: libdrm-devel >= 2.4.95
20723c1a
JP
15BuildRequires: libinput-devel >= 1.14.0
16BuildRequires: libuuid-devel
ed3567b5 17BuildRequires: libxcb-devel
20723c1a 18BuildRequires: meson >= 0.56.0
ed3567b5
JP
19BuildRequires: ninja
20BuildRequires: pixman-devel
21BuildRequires: pkgconfig
22BuildRequires: rpmbuild(macros) >= 1.736
23BuildRequires: systemd-devel >= 237
24BuildRequires: udev-devel
20723c1a 25BuildRequires: wayland-devel >= 1.19
ed3567b5
JP
26BuildRequires: wayland-protocols >= 1.17
27BuildRequires: xcb-util-wm-devel
28BuildRequires: xorg-lib-libxkbcommon-devel
29Requires: Mesa-libgbm >= 17.1.0
30Requires: libdrm >= 2.4.95
20723c1a 31Requires: libinput >= 1.14.0
ed3567b5
JP
32Requires: wayland >= 1.18
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36Pluggable, composable, unopinionated modules for building a Wayland
37compositor; or about 50,000 lines of code you were going to write
38anyway.
39- wlroots provides backends that abstract the underlying display and
40 input hardware, including KMS/DRM, libinput, Wayland, X11, and
41 headless backends, plus any custom backends you choose to write, which
42 can all be created or destroyed at runtime and used in concert with
43 each other.
44- wlroots provides unopinionated, mostly standalone implementations of
45 many Wayland interfaces, both from wayland.xml and various protocol
46 extensions. We also promote the standardization of portable extensions
47 across many compositors.
48- wlroots provides several powerful, standalone, and optional tools
49 that implement components common to many compositors, such as the
50 arrangement of outputs in physical space.
51- wlroots provides an Xwayland abstraction that allows you to have
52 excellent Xwayland support without worrying about writing your own X11
53 window manager on top of writing your compositor.
54- wlroots provides a renderer abstraction that simple compositors can
55 use to avoid writing GL code directly, but which steps out of the way
56 when your needs demand custom rendering code.
57
58%package devel
59Summary: Header files for wlroots library
60Group: Development/Libraries
61Requires: %{name} = %{version}-%{release}
62Requires: EGL-devel
63Requires: Mesa-libgbm-devel >= 17.1.0
64Requires: OpenGLESv2-devel
65Requires: libdrm-devel >= 2.4.95
20723c1a 66Requires: libinput-devel >= 1.14.0
ed3567b5
JP
67Requires: libxcb-devel
68Requires: pixman-devel
69Requires: systemd-devel >= 237
70Requires: udev-devel
20723c1a 71Requires: wayland-devel >= 1.19
ed3567b5
JP
72Requires: wayland-protocols >= 1.17
73Requires: xcb-util-wm-devel
74Requires: xorg-lib-libxkbcommon-devel
75
76%description devel
77Header files for wlroots library.
78
79%package static
80Summary: Static wlroots library
81Group: Development/Libraries
82Requires: %{name}-devel = %{version}-%{release}
83
84%description static
85Static wlroots library.
86
87%prep
88%setup -q
378d42d3 89%patch0 -p1
ed3567b5
JP
90
91%build
92%meson build
93%ninja_build -C build
94
95%install
96rm -rf $RPM_BUILD_ROOT
97%ninja_install -C build
98
99%clean
100rm -rf $RPM_BUILD_ROOT
101
102%post -p /sbin/ldconfig
103%postun -p /sbin/ldconfig
104
105%files
106%defattr(644,root,root,755)
107%doc CONTRIBUTING.md README.md
20723c1a 108%attr(755,root,root) %{_libdir}/libwlroots.so.8
ed3567b5
JP
109
110%files devel
111%defattr(644,root,root,755)
112%attr(755,root,root) %{_libdir}/libwlroots.so
113%{_includedir}/wlr
114%{_pkgconfigdir}/wlroots.pc
115
116%files static
117%defattr(644,root,root,755)
118%{_libdir}/libwlroots.a
This page took 0.100133 seconds and 4 git commands to generate.