update to 0.9.7 [release 0.9.7-1mamba;Fri Jan 01 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 10:07:23 +01:00
parent 0348f3ab22
commit e65fe5ebe9

View File

@ -1,5 +1,5 @@
Name: pinentry Name: pinentry
Version: 0.9.5 Version: 0.9.7
Release: 1mamba Release: 1mamba
Summary: A collection of simple PIN or passphrase entry dialogs Summary: A collection of simple PIN or passphrase entry dialogs
Group: Applications/Security Group: Applications/Security
@ -33,13 +33,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
A collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol as described by the aegypten project. 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 Summary: A simple PIN entry dialog based on qt libraries
Group: Graphical Desktop/Applications/Security Group: Graphical Desktop/Applications/Security
Provides: pinentry-qt Provides: pinentry-qt4
Obsoletes: pinentry-qt Obsoletes: pinentry-qt4
%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. A of simple PIN or passphrase entry dialog based on qt libraries which utilize the Assuan protocol as described by the aegypten project.
%package gtk2 %package gtk2
@ -58,17 +58,17 @@ A of simple PIN or passphrase entry dialog based on qt libraries which utilize t
%prep %prep
%setup -q %setup -q
cd qt4 #cd qt4
moc-qt4 pinentrydialog.h > pinentrydialog.moc #moc-qt4 pinentrydialog.h > pinentrydialog.moc
moc-qt4 qsecurelineedit.h > qsecurelineedit.moc #moc-qt4 qsecurelineedit.h > qsecurelineedit.moc
cd .. #cd ..
%build %build
%configure \ %configure \
--enable-pinentry-curses \ --enable-pinentry-curses \
--disable-pinentry-qt \ --enable-pinentry-qt \
--enable-pinentry-qt4 \
--enable-pinentry-gtk2 \ --enable-pinentry-gtk2 \
--enable-pinentry-gnome3 \
--enable-fallback-curses --enable-fallback-curses
%make %make
@ -102,20 +102,21 @@ if [ $1 -eq 1 ]; then
fi fi
exit 0 exit 0
%post qt4 %post qt
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-qt4 40 /usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-qt 40
exit 0 exit 0
%preun qt4 %preun qt
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-qt4 /usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-qt
fi fi
exit 0 exit 0
%posttrans qt4 %posttrans qt
# Fix an upgrade problem: alternatives removed from preun script # Fix an upgrade problem: alternatives removed from preun script
if [ $1 -eq 1 ]; then 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 /usr/sbin/update-alternatives --auto pinentry
fi fi
exit 0 exit 0
@ -151,23 +152,26 @@ exit 0
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/pinentry-curses %{_bindir}/pinentry-curses
%{_bindir}/pinentry-emacs
%{_infodir}/pinentry.info.* %{_infodir}/pinentry.info.*
%doc AUTHORS COPYING %doc AUTHORS COPYING
#%doc ChangeLog NEWS README THANKS TODO #%doc ChangeLog NEWS README THANKS TODO
%files qt4 %files qt
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/pinentry-qt4 %{_bindir}/pinentry-qt
%files gtk2 %files gtk2
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/pinentry-gtk-2 %{_bindir}/pinentry-gtk-2
%files gnome %files gnome
%defattr(-,root,root)
%{_bindir}/pinentry-gnome3 %{_bindir}/pinentry-gnome3
%changelog %changelog
* 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 * Tue Aug 18 2015 Automatic Build System <autodist@mambasoft.it> 0.9.5-1mamba
- automatic version update by autodist - automatic version update by autodist