gnupg2/gnupg2.spec

453 lines
16 KiB
RPMSpec

Name: gnupg2
Version: 2.5.0
Release: 2mamba
Summary: GnuPG is a complete and free replacement for PGP
Group: Applications/Security
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnupg.org
Source: https://gnupg.org/ftp/gcrypt/gnupg/gnupg-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libassuan-devel
BuildRequires: libbzip2-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel
BuildRequires: libksba-devel
BuildRequires: libnpth-devel
BuildRequires: libopenldap-devel
BuildRequires: libreadline-devel
BuildRequires: libsqlite-devel
BuildRequires: libtss2-devel
BuildRequires: libusb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libassuan-devel >= 0:3.0.1-1mamba
BuildRequires: libopensc-devel
BuildRequires: gettext-devel
BuildRequires: docbook2X
BuildRequires: libpcsclite-devel
Requires: pinentry >= 0.7.2
Requires(post):%{__install_info}
Provides: dirmngr
Obsoletes: dirmngr < 2.3.0
Provides: gnupg
Obsoletes: gnupg < 2.3.0
%description
GnuPG is a complete and free replacement for PGP. Because it does not use the patented IDEA algorithm, it can be used without any restrictions.
GnuPG is a RFC2440 (OpenPGP) compliant application.
%debug_package
%prep
%setup -q -n gnupg-%{version}
%build
%configure \
--disable-rpath \
--enable-maintainer-mode
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall pkgdatadir=%{_datadir}/gnupg2
ln -s gpg %{buildroot}%{_bindir}/gpg2
ln -s gpgv %{buildroot}%{_bindir}/gpgv2
# Install systemd user sockets to appropriate directory
units=({dirmngr,gpg-agent{,-{browser,extra,ssh}}}.socket)
socket_target_dir=%{_userunitdir}/sockets.target.wants/
install -d -m755 %{buildroot}%{_userunitdir}/sockets.target.wants
for unit in "${units[@]}"; do
ln -sv ../${unit} %{buildroot}%{_userunitdir}/sockets.target.wants/${unit}
done
%find_lang %{name}
rm -f %{buildroot}%{_infodir}/dir
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%install_info gnupg.info
:
%preun
%uninstall_info gnupg.info
:
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/dirmngr
%{_bindir}/dirmngr-client
%{_bindir}/gpg*
%{_bindir}/kbxutil
%{_bindir}/watchgnupg
%{_sbindir}/addgnupghome
%{_sbindir}/applygnupgdefaults
%dir %{_datadir}/gnupg2
%{_datadir}/gnupg2/*
%{_datadir}/doc/gnupg/*
%{_libexecdir}/gpg-*
%{_libexecdir}/dirmngr_ldap
%{_libexecdir}/keyboxd
%{_libexecdir}/scdaemon
%{_libexecdir}/tpm2daemon
%{_userunitdir}/sockets.target.wants/*.socket
%{_infodir}/gnupg.*
%{_mandir}/man1/*
%{_mandir}/man7/gnupg.7*
%{_mandir}/man8/addgnupghome.8*
%{_mandir}/man8/applygnupgdefaults.8*
%{_mandir}/man8/dirmngr.8*
%doc AUTHORS COPYING
%changelog
* Thu Dec 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-2mamba
- fix post and preun script errors due to commented systemd macros
* Sat Oct 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-1mamba
- update to 2.5.0
* Sun Jul 07 2024 Automatic Build System <autodist@mambasoft.it> 2.4.5-2mamba
- rebuilt by autoport with build requirements: libassuan-devel>=0:3.0.1-1mamba
* Fri Mar 08 2024 Automatic Build System <autodist@openmamba.org> 2.4.5-1mamba
- automatic version update by autodist
* Fri Jan 26 2024 Automatic Build System <autodist@openmamba.org> 2.4.4-1mamba
- automatic version update by autodist
* Wed Jul 05 2023 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
- automatic version update by autodist
* Wed May 31 2023 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
- automatic version update by autodist
* Sat Apr 29 2023 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist
* Sun Feb 05 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-2mamba
- install socket files under %{_userunitdir}/sockets.target.wants
* Mon Dec 26 2022 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
- automatic version update by autodist
* Fri Oct 14 2022 Automatic Build System <autodist@mambasoft.it> 2.3.8-1mamba
- automatic version update by autodist
* Mon Jul 11 2022 Automatic Build System <autodist@mambasoft.it> 2.3.7-1mamba
- automatic version update by autodist
* Tue Apr 26 2022 Automatic Build System <autodist@mambasoft.it> 2.3.6-1mamba
- automatic version update by autodist
* Thu Apr 21 2022 Automatic Build System <autodist@mambasoft.it> 2.3.5-1mamba
- automatic version update by autodist
* Tue Dec 21 2021 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
- automatic version update by autodist
* Thu Oct 14 2021 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
- automatic version update by autodist
* Wed Aug 25 2021 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
- automatic version update by autodist
* Sat Jul 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-2mamba
- install and enable user unit files
* Tue Apr 20 2021 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
- automatic version update by autodist
* Fri Apr 09 2021 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
* Tue Jan 12 2021 Automatic Build System <autodist@mambasoft.it> 2.2.27-1mamba
- automatic version update by autodist
* Wed Dec 23 2020 Automatic Build System <autodist@mambasoft.it> 2.2.26-1mamba
- automatic version update by autodist
* Tue Nov 24 2020 Automatic Build System <autodist@mambasoft.it> 2.2.25-1mamba
- automatic version update by autodist
* Tue Nov 17 2020 Automatic Build System <autodist@mambasoft.it> 2.2.24-1mamba
- automatic version update by autodist
* Thu Sep 03 2020 Automatic Build System <autodist@mambasoft.it> 2.2.23-1mamba
- automatic version update by autodist
* Wed Sep 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.22-2mamba
- provide/obsolete gnupg
* Tue Sep 01 2020 Automatic Build System <autodist@mambasoft.it> 2.2.22-1mamba
- automatic version update by autodist
* Thu Jul 09 2020 Automatic Build System <autodist@mambasoft.it> 2.2.21-1mamba
- automatic version update by autodist
* Sat Mar 21 2020 Automatic Build System <autodist@mambasoft.it> 2.2.20-1mamba
- automatic version update by autodist
* Sat Dec 07 2019 Automatic Build System <autodist@mambasoft.it> 2.2.19-1mamba
- automatic version update by autodist
* Tue Nov 26 2019 Automatic Build System <autodist@mambasoft.it> 2.2.18-1mamba
- automatic version update by autodist
* Wed Jul 10 2019 Automatic Build System <autodist@mambasoft.it> 2.2.17-1mamba
- automatic version update by autodist
* Wed May 29 2019 Automatic Build System <autodist@mambasoft.it> 2.2.16-1mamba
- automatic version update by autodist
* Tue Mar 26 2019 Automatic Build System <autodist@mambasoft.it> 2.2.15-1mamba
- automatic version update by autodist
* Tue Mar 19 2019 Automatic Build System <autodist@mambasoft.it> 2.2.14-1mamba
- automatic version update by autodist
* Tue Feb 12 2019 Automatic Build System <autodist@mambasoft.it> 2.2.13-1mamba
- automatic version update by autodist
* Sat Dec 15 2018 Automatic Build System <autodist@mambasoft.it> 2.2.12-1mamba
- automatic version update by autodist
* Sun Nov 11 2018 Automatic Build System <autodist@mambasoft.it> 2.2.11-1mamba
- automatic version update by autodist
* Thu Aug 30 2018 Automatic Build System <autodist@mambasoft.it> 2.2.10-1mamba
- automatic version update by autodist
* Thu Jul 12 2018 Automatic Build System <autodist@mambasoft.it> 2.2.9-1mamba
- automatic version update by autodist
* Fri Jun 08 2018 Automatic Build System <autodist@mambasoft.it> 2.2.8-1mamba
- automatic version update by autodist
* Thu May 03 2018 Automatic Build System <autodist@mambasoft.it> 2.2.7-1mamba
- automatic version update by autodist
* Tue Apr 10 2018 Automatic Build System <autodist@mambasoft.it> 2.2.6-1mamba
- automatic version update by autodist
* Fri Feb 23 2018 Automatic Build System <autodist@mambasoft.it> 2.2.5-1mamba
- automatic version update by autodist
* Sun Dec 24 2017 Automatic Build System <autodist@mambasoft.it> 2.2.4-1mamba
- automatic version update by autodist
* Sun Nov 26 2017 Automatic Build System <autodist@mambasoft.it> 2.2.3-1mamba
- automatic update by autodist
* Thu Nov 09 2017 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
- automatic version update by autodist
* Thu Sep 21 2017 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic version update by autodist
* Sat Sep 02 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-2mamba
- rebuilt with --enable-gpg-is-gpg2 and obsolete dirmngr
* Fri Sep 01 2017 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
- automatic version update by autodist
* Mon Aug 14 2017 Automatic Build System <autodist@mambasoft.it> 2.1.23-1mamba
- automatic version update by autodist
* Fri Aug 04 2017 Automatic Build System <autodist@mambasoft.it> 2.1.22-1mamba
- automatic version update by autodist
* Thu May 18 2017 Automatic Build System <autodist@mambasoft.it> 2.1.21-1mamba
- automatic version update by autodist
* Thu Apr 06 2017 Automatic Build System <autodist@mambasoft.it> 2.1.20-1mamba
- automatic version update by autodist
* Sat Mar 04 2017 Automatic Build System <autodist@mambasoft.it> 2.1.19-1mamba
- automatic version update by autodist
* Thu Jan 26 2017 Automatic Build System <autodist@mambasoft.it> 2.1.18-1mamba
- automatic version update by autodist
* Thu Dec 22 2016 Automatic Build System <autodist@mambasoft.it> 2.1.17-1mamba
- automatic version update by autodist
* Tue Nov 22 2016 Automatic Build System <autodist@mambasoft.it> 2.1.16-1mamba
- automatic version update by autodist
* Fri Aug 19 2016 Automatic Build System <autodist@mambasoft.it> 2.1.15-1mamba
- automatic version update by autodist
* Fri Jul 22 2016 Automatic Build System <autodist@mambasoft.it> 2.1.14-1mamba
- automatic version update by autodist
* Fri Jun 17 2016 Automatic Build System <autodist@mambasoft.it> 2.1.13-1mamba
- automatic version update by autodist
* Thu May 05 2016 Automatic Build System <autodist@mambasoft.it> 2.1.12-1mamba
- automatic version update by autodist
* Sun Jan 31 2016 Automatic Build System <autodist@mambasoft.it> 2.1.11-2mamba
- automatic version update by autodist
* Thu Jan 28 2016 Automatic Build System <autodist@mambasoft.it> 2.1.11-1mamba
- automatic version update by autodist
* Fri Dec 18 2015 Automatic Build System <autodist@mambasoft.it> 2.1.10-1mamba
- automatic version update by autodist
* Sun Oct 11 2015 Automatic Build System <autodist@mambasoft.it> 2.1.9-2mamba
- automatic version update by autodist
* Sat Oct 10 2015 Automatic Build System <autodist@mambasoft.it> 2.1.9-1mamba
- automatic version update by autodist
* Fri Sep 11 2015 Automatic Build System <autodist@mambasoft.it> 2.1.8-1mamba
- automatic version update by autodist
* Wed Aug 12 2015 Automatic Build System <autodist@mambasoft.it> 2.1.7-1mamba
- automatic version update by autodist
* Thu Jul 02 2015 Automatic Build System <autodist@mambasoft.it> 2.1.6-1mamba
- automatic version update by autodist
* Fri Jun 12 2015 Automatic Build System <autodist@mambasoft.it> 2.1.5-2mamba
- automatic version update by autodist
* Fri Jun 12 2015 Automatic Build System <autodist@mambasoft.it> 2.1.5-1mamba
- automatic version update by autodist
* Wed May 13 2015 Automatic Build System <autodist@mambasoft.it> 2.1.4-1mamba
- automatic version update by autodist
* Sun Apr 19 2015 Automatic Build System <autodist@mambasoft.it> 2.1.3-1mamba
- automatic version update by autodist
* Fri Feb 13 2015 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
- automatic version update by autodist
* Sat Dec 27 2014 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
- automatic version update by autodist
* Wed Aug 13 2014 Automatic Build System <autodist@mambasoft.it> 2.0.26-1mamba
- automatic version update by autodist
* Tue Jul 01 2014 Automatic Build System <autodist@mambasoft.it> 2.0.25-1mamba
- automatic version update by autodist
* Wed Jun 25 2014 Automatic Build System <autodist@mambasoft.it> 2.0.24-1mamba
- automatic version update by autodist
* Wed Jun 04 2014 Automatic Build System <autodist@mambasoft.it> 2.0.23-1mamba
- automatic version update by autodist
* Sat Oct 05 2013 Automatic Build System <autodist@mambasoft.it> 2.0.22-1mamba
- automatic version update by autodist
* Tue Aug 20 2013 Automatic Build System <autodist@mambasoft.it> 2.0.21-1mamba
- automatic version update by autodist
* Sat May 11 2013 Automatic Build System <autodist@mambasoft.it> 2.0.20-1mamba
- automatic version update by autodist
* Tue Apr 10 2012 Automatic Build System <autodist@mambasoft.it> 2.0.19-1mamba
- automatic version update by autodist
* Fri Aug 05 2011 Automatic Build System <autodist@mambasoft.it> 2.0.18-1mamba
- automatic version update by autodist
* Fri Jan 14 2011 Automatic Build System <autodist@mambasoft.it> 2.0.17-1mamba
- automatic update by autodist
* Mon Jul 19 2010 Automatic Build System <autodist@mambasoft.it> 2.0.16-1mamba
- automatic update to 2.0.16 by autodist
* Tue Mar 09 2010 Automatic Build System <autodist@mambasoft.it> 2.0.15-1mamba
- automatic update to 2.0.15 by autodist
* Tue Dec 22 2009 Automatic Build System <autodist@mambasoft.it> 2.0.14-1mamba
- automatic update to 2.0.14 by autodist
* Sat Sep 05 2009 Automatic Build System <autodist@mambasoft.it> 2.0.13-1mamba
- automatic update to 2.0.13 by autodist
* Wed Jun 17 2009 Automatic Build System <autodist@mambasoft.it> 2.0.12-1mamba
- automatic update to 2.0.12 by autodist
* Tue Mar 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.11-1mamba
- automatic update to 2.0.11 by autodist
* Fri Jan 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.10-1mamba
- automatic update to 2.0.10 by autodist
* Tue May 13 2008 Aleph0 <aleph0@openmamba.org> 2.0.9-1mamba
- update to 2.0.9
* Mon Jan 07 2008 Aleph0 <aleph0@openmamba.org> 2.0.8-1mamba
- update to 2.0.8 (GnuPG's 10th birthday celebration release)
* Tue Sep 11 2007 Aleph0 <aleph0@openmamba.org> 2.0.7-1mamba
- update to 2.0.7
* Mon Jul 09 2007 Aleph0 <aleph0@openmamba.org> 2.0.5-1mamba
- update to 2.0.5
* Wed May 09 2007 Aleph0 <aleph0@openmamba.org> 2.0.4-1mamba
- update to 2.0.4
* Sun Mar 04 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-1qilnx
- update to version 2.0.2 by autospec
* Wed Oct 11 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.9.22-1qilnx
- update to version 1.9.22 by autospec
- dropped patches against CVE-2006-3082 and CVE-2006-3746 (merged upstream)
* Wed Aug 30 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.9.21-2qilnx
- fixed the security issue CVE-2006-3746 (qibug#219)
* Thu Jun 22 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.9.21-1qilnx
- update to version 1.9.21 by autospec
- fixed the security issue CVE-2006-3082 (qibug#188)
* Mon Feb 20 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.9.20-2qilnx
- building of deprecated gpg part disabled (see CVE-2006-0455)
* Wed Dec 21 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.9.20-1qilnx
- update to version 1.9.20 by autospec
- new gpg and symcryptrun binaries
* Wed Sep 14 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.9.19-1qilnx
- update to version 1.9.19 by autospec
* Thu Mar 24 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.9.15-1qilnx
- update to version 1.9.15 by autospec
- added documentation and copying file
- specfile updates (%%[un]install_info, %%find_lang)
* Tue Oct 12 2004 Silvan Calarco <silvan.calarco@qilinuxt.i> 1.9.11-1qilnx
- creation of gnupg2 package
* Tue Jul 27 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.5-1qilnx
- update to 1.2.5
* Tue Feb 17 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.4-1qilnx
- new version rebuilt
* Fri Nov 28 2003 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.3-1qilnx
- updated to the new release
- added the David Shaw's patch to remove ElGamal signing keys (security patch)
* Fri Jul 25 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.2.2-1qilnx
- creation of gnupg package