package fltk binding apart [release 1.2.1-2mamba;Thu Jan 11 2024]

This commit is contained in:
Silvan Calarco 2024-01-11 21:11:13 +01:00
parent 2d715d244b
commit 3d7ba549e1

View File

@ -1,6 +1,6 @@
Name: pinentry Name: pinentry
Version: 1.2.1 Version: 1.2.1
Release: 1mamba Release: 2mamba
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
Vendor: openmamba Vendor: openmamba
@ -20,14 +20,14 @@ BuildRequires: libXft-devel
BuildRequires: libXinerama-devel BuildRequires: libXinerama-devel
BuildRequires: libXrender-devel BuildRequires: libXrender-devel
BuildRequires: libassuan-devel BuildRequires: libassuan-devel
BuildRequires: libatk-devel BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libefl-devel BuildRequires: libefl-devel
BuildRequires: libfltk-devel BuildRequires: libfltk-devel
BuildRequires: libfontconfig-devel BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel BuildRequires: libfreetype-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libgcr-devel BuildRequires: libgcr3-devel
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgpg-error-devel BuildRequires: libgpg-error-devel
@ -43,6 +43,7 @@ BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires(post):%{__install_info} Requires(post):%{__install_info}
Requires(post): chkconfig
%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.
@ -63,6 +64,13 @@ Group: Graphical Desktop/Applications/Security
%description efl %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. 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 %package gtk2
Summary: A simple PIN entry dialog based on Gtk2 libraries Summary: A simple PIN entry dialog based on Gtk2 libraries
Group: Graphical Desktop/Applications/Security Group: Graphical Desktop/Applications/Security
@ -98,6 +106,8 @@ A of simple PIN or passphrase entry dialog based on qt libraries which utilize t
%makeinstall %makeinstall
rm -f %{buildroot}%{_bindir}/pinentry rm -f %{buildroot}%{_bindir}/pinentry
rm -f %{buildroot}%{_infodir}/dir
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -105,14 +115,14 @@ rm -f %{buildroot}%{_bindir}/pinentry
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-curses 20 /usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-curses 20
/usr/sbin/update-alternatives --auto pinentry /usr/sbin/update-alternatives --auto pinentry
%install_info pinentry.info %install_info pinentry.info
exit 0 :
%preun %preun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-curses /usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-curses
%uninstall_info pinentry.info %uninstall_info pinentry.info
fi fi
exit 0 :
%posttrans %posttrans
# Fix an upgrade problem: alternatives removed from preun script # Fix an upgrade problem: alternatives removed from preun script
@ -120,17 +130,37 @@ if [ $1 -eq 1 ]; then
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-curses 20 /usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-curses 20
/usr/sbin/update-alternatives --auto pinentry /usr/sbin/update-alternatives --auto pinentry
fi fi
exit 0 :
%post efl
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-efl 30
:
%preun efl
if [ $1 -eq 0 ]; then
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-efl
fi
:
%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 %post qt
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-qt 40 /usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-qt 40
exit 0 :
%preun qt %preun qt
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-qt /usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-qt
fi fi
exit 0 :
%posttrans qt %posttrans qt
# Fix an upgrade problem: alternatives removed from preun script # Fix an upgrade problem: alternatives removed from preun script
@ -139,27 +169,27 @@ if [ $1 -eq 1 ]; then
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-qt 40 /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 :
%post gtk2 %post gtk2
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-gtk-2 30 /usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-gtk-2 30
exit 0 :
%preun gtk2 %preun gtk2
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-gtk2 /usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-gtk2
fi fi
exit 0 :
%post gnome %post gnome
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-gnome-2 35 /usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-gnome-2 35
exit 0 :
%preun gnome %preun gnome
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
/usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-gnome /usr/sbin/update-alternatives --remove pinentry %{_bindir}/pinentry-gnome
fi fi
exit 0 :
%posttrans gtk2 %posttrans gtk2
# Fix an upgrade problem: alternatives removed from preun script # Fix an upgrade problem: alternatives removed from preun script
@ -167,12 +197,11 @@ if [ $1 -eq 1 ]; then
/usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-gtk-2 30 /usr/sbin/update-alternatives --install %{_bindir}/pinentry pinentry %{_bindir}/pinentry-gtk-2 30
/usr/sbin/update-alternatives --auto pinentry /usr/sbin/update-alternatives --auto pinentry
fi fi
exit 0 :
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/pinentry-curses %{_bindir}/pinentry-curses
%{_bindir}/pinentry-fltk
%{_infodir}/pinentry.info.* %{_infodir}/pinentry.info.*
%doc AUTHORS COPYING %doc AUTHORS COPYING
#%doc ChangeLog NEWS README THANKS TODO #%doc ChangeLog NEWS README THANKS TODO
@ -182,6 +211,10 @@ exit 0
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/pinentry-efl %{_bindir}/pinentry-efl
%files fltk
%defattr(-,root,root)
%{_bindir}/pinentry-fltk
%files qt %files qt
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/pinentry-qt %{_bindir}/pinentry-qt
@ -195,6 +228,9 @@ exit 0
%{_bindir}/pinentry-gnome3 %{_bindir}/pinentry-gnome3
%changelog %changelog
* 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 * Thu Sep 01 2022 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist - automatic version update by autodist