Compare commits
	
		
			11 Commits
		
	
	
		
			0.9.5-1mam
			...
			1.3.1-2mam
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| fdaec22718 | |||
| efc7dbba86 | |||
| 3d7ba549e1 | |||
| 2d715d244b | |||
| 2c0f37c4ad | |||
| 6a969a8627 | |||
| 19fe5372ad | |||
| 9466e096f4 | |||
| df9ac84baf | |||
| c30523b1b4 | |||
| e65fe5ebe9 | 
							
								
								
									
										186
									
								
								pinentry.spec
									
									
									
									
									
								
							
							
						
						
									
										186
									
								
								pinentry.spec
									
									
									
									
									
								
							@@ -1,47 +1,77 @@
 | 
			
		||||
Name:          pinentry
 | 
			
		||||
Version:       0.9.5
 | 
			
		||||
Release:       1mamba
 | 
			
		||||
Version:       1.3.1
 | 
			
		||||
Release:       2mamba
 | 
			
		||||
Summary:       A collection of simple PIN or passphrase entry dialogs
 | 
			
		||||
Group:         Applications/Security
 | 
			
		||||
Vendor:        openmamba
 | 
			
		||||
Distribution:  openmamba
 | 
			
		||||
Packager:      Silvan Calarco <silvan.calarco@mambasoft.it>
 | 
			
		||||
URL:           http://www.gnupg.org
 | 
			
		||||
Source:        ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-%{version}.tar.bz2
 | 
			
		||||
URL:           https://www.gnupg.org/
 | 
			
		||||
Source:        https://gnupg.org/ftp/gcrypt/pinentry/pinentry-%{version}.tar.bz2
 | 
			
		||||
License:       GPL
 | 
			
		||||
Requires(post):%{__install_info}
 | 
			
		||||
## AUTOBUILDREQ-BEGIN
 | 
			
		||||
BuildRequires: glibc-devel
 | 
			
		||||
BuildRequires: libatk-devel
 | 
			
		||||
BuildRequires: libX11-devel
 | 
			
		||||
BuildRequires: libXcursor-devel
 | 
			
		||||
BuildRequires: libXext-devel
 | 
			
		||||
BuildRequires: libXfixes-devel
 | 
			
		||||
BuildRequires: libXft-devel
 | 
			
		||||
BuildRequires: libXinerama-devel
 | 
			
		||||
BuildRequires: libXrender-devel
 | 
			
		||||
BuildRequires: libassuan-devel
 | 
			
		||||
BuildRequires: libat-spi2-core-devel
 | 
			
		||||
BuildRequires: libcairo-devel
 | 
			
		||||
BuildRequires: libcap-devel
 | 
			
		||||
BuildRequires: libefl-devel
 | 
			
		||||
BuildRequires: libfltk-devel
 | 
			
		||||
BuildRequires: libfontconfig-devel
 | 
			
		||||
BuildRequires: libfreetype-devel
 | 
			
		||||
BuildRequires: libgcc
 | 
			
		||||
BuildRequires: libgcr-devel
 | 
			
		||||
BuildRequires: libgdk-pixbuf-devel
 | 
			
		||||
BuildRequires: libglib1-devel
 | 
			
		||||
BuildRequires: libgtk1-devel
 | 
			
		||||
BuildRequires: libglib-devel
 | 
			
		||||
BuildRequires: libgpg-error-devel
 | 
			
		||||
BuildRequires: libgtk2-devel
 | 
			
		||||
BuildRequires: libharfbuzz-devel
 | 
			
		||||
BuildRequires: libkf6-kguiaddons-devel
 | 
			
		||||
BuildRequires: libkf6-kwindowsystem-devel
 | 
			
		||||
BuildRequires: libluajit-devel
 | 
			
		||||
BuildRequires: libncurses-devel
 | 
			
		||||
BuildRequires: libp11-kit-devel
 | 
			
		||||
BuildRequires: libpango-devel
 | 
			
		||||
BuildRequires: libpng-devel
 | 
			
		||||
