summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-12-13 03:42:03 +0000
committerCoprDistGit <infra@openeuler.org>2024-12-13 03:42:03 +0000
commit12a2e8c89f8ed5a7e1e94ce6584aee36ea6fd8ed (patch)
tree559db7d354a86d4dc3653193223a2b93cf40a3a1
parent779f3a1eb531c0d7195f32ed797f91b417794294 (diff)
automatic import of libliftoffopeneuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--libliftoff.spec57
-rw-r--r--sources1
3 files changed, 59 insertions, 0 deletions
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 <pkwarcraft@hotmail.com> - 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