Init package
This commit is contained in:
parent
64b16a97c5
commit
801c062675
BIN
ukui-biometric-auth-1.2.0.tar.gz
Normal file
BIN
ukui-biometric-auth-1.2.0.tar.gz
Normal file
Binary file not shown.
81
ukui-biometric-auth.spec
Normal file
81
ukui-biometric-auth.spec
Normal file
@ -0,0 +1,81 @@
|
||||
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: ukui-biometric-auth
|
||||
Summary: ukui-biometric-auth
|
||||
Version: 1.2.0
|
||||
Release: 1
|
||||
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/ukui/ukui-biometric-auth
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: cmake qt5-qtbase-devel pam-devel polkit-qt5-1 qt5-qttools-devel pkg-config
|
||||
Requires: cmake qt5-qtbase-devel pam-devel polkit-qt5-1 qt5-qttools-devel pkg-config
|
||||
|
||||
%description
|
||||
ukui-biometric-auth
|
||||
|
||||
|
||||
%package -n libpam-biometric
|
||||
Summary: Insertable authentication module for PAM
|
||||
Requires: cmake qt5-qtbase-devel pam-devel polkit-qt5-1 qt5-qttools-devel pkg-config
|
||||
Suggests: biometric-auth
|
||||
|
||||
%description -n libpam-biometric
|
||||
The indispensable part for biometric authentication in
|
||||
ukui desktop environment.
|
||||
This package contains a modules for PAM.
|
||||
|
||||
|
||||
%package -n ukui-polkit
|
||||
Summary: UKUI authentication agent for PolicyKit-1
|
||||
Requires: cmake qt5-qtbase-devel pam-devel polkit-qt5-1 qt5-qttools-devel pkg-config
|
||||
Provides: polkit-1-auth-agent
|
||||
Suggests: biometric-auth
|
||||
|
||||
%description -n ukui-polkit
|
||||
The ukui-polkit package supports general authentication and
|
||||
biometric authentication that the service is provided by the
|
||||
biometric-auth package.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make
|
||||
|
||||
%install
|
||||
cd build
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
%preun -n libpam-biometric
|
||||
pam-auth-update --package --remove pam-biometric
|
||||
|
||||
%post -n libpam-biometric
|
||||
pam-auth-update --package
|
||||
|
||||
%files -n libpam-biometric
|
||||
/etc/biometric-auth/ukui-biometric.conf
|
||||
/lib/security/*
|
||||
/usr/bin/*
|
||||
/usr/share/pam-configs/*
|
||||
/usr/share/polkit-1/actions/*.policy
|
||||
/usr/share/ukui-biometric/images/
|
||||
/usr/share/ukui-biometric/i18n_qm/*.qm
|
||||
/usr/share/ukui-biometric/i18n_qm/bioauth-bin/*.qm
|
||||
|
||||
%files -n ukui-polkit
|
||||
/etc/xdg/*
|
||||
/usr/lib/*
|
||||
/usr/share/ukui-biometric/i18n_qm/polkit/*.qm
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 1.2.0-1
|
||||
- Init package for openEuler
|
||||
Loading…
x
Reference in New Issue
Block a user