libei/libei.spec

76 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- package created using the webbuild interface