From 1f585cb07ef3129b7877c01184606090e229dd06 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:10:27 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.2.0-1mamba;Sat Dec 23 2023] --- README.md | 2 ++ libei.spec | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 libei.spec diff --git a/README.md b/README.md index da36e1d..7c53a24 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libei +libei is a library for Emulated Input, primarily aimed at the Wayland stack. + diff --git a/libei.spec b/libei.spec new file mode 100644 index 0000000..0ed0ec5 --- /dev/null +++ b/libei.spec @@ -0,0 +1,75 @@ +Name: libei +Version: 1.2.0 +Release: 1mamba +Summary: A library for Emulated Input, primarily aimed at the Wayland stack +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://gitlab.freedesktop.org/libinput/libei +Source: https://gitlab.freedesktop.org/libinput/libei.git/%{version}/libei-%{version}.tar.bz2 +Source1: https://github.com/nemequ/munit.git/master/munit-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libevdev-devel +BuildRequires: libsystemd-devel +## AUTOBUILDREQ-END +BuildRequires: meson + +%description +libei is a library for Emulated Input, primarily aimed at the Wayland stack. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q -a1 +ln -s ../munit-%{version} subprojects/munit + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libei.so.* +%{_libdir}/libeis.so.* +%{_libdir}/liboeffis.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_bindir}/ei-debug-events +%dir %{_includedir}/libei-1.0 +%{_includedir}/libei-1.0/*.h +%{_libdir}/libei.so +%{_libdir}/libeis.so +%{_libdir}/libmunit.so +%{_libdir}/liboeffis.so +%{_libdir}/pkgconfig/libei-1.0.pc +%{_libdir}/pkgconfig/libeis-1.0.pc +%{_libdir}/pkgconfig/liboeffis-1.0.pc +%doc README.md + +%changelog +* Sat Dec 23 2023 Silvan Calarco 1.2.0-1mamba +- package created using the webbuild interface