Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37404767
en ru br
Репозитории ALT
S:1.3.2-alt3.gitcfac4db8.1
www.altlinux.org/Changes

Группа :: Работа с текстами
Пакет: qtpass

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# SPEC file for QtPass
#

%define real_name    QtPass

Name:     qtpass
Version:  1.3.2
Release:  alt3.gitcfac4db8.1

Summary: a multi-platform GUI for pass, the standard unix password manager
Summary(ru_RU.UTF-8): п╨я─п╬я│я│-п©п╩п╟я┌я└п╬я─п╪п╣п╫п╫я▀п╧ п╦п╫я┌п╣я─я└п╣п╧я│ п╨ п╪п╣п╫п╣п╢п╤п╣я─я┐ п©п╟я─п╬п╩п╣п╧ pass

Group:    Text tools
License:  %gpl3plus
URL:      https://qtpass.org/
# URL: https://github.com/IJHack/qtpass

Packager: Nikolay Fetisov <naf at altlinux.org>

Source0: %real_name-%version.tar
Patch0:  %real_name-%version-%release.patch

Patch1:  %name-1.1.6-alt-desktop.patch
Patch2:  %name-1.3.2-github-pull_559.patch
Patch3:  %name-1.3.2-alt-key_dates.patch

Source1: %name-16.png
Source2: %name-32.png
Source3: %name-48.png

BuildRequires(pre): rpm-build-licenses desktop-file-utils


# Automatically added by buildreq on Tue Jan 28 2020

# optimized out: gcc-c++ glibc-kernheaders-generic glibc-kernheaders-x86 libglvnd-devel libqt5-core libqt5-gui libqt5-network libqt5-test libqt5-widgets libqt5-xml libstdc++-devel python-modules python2-base python3 python3-base python3-dev qt5-base-devel qt5-declarative-devel qt5-location-devel qt5-tools qt5-webchannel-devel ruby ruby-stdlibs sh4
BuildRequires: kf5-kwallet-devel python3-module-mpl_toolkits qt5-multimedia-devel qt5-phonon-devel qt5-script-devel qt5-svg-devel qt5-tools-devel qt5-webkit-devel qt5-websockets-devel qt5-x11extras-devel
%ifnarch %e2k
BuildRequires: qt5-webengine-devel
%endif

Requires: gnupg gnupg2 git-core pwgen

%description
QtPass is a multi-platform GUI for pass, the standard unix
password manager, with the following features:

* Reading pass password stores
* Displaying the password and related info
* Editing and adding of passwords and information
* Per-folder user selection for multi-user password stores
* Updating to and from a git repository
* Copying password to clipboard
* Using pass or git and gpg2 directly
* And other

%description -l ru_RU.UTF-8
QtPass -  п╨я─п╬я│я│п©п╩п╟я┌я└п╬я─п╪п╣п╫п╫я▀п╧ пЁя─п╟я└п╦я┤п╣я│п╨п╦п╧ п╦п╫я┌п╣я─я└п╣п╧я│ п╨ п╪п╣п╫п╣п╢п╤п╣я─я┐
п©п╟я─п╬п╩п╣п╧ pass, я│ п©п╬п╢п╢п╣я─п╤п╨п╬п╧:

* я┤я┌п╣п╫п╦п╣ я┘я─п╟п╫п╦п╩п╦я┴ п©п╟я─п╬п╩п╣п╧ pass,
* п╬я┌п╬п╠я─п╟п╤п╣п╫п╦п╣ п©п╟я─п╬п╩п╣п╧ п╦ я│п╬п©я┐я┌я│я┌п╡я┐я▌я┴п╣п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦
* я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦п╣ п╦ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣ п©п╟я─п╬п╩п╣п╧ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣
* п©п╬п╢п╢п╣я─п╤п╨п╟ п╡я▀п╠п╬я─п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╟п╩п╣п╧ п╢п╩я▐ п╪п╫п╬пЁп╬п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦я┘ я┘я─п╟п╫п╦п╩п╦я┴
* п©п╬п╢п╢п╣я─п╤п╨п╟ я─п╟п╥п╪п╣я┴п╣п╫п╦я▐ я┘я─п╟п╫п╦п╩п╦я┴п╟ п©п╟я─п╬п╩п╣п╧ п╡ я─п╣п©п╬п╥п╦я┌п╬я─п╦п╦ git,
* п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п©п╟я─п╬п╩п╣п╧ п╡ п╠я┐я└п╣я─ п╬п╠п╪п╣п╫п╟,
* я─п╟п╠п╬я┌п╟ я│ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣п╪ pass п╦п╩п╦ п╫п╟п©я─я▐п╪я┐я▌ я┤п╣я─п╣п╥ git п╦ gpg2
* п╦ п©я─п╬я┤п╣п╣.


%prep
%setup  -n %real_name-%version
%patch0 -p1

%patch1
%patch2 -p1
%patch3

## TEMPORARY FIX program version - 1.3.3 not released yet:

sed -e 's#1\.3\.3#1.3.2-371-gcfac4db8#' -i Doxyfile
sed -e 's#1\.3\.3#1.3.2-371-gcfac4db8#' -i qtpass.iss
sed -e 's#1\.3\.3#1.3.2-371-gcfac4db8#' -i qtpass.pri
sed -e 's#1\.3\.3#1.3.2-371-gcfac4db8#' -i qtpass.plist

mv -- LICENSE LICENSE.orig
ln -s -- $(relative %_licensedir/GPL-3 %_docdir/%name/LICENSE) LICENSE

%build
%qmake_qt5  PREFIX=%buildroot%prefix
%make_build

%install
%makeinstall

install -D -m0644 -- qtpass.desktop %buildroot%_desktopdir/%name.desktop

install -D -m0644 -- artwork/icon.svg   %buildroot%_iconsdir/hicolor/scalable/apps/qtpass-icon.svg
install -D -m0644 -- %SOURCE1 %buildroot%_miconsdir/%name.png
install -D -m0644 -- %SOURCE2 %buildroot%_niconsdir/%name.png
install -D -m0644 -- %SOURCE3 %buildroot%_liconsdir/%name.png

install -D -m0644 -- qtpass.appdata.xml %buildroot%_datadir/appdata/%name.appdata.xml

%files
%doc README.md CHANGELOG.md FAQ.md
%doc --no-dereference LICENSE

%_bindir/%name

%_desktopdir/%name.desktop
%_iconsdir/hicolor/*/apps/*
%_datadir/appdata/%name.appdata.xml

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin