2019-09-30 10:55:56 -04:00
|
|
|
Name: libevdev
|
2022-04-17 00:11:05 +08:00
|
|
|
Version: 1.12.1
|
|
|
|
|
Release: 1
|
2019-09-30 10:55:56 -04:00
|
|
|
Summary: Library for handling evdev kernel devices
|
2021-12-01 10:06:03 +08:00
|
|
|
License: MIT
|
2019-09-30 10:55:56 -04:00
|
|
|
URL: http://www.freedesktop.org/wiki/Software/libevdev
|
|
|
|
|
Source0: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: git-core automake libtool gcc python3 python3-devel
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Library for handling evdev kernel devices. It abstracts the ioctls
|
|
|
|
|
through type-safe interfaces and provides functions to change the
|
|
|
|
|
appearance of the device.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development Package
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Development Package for %{name}.
|
|
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
|
Summary: Utilities Package
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
|
Utilities to handle and/or debug evdev devices for %{name}.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1 -Sgit
|
|
|
|
|
|
|
|
|
|
pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python.*')
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -ivf
|
|
|
|
|
%configure --disable-silent-rules --disable-gcov
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc COPYING
|
|
|
|
|
%{_libdir}/libevdev.so.*
|
|
|
|
|
%exclude %{_libdir}/libevdev.a
|
|
|
|
|
%exclude %{_libdir}/libevdev.la
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/libevdev-1.0/libevdev/libevdev.h
|
|
|
|
|
%{_includedir}/libevdev-1.0/libevdev/libevdev-uinput.h
|
|
|
|
|
%{_libdir}/libevdev.so
|
|
|
|
|
%{_libdir}/pkgconfig/libevdev.pc
|
|
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
|
%{_bindir}/touchpad-edge-detector
|
|
|
|
|
%{_bindir}/mouse-dpi-tool
|
|
|
|
|
%{_bindir}/libevdev-tweak-device
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man3/libevdev.3*
|
2021-01-30 17:13:10 +08:00
|
|
|
%{_mandir}/man1/libevdev-tweak-device.1*
|
|
|
|
|
%{_mandir}/man1/touchpad-edge-detector.1*
|
2019-09-30 10:55:56 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2022-04-17 00:11:05 +08:00
|
|
|
* Sun Apr 17 2022 Liu Zixian <liuzixian4@huawei.com> - 1.12.1-1
|
|
|
|
|
- Update to 1.12.1
|
|
|
|
|
|
2021-12-01 10:06:03 +08:00
|
|
|
* Wed Dec 1 2021 zhouwenpei <zhouwenpei1@huawei.com> - 1.11.0-2
|
|
|
|
|
- fix license in src and in spec are not same
|
|
|
|
|
|
2021-11-30 11:45:40 +08:00
|
|
|
* Tue Nov 30 2021 zhouwenpei <zhouwenpei1@huawei.com> - 1.11.0-1
|
|
|
|
|
- update to 1.11.0
|
|
|
|
|
|
2021-01-30 17:13:10 +08:00
|
|
|
* Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 1.10.1-1
|
2021-11-30 11:45:40 +08:00
|
|
|
- update to 1.10.1
|
2021-01-30 17:13:10 +08:00
|
|
|
|
2020-07-23 04:31:10 +00:00
|
|
|
* Thu Jul 22 2020 jinzhimin <jinzhimin2@huawei.com> - 1.8.0-2
|
|
|
|
|
- delete old tar file
|
|
|
|
|
|
2020-07-20 16:11:18 +08:00
|
|
|
* Thu Jul 16 2020 dingyue <dingyue5@openeuler.org> - 1.8.0-1
|
|
|
|
|
- Package update
|
2021-01-30 17:13:10 +08:00
|
|
|
|
2019-09-30 10:55:56 -04:00
|
|
|
* Tue Aug 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5.9-6
|
|
|
|
|
- Package init
|