BuildRequires: libqt4-devel
 | 
			
		||||
BuildRequires: libsecret-devel
 | 
			
		||||
BuildRequires: libstdc++6-devel
 | 
			
		||||
BuildRequires: qt6-qtbase-devel
 | 
			
		||||
## AUTOBUILDREQ-END
 | 
			
		||||
BuildRequires: libassuan-devel >= 3.0.1
 | 
			
		||||
Requires(post):%{__install_info}
 | 
			
		||||
BuildRoot:     %{_tmppath}/%{name}-%{version}-root
 | 
			
		||||
Requires(post): chkconfig
 | 
			
		||||
 | 
			
		||||
%description
 | 
			
		||||
A collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol as described by the aegypten project.
 | 
			
		||||
 | 
			
		||||
%package qt4
 | 
			
		||||
%package qt
 | 
			
		||||
Summary:       A simple PIN entry dialog based on qt libraries
 | 
			
		||||
Group:         Graphical Desktop/Applications/Security
 | 
			
		||||
Provides:      pinentry-qt
 | 
			
		||||
Obsoletes:     pinentry-qt
 | 
			
		||||
Provides:      pinentry-qt4
 | 
			
		||||
Obsoletes:     pinentry-qt4 < 1.1.1
 | 
			
		||||
 | 
			
		||||
%description qt4
 | 
			
		||||
%description qt
 | 
			
		||||
A of simple PIN or passphrase entry dialog based on qt libraries which utilize the Assuan protocol as described by the aegypten project.
 | 
			
		||||
 | 
			
		||||
%package efl
 | 
			
		||||
Summary:       A simple PIN entry dialog based on efl libraries
 | 
			
		||||
Group:         Graphical Desktop/Applications/Security
 | 
			
		||||
 | 
			
		||||
%description efl
 | 
			
		||||
A of simple PIN or passphrase entry dialog based on efl libraries which utilize the Assuan protocol as described by the aegypten project.
 | 
			
		||||
 | 
			
		||||
%package fltk
 | 
			
		||||
Summary:       A simple PIN entry dialog based on fltk libraries
 | 
			
		||||
Group:         Graphical Desktop/Applications/Security
 | 
			
		||||
 | 
			
		||||
%description fltk
 | 
			
		||||
A of simple PIN or passphrase entry dialog based on fltk libraries which utilize the Assuan protocol as described by the aegypten project.
 | 
			
		||||
 | 
			
		||||
%package gtk2
 | 
			
		||||
Summary:       A simple PIN entry dialog based on Gtk2 libraries
 | 
			
		||||
Group:         Graphical Desktop/Applications/Security
 | 
			
		||||
@@ -56,19 +86,19 @@ Group:         Graphical Desktop/Applications/Security
 | 
			
		||||
%description gnome
 | 
			
		||||
A of simple PIN or passphrase entry dialog based on qt libraries which utilize the Assuan protocol as described by the aegypten project.
 | 
			
		||||
 | 
			
		||||
%debug_package
 | 
			
		||||
 | 
			
		||||
%prep
 | 
			
		||||
%setup -q
 | 
			
		||||
cd qt4
 | 
			
		||||
moc-qt4 pinentrydialog.h > pinentrydialog.moc
 | 
			
		||||
moc-qt4 qsecurelineedit.h > qsecurelineedit.moc
 | 
			
		||||
cd ..
 | 
			
		||||
 | 
			
		||||
%build
 | 
			
		||||
%configure \
 | 
			
		||||
   --enable-pinentry-curses \
 | 
			
		||||
   --disable-pinentry-qt \
 | 
			
		||||
   --enable-pinentry-qt4 \
 | 
			
		||||
   --enable-pinentry-gtk2 \
 | 
			
		||||
   --enable-pinentry-qt \
 | 
			
		||||
   --disable-pinentry-qt5 \
 | 
			
		||||
   --disable-pinentry-qt4 \
 | 
			
		||||
   --enable-pinentry-gtk3 \
 | 
			
		||||
   --enable-pinentry-gnome3 \
 | 
			
		||||
   --enable-fallback-curses
 | 
			
		||||
 | 
			
		||||
