diff options
Diffstat (limited to 'libliftoff.spec')
-rw-r--r-- | libliftoff.spec | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/libliftoff.spec b/libliftoff.spec new file mode 100644 index 0000000..e82b502 --- /dev/null +++ b/libliftoff.spec @@ -0,0 +1,57 @@ +Name: libliftoff +Version: 0.5.0 +Release: 1 +Summary: Lightweight KMS plane library + +License: MIT +URL: https://gitlab.freedesktop.org/emersion/libliftoff +Source0: %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.gz + +BuildRequires: meson >= 0.52.0 +BuildRequires: ninja-build +BuildRequires: gcc +BuildRequires: pkgconfig(libdrm) >= 2.4.108 + +%description +libliftoff eases the use of KMS planes from userspace without +standing in your way. Users create "virtual planes" called +layers, set KMS properties on them, and libliftoff will +allocate planes for these layers if possible. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%autosetup -p1 -n %{name}-v%{version} + + +%build +%meson +%meson_build + + +%install +%meson_install + + +%files +%license LICENSE +%doc README.md +%{_libdir}/*.so.0* + +%files devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + + +%changelog +* Fri Dec 13 2024 lichaoran <pkwarcraft@hotmail.com> - 0.5.0-1 +- Initial rpm |