X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=xorg-driver-input-libinput.spec;h=3223aa3c5b831486b4d700197cffd98ef0871d4f;hb=HEAD;hp=d11507df18d52a75fe73dd249a163f99124f2300;hpb=601a258cca5968c8f8b24b44a0bcd2f5842ea7bd;p=packages%2Fxorg-driver-input-libinput.git diff --git a/xorg-driver-input-libinput.spec b/xorg-driver-input-libinput.spec index d11507d..3223aa3 100644 --- a/xorg-driver-input-libinput.spec +++ b/xorg-driver-input-libinput.spec @@ -1,26 +1,28 @@ Summary: A libinput-based X.org input driver Summary(pl.UTF-8): Sterownik wejściowy X.org oparty na libinput Name: xorg-driver-input-libinput -Version: 0.5.0 +Version: 1.4.0 Release: 1 License: MIT Group: X11/Applications -Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.bz2 -# Source0-md5: 4df0491d23fffcfdb385f6eb2381e476 -URL: http://xorg.freedesktop.org/ +Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.xz +# Source0-md5: b52a1fc7456cf6595a9a1004287551a3 +URL: https://xorg.freedesktop.org/ BuildRequires: autoconf >= 2.60 BuildRequires: automake -BuildRequires: libinput-devel >= 0.8.0 +BuildRequires: libinput-devel >= 1.23.0 BuildRequires: libtool >= 2:2 BuildRequires: pkgconfig >= 1:0.19 BuildRequires: rpmbuild(macros) >= 1.389 -BuildRequires: xorg-proto-inputproto-devel >= 2.2 +BuildRequires: tar >= 1:1.22 +BuildRequires: xorg-proto-inputproto-devel >= 2.3.99.1 BuildRequires: xorg-proto-xproto-devel BuildRequires: xorg-util-util-macros >= 1.8 -BuildRequires: xorg-xserver-server-devel >= 1.10 +BuildRequires: xorg-xserver-server-devel >= 1.19 +BuildRequires: xz %{?requires_xorg_xserver_xinput} -Requires: libinput >= 0.8.0 -Requires: xorg-xserver-server >= 1.10 +Requires: libinput >= 1.23.0 +Requires: xorg-xserver-server >= 1.19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -33,6 +35,17 @@ Sterownik wejściowy X oparty na libinput. Jest to bardzo cienkie obudowanie biblioteki libinput, więc udostępnia wszystkie funkcje obsługiwane przez libinput, ale niewiele poza tym. +%package devel +Summary: Header file for libinput driver +Summary(pl.UTF-8): Plik nagłówkowy sterownika libinput +Group: Development/Libraries + +%description devel +Header file for libinput driver. + +%description devel -l pl.UTF-8 +Plik nagłówkowy sterownika libinput. + %prep %setup -q -n xf86-input-libinput-%{version} @@ -43,12 +56,16 @@ obsługiwane przez libinput, ale niewiele poza tym. %{__autoheader} %{__automake} %configure \ + --with-xorg-conf-dir=/etc/X11/xorg.conf.d \ --disable-static %{__make} %install rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/ + %{__make} install \ DESTDIR=$RPM_BUILD_ROOT @@ -59,6 +76,12 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc COPYING ChangeLog README.md conf/99-libinput.conf +%doc COPYING ChangeLog README.md +%config(noreplace) %verify(not md5 mtime size) /etc/X11/xorg.conf.d/40-libinput.conf %attr(755,root,root) %{_libdir}/xorg/modules/input/libinput_drv.so %{_mandir}/man4/libinput.4* + +%files devel +%defattr(644,root,root,755) +%{_includedir}/xorg/libinput-properties.h +%{_pkgconfigdir}/xorg-libinput.pc