Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions SPECS/pinentry/pinentry.spec
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,19 @@ Summary: Collection of simple PIN or passphrase entry dialogs
License: GPL-2.0-or-later
URL: https://gnupg.org/
VCS: git:https://git.gnupg.org/pinentry.git
#!RemoteAsset
#!RemoteAsset: sha256:8e986ed88561b4da6e9efe0c54fa4ca8923035c99264df0b0464497c5fb94e9e
Source0: %{url}/ftp/gcrypt/%{name}/%{name}-%{version}.tar.bz2
#!RemoteAsset
Source1: %{url}/ftp/gcrypt/%{name}/%{name}-%{version}.tar.bz2.sig
# We need this wrapper
Source2: pinentry
Source1: pinentry
BuildSystem: autotools

BuildOption(conf): --disable-rpath
BuildOption(conf): --disable-dependency-tracking
%if %{with gnome}
BuildOption(conf): --enable-pinentry-gnome3
%else
BuildOption(conf): --disable-pinentry-gnome3
%endif
%if %{with gtk2}
BuildOption(conf): --enable-pinentry-gtk2
%else
Expand Down Expand Up @@ -165,7 +167,7 @@ ln -s pinentry-gtk-2 $RPM_BUILD_ROOT%{_bindir}/pinentry-gtk
ln -s pinentry-qt $RPM_BUILD_ROOT%{_bindir}/pinentry-qt4
ln -s pinentry-qt $RPM_BUILD_ROOT%{_bindir}/pinentry-qt5
%endif
install -p -m755 -D %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/pinentry
install -p -m755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/pinentry
# unpackaged files
rm -fv $RPM_BUILD_ROOT%{_infodir}/dir
%if %{with qt6}
Expand Down Expand Up @@ -209,4 +211,4 @@ install -d %{buildroot}%{_datadir}/pixmaps
%{_bindir}/pinentry-tty

%changelog
%{?autochangelog}
%autochangelog
Loading