%make
 | 
			
		||||
@@ -78,6 +108,8 @@ cd ..
 | 
			
		||||
%makeinstall
 | 
			
		||||
rm -f %{buildroot}%{_bindir}/pinentry
 | 
			
		||||
 | 
			
		||||
rm -f %{buildroot}%{_infodir}/dir
 | 
			
		||||
 | 
			
		||||
%clean
 | 
			
		||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
 | 
			
		||||
 | 
			
		||||
@@ -85,14 +117,14 @@ rm -f %{buildroot}%{_bindir}/pinentry
 | 
			
		||||
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-curses 20
 | 
			
		||||
/usr/sbin/update-alternatives --auto pinentry
 | 
			
		||||
%install_info pinentry.info
 | 
			
		||||
exit 0
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%preun
 | 
			
		||||
if [ $1 -eq 0 ]; then
 | 
			
		||||
   /usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-curses
 | 
			
		||||
   %uninstall_info pinentry.info
 | 
			
		||||
fi
 | 
			
		||||
exit 0
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%posttrans
 | 
			
		||||
# Fix an upgrade problem: alternatives removed from preun script
 | 
			
		||||
@@ -100,45 +132,66 @@ if [ $1 -eq 1 ]; then
 | 
			
		||||
   /usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-curses 20
 | 
			
		||||
   /usr/sbin/update-alternatives --auto pinentry
 | 
			
		||||
fi
 | 
			
		||||
exit 0
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%post qt4
 | 
			
		||||
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-qt4 40
 | 
			
		||||
exit 0
 | 
			
		||||
%post efl
 | 
			
		||||
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-efl 30
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%preun qt4
 | 
			
		||||
%preun efl
 | 
			
		||||
if [ $1 -eq 0 ]; then
 | 
			
		||||
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-qt4
 | 
			
		||||
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-efl
 | 
			
		||||
fi
 | 
			
		||||
exit 0
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%posttrans qt4
 | 
			
		||||
%post fltk
 | 
			
		||||
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-fltk 30
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%preun fltk
 | 
			
		||||
if [ $1 -eq 0 ]; then
 | 
			
		||||
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-fltk
 | 
			
		||||
fi
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%post qt
 | 
			
		||||
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-qt 40
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%preun qt
 | 
			
		||||
if [ $1 -eq 0 ]; then
 | 
			
		||||
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-qt
 | 
			
		||||
fi
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%posttrans qt
 | 
			
		||||
# Fix an upgrade problem: alternatives removed from preun script
 | 
			
		||||
if [ $1 -eq 1 ]; then
 | 
			
		||||
   /usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-qt4 40
 | 
			
		||||
   /usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-qt4
 | 
			
		||||
   /usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-qt 40
 | 
			
		||||
   /usr/sbin/update-alternatives --auto pinentry
 | 
			
		||||
fi
 | 
			
		||||
exit 0
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%post gtk2
 | 
			
		||||
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-gtk-2 30
 | 
			
		||||
exit 0
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%preun gtk2
 | 
			
		||||
if [ $1 -eq 0 ]; then
 | 
			
		||||
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-gtk2
 | 
			
		||||
fi
 | 
			
		||||
exit 0
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%post gnome
 | 
			
		||||
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-gnome-2 35
 | 
			
		||||
exit 0
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%preun gnome
 | 
			
		||||
if [ $1 -eq 0 ]; then
 | 
			
		||||
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-gnome
 | 
			
		||||
fi
 | 
			
		||||
exit 0
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%posttrans gtk2
 | 
			
		||||
# Fix an upgrade problem: alternatives removed from preun script
 | 
			
		||||
@@ -146,28 +199,75 @@ if [ $1 -eq 1 ]; then
 | 
			
		||||
   /usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-gtk-2 30
 | 
			
		||||
   /usr/sbin/update-alternatives --auto pinentry
 | 
			
		||||
