commit 45341a09a74d9e645dd19162d5a5d25c35b74bf3
Author: Jan Palus <[email protected]>
Date:   Mon Aug 26 09:53:23 2019 +0200

    up to 1.14.1
    
    - packaged zsh completion

 libinput.spec | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)
---
diff --git a/libinput.spec b/libinput.spec
index 2fc2d9a..05ead60 100644
--- a/libinput.spec
+++ b/libinput.spec
@@ -13,12 +13,12 @@
 Summary:       Input device library
 Summary(pl.UTF-8):     Biblioteka urządzeń wejściowych
 Name:          libinput
-Version:       1.14.0
+Version:       1.14.1
 Release:       1
 License:       MIT
 Group:         Libraries
 Source0:       
https://www.freedesktop.org/software/libinput/%{name}-%{version}.tar.xz
-# Source0-md5: 1c33d49fc7985926eab877e3de9c17eb
+# Source0-md5: da29a704dc6f7ea2d5aac754db046340
 URL:           https://www.freedesktop.org/wiki/Software/libinput/
 BuildRequires: check-devel >= 0.9.10
 BuildRequires: libevdev-devel >= 1.3
@@ -121,6 +121,19 @@ API documentation for libinput library.
 %description apidocs -l pl.UTF-8
 Dokumentacja API biblioteki libinput.
 
+%package -n zsh-completion-%{name}
+Summary:       Zsh completion for libinput command
+Summary(pl.UTF-8):     Dopełnianie parametrów w zsh dla polecenia libinput
+Group:         Applications/Shells
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      zsh
+
+%description -n zsh-completion-%{name}
+Zsh completion for libinput command.
+
+%description -n zsh-completion-%{name} -l pl.UTF-8
+Dopełnianie parametrów w zsh dla polecenia libinput.
+
 %prep
 %setup -q
 
@@ -132,7 +145,8 @@ Dokumentacja API biblioteki libinput.
 %meson build \
        -Ddebug-gui=%{__true_false gui} \
        -Ddocumentation=%{__true_false doc} \
-       -Dudev-dir=/lib/udev
+       -Dudev-dir=/lib/udev \
+       -Dzshcompletiondir=%{zsh_compdir}
 %meson_build -C build
 
 %{?with_tests:%meson_test -C build}
@@ -205,3 +219,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc build/api/*
 %endif
+
+%files -n zsh-completion-%{name}
+%defattr(644,root,root,755)
+%{zsh_compdir}/_libinput
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libinput.git/commitdiff/45341a09a74d9e645dd19162d5a5d25c35b74bf3

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to