]> git.pld-linux.org Git - packages/p11-kit.git/commitdiff
- updated to 0.23.22 (fixes CVE-2020-29361, CVE-2020-29362, CVE-2020-29363) auto/th/p11-kit-0.23.22-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 31 Mar 2021 18:30:25 +0000 (20:30 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 31 Mar 2021 18:30:25 +0000 (20:30 +0200)
- added bash-completion- package

p11-kit.spec

index f87f72b61fc482463468e4c66d43fcba1dc1108c..302be0326e912f621e16ae9875b0d1f98dab44ce 100644 (file)
@@ -6,13 +6,13 @@ Summary:      Library and proxy module for properly loading and sharing PKCS#11 modul
 Summary(pl.UTF-8):     Biblioteka i moduł proxy do właściwego wczytywania i współdzielenia modułów PKCS#11
 Name:          p11-kit
 # NOTE: 0.22.x is stable, 0.23.x used to be unstable  ...but current stable gnutls requires 0.23.x and 0.23.11+ is declared stable in NEWS
-Version:       0.23.21
+Version:       0.23.22
 Release:       1
 License:       BSD
 Group:         Libraries
 #Source0Download: https://github.com/p11-glue/p11-kit/releases
 Source0:       https://github.com/p11-glue/p11-kit/releases/download/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: db8d5509f61c73ab2ea03cc4d7bc5eef
+# Source0-md5: 03f93a4eb62127b5d40e345c624a0665
 URL:           https://p11-glue.github.io/p11-glue/p11-kit.html
 BuildRequires: gettext-tools >= 0.19.8
 BuildRequires: gtk-doc >= 1.15
@@ -20,6 +20,8 @@ BuildRequires:        libffi-devel >= 3.0.0
 BuildRequires: libtasn1-devel >= 2.14
 BuildRequires: pkgconfig >= 1:0.29
 BuildRequires: pkgconfig(libffi) >= 3.0.0
+BuildRequires: rpm-build >= 4.6
+BuildRequires: rpmbuild(macros) >= 1.673
 BuildRequires: systemd-devel >= 1:209
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
@@ -64,11 +66,26 @@ API and internal documentation for P11-KIT library.
 %description apidocs -l pl.UTF-8
 Dokumentacja API biblioteki P11-KIT.
 
+%package -n bash-completion-p11-kit
+Summary:       Bash completion for p11-kit commands
+Summary(pl.UTF-8):     Bashowe uzupełnianie parametrów poleceń p11-kit
+Group:         Applications/Shells
+Requires:      %{name} = %{version}-%{release}
+Requires:      bash-completion >= 2.0
+BuildArch:     noarch
+
+%description -n bash-completion-p11-kit
+Bash completion for p11-kit commands (p11-kit and trust).
+
+%description -n bash-completion-p11-kit -l pl.UTF-8
+Bashowe uzupełnianie parametrów poleceń p11-kit (p11-kit i trust).
+
 %prep
 %setup -q
 
 %build
 %configure \
+       bashcompdir=%{bash_compdir} \
        %{!?with_apidocs:--disable-gtk-doc} \
        --disable-silent-rules \
        --with-html-dir=%{_gtkdocdir} \
@@ -129,3 +146,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_gtkdocdir}/p11-kit
 %endif
+
+%files -n bash-completion-p11-kit
+%defattr(644,root,root,755)
+%{bash_compdir}/p11-kit
+%{bash_compdir}/trust
This page took 0.166977 seconds and 4 git commands to generate.