58 lines
1.6 KiB
RPMSpec
58 lines
1.6 KiB
RPMSpec
Name: libliftoff
|
|
Version: 0.5.0
|
|
Release: 1mamba
|
|
Summary: Lightweight KMS plane library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://gitlab.freedesktop.org/emersion/libliftoff
|
|
Source: https://gitlab.freedesktop.org/emersion/libliftoff.git/v%{version}/libliftoff-%{version}.tar.bz2
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libdrm-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: meson
|
|
|
|
%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 pick hardware planes for these layers if possible.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%meson_install
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libliftoff.so.*
|
|
%doc LICENSE
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/libliftoff.h
|
|
%{_libdir}/libliftoff.so
|
|
%{_libdir}/pkgconfig/libliftoff.pc
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Sun Mar 23 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-1mamba
|
|
- package created using the webbuild interface
|