update to 0.9.7 [release 0.9.7-1mamba;Fri Jan 01 2016]
This commit is contained in:
parent
0348f3ab22
commit
e65fe5ebe9
@ -1,5 +1,5 @@
|
||||
Name: pinentry
|
||||
Version: 0.9.5
|
||||
Version: 0.9.7
|
||||
Release: 1mamba
|
||||
Summary: A collection of simple PIN or passphrase entry dialogs
|
||||
Group: Applications/Security
|
||||
@ -33,13 +33,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
%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
|
||||
|
||||
%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 gtk2
|
||||
@ -58,17 +58,17 @@ A of simple PIN or passphrase entry dialog based on qt libraries which utilize t
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
cd qt4
|
||||
moc-qt4 pinentrydialog.h > pinentrydialog.moc
|
||||
moc-qt4 qsecurelineedit.h > qsecurelineedit.moc
|
||||
cd ..
|
||||
#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-qt \
|
||||
--enable-pinentry-gtk2 \
|
||||
--enable-pinentry-gnome3 \
|
||||
--enable-fallback-curses
|
||||
|
||||
%make
|
||||
@ -102,20 +102,21 @@ if [ $1 -eq 1 ]; then
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%post qt4
|
||||
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-qt4 40
|
||||
%post qt
|
||||
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-qt 40
|
||||
exit 0
|
||||
|
||||
%preun qt4
|
||||
%preun qt
|
||||
if [ $1 -eq 0 ]; then
|
||||
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-qt4
|
||||
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-qt
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%posttrans qt4
|
||||
%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
|
||||
@ -151,23 +152,26 @@ 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 qt
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/pinentry-qt4
|
||||
%{_bindir}/pinentry-qt
|
||||
|
||||
%files gtk2
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/pinentry-gtk-2
|
||||
|
||||
%files gnome
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/pinentry-gnome3
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user