From 12a2e8c89f8ed5a7e1e94ce6584aee36ea6fd8ed Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 13 Dec 2024 03:42:03 +0000 Subject: automatic import of libliftoff --- .gitignore | 1 + libliftoff.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 59 insertions(+) create mode 100644 libliftoff.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..7482378 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libliftoff-v0.5.0.tar.gz 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 - 0.5.0-1 +- Initial rpm diff --git a/sources b/sources new file mode 100644 index 0000000..bc6c11d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +e26483537eea0db5469b71c783189f74 libliftoff-v0.5.0.tar.gz -- cgit v1.2.3