]> git.pld-linux.org Git - packages/xorg-driver-input-libinput.git/blobdiff - xorg-driver-input-libinput.spec
up to 1.2.0
[packages/xorg-driver-input-libinput.git] / xorg-driver-input-libinput.spec
index 4623f1be2f929297e273f6af9e2122013b1491b3..4108f4a25ad036b2d2b15537c99dd37f38e2c3a2 100644 (file)
@@ -1,26 +1,26 @@
 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.4.0
+Version:       1.2.0
 Release:       1
 License:       MIT
 Group:         X11/Applications
-Source0:       http://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.bz2
-# Source0-md5: 74bd2fd994fd42fec23c9fc8282002f4
-URL:           http://xorg.freedesktop.org/
+Source0:       https://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-%{version}.tar.bz2
+# Source0-md5: 22f0b98c3937cfc07517ec1414d1ca5d
+URL:           https://xorg.freedesktop.org/
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake
-BuildRequires: libinput-devel >= 0.7.0
+BuildRequires: libinput-devel >= 1.19.0
 BuildRequires: libtool >= 2:2
 BuildRequires: pkgconfig >= 1:0.19
 BuildRequires: rpmbuild(macros) >= 1.389
-BuildRequires: xorg-proto-inputproto-devel >= 2.2
+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
 %{?requires_xorg_xserver_xinput}
-Requires:      libinput >= 0.7.0
-Requires:      xorg-xserver-server >= 1.10
+Requires:      libinput >= 1.19.0
+Requires:      xorg-xserver-server >= 1.19
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,6 +33,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 +54,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 +74,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
+/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
This page took 0.111487 seconds and 4 git commands to generate.