fi
 | 
			
		||||
exit 0
 | 
			
		||||
:
 | 
			
		||||
 | 
			
		||||
%files
 | 
			
		||||
%defattr(-,root,root)
 | 
			
		||||
%{_bindir}/pinentry-curses
 | 
			
		||||
%{_bindir}/pinentry-emacs
 | 
			
		||||
%{_infodir}/pinentry.info.*
 | 
			
		||||
%doc AUTHORS COPYING
 | 
			
		||||
#%doc ChangeLog NEWS README THANKS TODO
 | 
			
		||||
 | 
			
		||||
%files qt4
 | 
			
		||||
 | 
			
		||||
%files efl
 | 
			
		||||
%defattr(-,root,root)
 | 
			
		||||
%{_bindir}/pinentry-qt4
 | 
			
		||||
%{_bindir}/pinentry-efl
 | 
			
		||||
 | 
			
		||||
%files fltk
 | 
			
		||||
%defattr(-,root,root)
 | 
			
		||||
%{_bindir}/pinentry-fltk
 | 
			
		||||
 | 
			
		||||
%files qt
 | 
			
		||||
%defattr(-,root,root)
 | 
			
		||||
%{_bindir}/pinentry-qt
 | 
			
		||||
%{_datadir}/applications/org.gnupg.pinentry-qt.desktop
 | 
			
		||||
%{_datadir}/pixmaps/pinentry.png
 | 
			
		||||
 | 
			
		||||
%files gtk2
 | 
			
		||||
%defattr(-,root,root)
 | 
			
		||||
%{_bindir}/pinentry-gtk-2
 | 
			
		||||
 | 
			
		||||
%files gnome
 | 
			
		||||
%defattr(-,root,root)
 | 
			
		||||
%{_bindir}/pinentry-gnome3
 | 
			
		||||
 | 
			
		||||
%changelog
 | 
			
		||||
* Sat Jul 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-2mamba
 | 
			
		||||
- rebuilt with libassuan 3.0.1
 | 
			
		||||
 | 
			
		||||
* Sat Jul 06 2024 Automatic Build System <autodist@openmamba.org> 1.3.1-1mamba
 | 
			
		||||
- automatic version update by autodist
 | 
			
		||||
 | 
			
		||||
* Tue Mar 19 2024 Automatic Build System <autodist@openmamba.org> 1.3.0-1mamba
 | 
			
		||||
- automatic version update by autodist
 | 
			
		||||
 | 
			
		||||
* Thu Jan 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-2mamba
 | 
			
		||||
- package fltk binding apart
 | 
			
		||||
 | 
			
		||||
* Thu Sep 01 2022 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
 | 
			
		||||
- automatic version update by autodist
 | 
			
		||||
 | 
			
		||||
* Thu Aug 26 2021 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
 | 
			
		||||
- automatic version update by autodist
 | 
			
		||||
 | 
			
		||||
* Sun May 16 2021 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
 | 
			
		||||
- automatic version update by autodist
 | 
			
		||||
 | 
			
		||||
* Mon Dec 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-2mamba
 | 
			
		||||
- rebuilt with debug package
 | 
			
		||||
 | 
			
		||||
* Sat Jan 06 2018 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
 | 
			
		||||
- automatic version update by autodist
 | 
			
		||||
 | 
			
		||||
* Sat Dec 03 2016 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
 | 
			
		||||
- automatic version update by autodist
 | 
			
		||||
 | 
			
		||||
* Thu Feb 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.7-2mamba
 | 
			
		||||
- fix disappeared pinentry-qt package due to obsoletes
 | 
			
		||||
 | 
			
		||||
* Fri Jan 01 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.7-1mamba
 | 
			
		||||
- update to 0.9.7
 | 
			
		||||
 | 
			
		||||
* Tue Aug 18 2015 Automatic Build System <autodist@mambasoft.it> 0.9.5-1mamba
 | 
			
		||||
- automatic version update by autodist
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user