Sisyphus repository
Last update: 31 march 2023 | SRPMs: 18295 | Visits: 27238466
en ru br
ALT Linux repos

Group :: Security/Networking
RPM: token-manager

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%ifarch x86_64
%define cpro_arch amd64
%define cpro_arch ia32

%define rev c6ec8f5

Name:    token-manager
Version: 0.12
Release: alt9

Summary: Certificate manager for CryptoPro CSP
License: MIT
Group:   Security/Networking

Packager: Andrey Cherepanov <cas at>
BuildArch: noarch

Source: %name.tar
Source1: cpconfig-pam.alt
Source2: token-manager

Patch0: token-manager-port-to-python3-and-PyQt5.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: libpam-devel
BuildRequires: python3-module-PyQt5

Requires: consolehelper opensc

A PyQt front-end for Crypto Pro CSP for CentOS 6 and GosLinux by The
Federal Bailiffs' Service of Russia.

%setup -q
%patch0 -p1
subst 's|python|python3|' %name.desktop

mkdir -p %buildroot/%_bindir
ln -s %_libexecdir/consolehelper/helper %buildroot%_bindir/cpconfig-%cpro_arch
install -Dm 0644 %buildroot%_bindir/
install -Dm 0644 %name.png %buildroot%_pixmapsdir/%name.png
install -Dm 0644 %name.desktop %buildroot%_desktopdir/%name.desktop
install -Dm 0644 %SOURCE1 %buildroot%_sysconfdir/pam.d/cpconfig-%cpro_arch
install -Dm 0755 %SOURCE2 %buildroot%_bindir/%name
install -Dm 0644 cpconfig-%cpro_arch %buildroot%_sysconfdir/security/console.apps/cpconfig-%cpro_arch

%config(noreplace) %_sysconfdir/pam.d/cpconfig-%cpro_arch
%config(noreplace) %_sysconfdir/security/console.apps/cpconfig-%cpro_arch


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin