summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-12-12 02:20:39 +0000
committerCoprDistGit <infra@openeuler.org>2024-12-12 02:20:39 +0000
commitc1b9427d75711f1e7c26f37be88de23dc186cad1 (patch)
treeb3d985d0afbf70ca748a26e8a947f0b2bb0a7fc5
parent87d0f092a8481c4adfb0797e3e3879162fbdd0ef (diff)
automatic import of libinputopeneuler24.09openeuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--libinput.spec116
-rw-r--r--sources1
3 files changed, 118 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a235686 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libinput-1.27.0.tar.bz2
diff --git a/libinput.spec b/libinput.spec
new file mode 100644
index 0000000..2a20110
--- /dev/null
+++ b/libinput.spec
@@ -0,0 +1,116 @@
+Name: libinput
+Version: 1.27.0
+Release: 1
+Summary: Input device management and event handling library
+License: MIT
+URL: https://gitlab.freedesktop.org/libinput/libinput/-/releases
+Source0: https://gitlab.freedesktop.org/libinput/libinput/-/archive/%{version}/libinput-%{version}.tar.bz2
+
+BuildRequires: gcc
+BuildRequires: meson >= 0.56.0
+BuildRequires: pkgconfig(libevdev)
+BuildRequires: pkgconfig(libudev)
+BuildRequires: pkgconfig(libwacom) >= 0.27
+BuildRequires: pkgconfig(mtdev) >= 1.1.0
+BuildRequires: python3-devel
+
+%description
+libinput is a library to handle input devices in Wayland compositors and to provide
+a generic X.Org input driver.It provides device detection, device handling, input
+device event processing and abstraction so minimize the amount of custom input code
+compositors need to provide the common set of functionality that users expect.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name} = %{version}-%{release}
+Requires: libudev-devel
+
+%description devel
+The %{name}-devel package provide libraries and header files for
+developing applications that use %{name}.
+
+%package utils
+Summary: Development files for %{name}
+Requires: %{name} = %{version}-%{release}
+Requires: python3-evdev python3-pyudev
+
+%description utils
+The %{name}-utils package provide tools for debuging.
+
+%package_help
+
+%global udevdir /usr/lib/udev/
+
+%prep
+%autosetup -n %{name}-%{version} -p0
+
+%build
+%meson -Ddebug-gui=false -Ddocumentation=false -Dtests=false -Dudev-dir=%{udevdir}
+%meson_build
+
+%install
+%meson_install
+
+%files
+%license COPYING
+%{_libdir}/libinput.so.*
+%{udevdir}/libinput-device-group
+%{udevdir}/libinput-fuzz-extract
+%{udevdir}/libinput-fuzz-to-zero
+%{udevdir}/rules.d/80-libinput-device-groups.rules
+%{udevdir}/rules.d/90-libinput-fuzz-override.rules
+%{_bindir}/libinput
+%dir %{_libexecdir}/libinput/
+%{_libexecdir}/libinput/libinput-debug-events
+%{_libexecdir}/libinput/libinput-list-devices
+%{_datadir}/libinput/*.quirks
+%{_datadir}/zsh/site-functions/_libinput
+
+%files devel
+%{_includedir}/libinput.h
+%{_libdir}/libinput.so
+%{_libdir}/pkgconfig/libinput.pc
+
+%files utils
+%{_libexecdir}/libinput/*
+%exclude %{_libexecdir}/libinput/libinput-{debug-events,list-devices}
+
+%files help
+%{_mandir}/man1/*
+
+%changelog
+* Thu Nov 21 2024 Funda Wang <fundawang@yeah.net> - 1.27.0-1
+- update to 1.27.0
+
+* Mon Aug 19 2024 Funda Wang <fundawang@yeah.net> - 1.26.2-1
+- update to 1.26.2
+
+* Fri Mar 01 2024 GuoCe <guoce@kylinos.cn> 1.25.0-1
+- update to 1.25.0
+
+* Tue Feb 06 2024 taoyuxiang <taoyuxiang2@huawei.com> - 1.24.0-1
+- update to 1.24.0
+
+* Fri Feb 10 2023 Liu Yuntao <liuyuntao10@huawei.com> - 1.22.1-1
+- update to 1.22.1, and update upstream URL
+
+* Tue Jun 7 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.19.2-2
+- fix CVE-2022-1215
+
+* Tue Nov 30 2021 zhouwenpei <zhouwenpei1@huawei.com> - 1.19.2-1
+- update to 1.19.2
+
+* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.16.4-2
+- DESC: delete -Sgit from %autosetup, and delete BuildRequires git-core
+
+* Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 1.16.4-1
+- update to 1.16.4
+
+* Thu Jul 23 2020 jinzhimin <jinzhimin2@huawei.com> - 1.15.6-2
+- delete old tar file
+
+* Thu Jul 16 2020 dingyue <dingyue5@openeuler.org> - 1.15.6-1
+- Package update
+
+* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.14.1-2
+- Package init
diff --git a/sources b/sources
new file mode 100644
index 0000000..6dfa4f7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+bd7fe3be2faf8c318af8c3940ca26cd4 libinput-1.27.0.tar.bz2