2024-01-05 21:10:17 +01:00
Name : certbot
2024-01-05 21:10:20 +01:00
Version : 1.8.0
Release : 1mamba
2024-01-05 21:10:17 +01:00
Summary : A fully-featured, extensible client for the Let's Encrypt CA
Group : System/Libraries
Vendor : openmamba
Distribution : openmamba
Packager : Silvan Calarco <silvan.calarco@mambasoft.it>
URL : https://letsencrypt.org
## GITSOURCE https://github.com/letsencrypt/letsencrypt.git v0.1.0
Source : https://github.com/certbot/certbot.git/v%{version} /certbot-%{version} .tar.bz2
#Source: https://github.com/letsencrypt/letsencrypt.git/v%{version}/letsencrypt-%{version}.tar.bz2
Patch0 : python-letsencrypt-0.1.0-use-configargparse.patch
Patch1 : letsencrypt-0.1.1-acme-0.1.1.patch
License : Apache License 2.0
## AUTOBUILDREQ-BEGIN
2024-01-05 21:10:19 +01:00
BuildRequires : libpython3-devel
2024-01-05 21:10:17 +01:00
## AUTOBUILDREQ-END
2024-01-05 21:10:19 +01:00
Requires : python3 >= %python3_version
Requires : python-acme-py3 == %{version}
#Requires: python-argparse
Requires : python-augeas-py3
Requires : python-configobj-py3
Requires : python-cryptography-py3
Requires : python-configargparse-py3
Requires : python-distro-py3
#Requires: python-funcsigs >= 1.0
Requires : python-josepy-py3
Requires : python-mock-py3
Requires : python-parsedatetime-py3
Requires : python-pyrfc3339-py3
#Requires: python-pythondialog
Requires : python-psutil-py3
Requires : python-requests-py3
Requires : python-setuptools-py3
Requires : python-six-py3
Requires : python-tz-py3
Requires : python-zope-component-py3
Requires : python-zope-interface-py3
2024-01-05 21:10:19 +01:00
Requires : python-pyrfc3339-py3
Requires : python-parsedatetime-py3
Requires : python-mock-py3
Requires : python-josepy-py3
Requires : python-configobj-py3
Requires : python-configargparse-py3
2024-01-05 21:10:17 +01:00
Provides : letsencrypt
Obsoletes : letsencrypt
BuildRoot : %{_tmppath} /%{name} -%{version} -root
%description
The Let's Encrypt Client is a fully-featured, extensible client for the Let' s Encrypt CA (or any other CA that speaks the ACME protocol) that can automate the tasks of obtaining certificates and configuring webservers to use them.
2024-01-05 21:10:18 +01:00
%package apache
Group : System/Libraries
Summary : Apache plugin for %{name}
Requires : %{name} = %{?epoch:%epoch:}%{version} -%{release}
Requires : apache
%description apache
The Let's Encrypt Client is a fully-featured, extensible client for the Let' s Encrypt CA (or any other CA that speaks the ACME protocol) that can automate the tasks of obtaining certificates and configuring webservers to use them.
This package provides the apache plugin.
%package postfix
Group : System/Libraries
Summary : Postfix plugin for %{name}
Requires : %{name} = %{?epoch:%epoch:}%{version} -%{release}
Requires : postfix
%description postfix
The Let's Encrypt Client is a fully-featured, extensible client for the Let' s Encrypt CA (or any other CA that speaks the ACME protocol) that can automate the tasks of obtaining certificates and configuring webservers to use them.
This package provides the postfix plugin.
2024-01-05 21:10:17 +01:00
%prep
%setup -q
#% patch0 -p1
#%patch1 -p1
%build
2024-01-05 21:10:19 +01:00
cd certbot
2024-01-05 21:10:19 +01:00
CFLAGS=" %{optflags} " %{__python 3} setup.py build
2024-01-05 21:10:19 +01:00
cd ..
2024-01-05 21:10:17 +01:00
2024-01-05 21:10:19 +01:00
for d in apache; do
2024-01-05 21:10:18 +01:00
cd certbot-$d
2024-01-05 21:10:19 +01:00
CFLAGS=" %{optflags} " %{__python 3} setup.py build
2024-01-05 21:10:18 +01:00
cd ..
done
2024-01-05 21:10:17 +01:00
%install
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
2024-01-05 21:10:19 +01:00
cd certbot
2024-01-05 21:10:19 +01:00
%{__python 3} setup.py install \
2024-01-05 21:10:17 +01:00
-O1 --skip-build \
--root=" %{buildroot} " \
--install-headers=%{_includedir} /python \
2024-01-05 21:10:19 +01:00
--install-lib=%{python3_sitearch} \
2024-01-05 21:10:17 +01:00
--record=%{name} .filelist
2024-01-05 21:10:19 +01:00
cd ..
2024-01-05 21:10:17 +01:00
2024-01-05 21:10:19 +01:00
for d in apache; do
2024-01-05 21:10:18 +01:00
cd certbot-$d
2024-01-05 21:10:19 +01:00
%{__python 3} setup.py install \
2024-01-05 21:10:18 +01:00
-O1 --skip-build \
--root=" %{buildroot} " \
--install-headers=%{_includedir} /python \
2024-01-05 21:10:19 +01:00
--install-lib=%{python3_sitearch} \
2024-01-05 21:10:18 +01:00
--record=%{name} .filelist
cd ..
done
2024-01-05 21:10:17 +01:00
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
install -d -m0755 %{buildroot} %{_sysconfdir} /letsencrypt
install -d -m0755 %{buildroot} %{_localstatedir} /log/letsencrypt
install -d -m0755 %{buildroot} %{_sysconfdir} /cron.weekly
cat > %{buildroot} %{_sysconfdir} /cron.weekly/certbot << _EOF
#!/bin/bash
certbot renew
systemctl reload httpd
_EOF
2024-01-05 21:10:20 +01:00
%posttrans
for v in 1.3.0 1.4.0 1.5.0 1.6.0; do
[ -e %{python3_sitearch} /certbot-${v}-py*.egg-info ] && \
rmdir %{python3_sitearch} /certbot-${v}-py*.egg-info
done
:
2024-01-05 21:10:19 +01:00
%files -f certbot/%{name}.filelist
2024-01-05 21:10:17 +01:00
%defattr (-,root,root)
%dir %{_sysconfdir} /letsencrypt
%attr (0755,root,root) %{_sysconfdir} /cron.weekly/certbot
%dir %{_localstatedir} /log/letsencrypt
2024-01-05 21:10:20 +01:00
%dir %{python3_sitearch} /certbot-%{version} -py*.egg-info
2024-01-05 21:10:17 +01:00
2024-01-05 21:10:18 +01:00
%files apache -f certbot-apache/%{name}.filelist
%defattr (-,root,root)
2024-01-05 21:10:19 +01:00
#%files postfix -f certbot-postfix/%{name}.filelist
#%defattr(-,root,root)
2024-01-05 21:10:18 +01:00
2024-01-05 21:10:17 +01:00
%changelog
2024-01-05 21:10:20 +01:00
* Wed Sep 09 2020 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:20 +01:00
* Sun Aug 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.0-2mamba
- remove old egg-info dirs causing errors to launch
* Wed Aug 05 2020 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:20 +01:00
* Wed Jul 08 2020 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:20 +01:00
* Wed Jun 03 2020 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Thu May 07 2020 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Fri May 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-3mamba
- added certbot py3 requirements
2024-01-05 21:10:19 +01:00
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
- rebuilt with python3
* Wed Mar 04 2020 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Wed Feb 05 2020 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Wed Jan 22 2020 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Sun Dec 08 2019 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Wed Nov 20 2019 Automatic Build System <autodist@mambasoft.it> 0.40.1-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Wed Oct 23 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.39.0-2mamba
- require python-distro
2024-01-05 21:10:19 +01:00
* Sat Oct 05 2019 Automatic Build System <autodist@mambasoft.it> 0.39.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Tue Sep 10 2019 Automatic Build System <autodist@mambasoft.it> 0.38.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Thu Aug 22 2019 Automatic Build System <autodist@mambasoft.it> 0.37.2-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Fri Aug 09 2019 Automatic Build System <autodist@mambasoft.it> 0.37.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Sat Jul 20 2019 Automatic Build System <autodist@mambasoft.it> 0.36.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Wed Jun 12 2019 Automatic Build System <autodist@mambasoft.it> 0.35.1-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Thu Jun 06 2019 Automatic Build System <autodist@mambasoft.it> 0.35.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Wed May 08 2019 Automatic Build System <autodist@mambasoft.it> 0.34.2-1mamba
- automatic version update by autodist
* Tue May 07 2019 Automatic Build System <autodist@mambasoft.it> 0.34.1-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Fri May 03 2019 Automatic Build System <autodist@mambasoft.it> 0.34.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Sun Apr 07 2019 Automatic Build System <autodist@mambasoft.it> 0.33.1-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Thu Apr 04 2019 Automatic Build System <autodist@mambasoft.it> 0.33.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Fri Mar 08 2019 Automatic Build System <autodist@mambasoft.it> 0.32.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:19 +01:00
* Sat Feb 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.31.0-2mamba
- require python-augeas
* Fri Feb 08 2019 Automatic Build System <autodist@mambasoft.it> 0.31.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Mon Jan 28 2019 Automatic Build System <autodist@mambasoft.it> 0.30.2-1mamba
- automatic version update by autodist
* Fri Jan 04 2019 Automatic Build System <autodist@mambasoft.it> 0.30.0-1mamba
- automatic version update by autodist
* Thu Dec 06 2018 Automatic Build System <autodist@mambasoft.it> 0.29.1-1mamba
- automatic version update by autodist
* Thu Dec 06 2018 Automatic Build System <autodist@mambasoft.it> 0.29.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Sun Nov 11 2018 Automatic Build System <autodist@mambasoft.it> 0.28.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Sat Oct 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.27.1-2mamba
- install apache plugin
2024-01-05 21:10:18 +01:00
* Fri Sep 07 2018 Automatic Build System <autodist@mambasoft.it> 0.27.1-1mamba
- automatic version update by autodist
* Thu Sep 06 2018 Automatic Build System <autodist@mambasoft.it> 0.27.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Mon Aug 06 2018 Automatic Build System <autodist@mambasoft.it> 0.26.1-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Sun Jul 01 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.25.1-2mamba
- require python-requests-toolbelt
2024-01-05 21:10:18 +01:00
* Thu Jun 14 2018 Automatic Build System <autodist@mambasoft.it> 0.25.1-1mamba
- automatic version update by autodist
* Thu Jun 07 2018 Automatic Build System <autodist@mambasoft.it> 0.25.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Thu May 03 2018 Automatic Build System <autodist@mambasoft.it> 0.24.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Mon Apr 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.23.0-2mamba
- require python-josepy
* Thu Apr 05 2018 Automatic Build System <autodist@mambasoft.it> 0.23.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Tue Mar 20 2018 Automatic Build System <autodist@mambasoft.it> 0.22.2-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Thu Mar 08 2018 Automatic Build System <autodist@mambasoft.it> 0.22.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Sun Jan 28 2018 Automatic Build System <autodist@mambasoft.it> 0.21.1-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Thu Jan 18 2018 Automatic Build System <autodist@mambasoft.it> 0.21.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 0.20.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Thu Oct 05 2017 Automatic Build System <autodist@mambasoft.it> 0.19.0-1mamba
- automatic version update by autodist
* Thu Sep 21 2017 Automatic Build System <autodist@mambasoft.it> 0.18.2-1mamba
- automatic version update by autodist
* Wed Sep 13 2017 Automatic Build System <autodist@mambasoft.it> 0.18.1-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Thu Aug 03 2017 Automatic Build System <autodist@mambasoft.it> 0.17.0-1mamba
- automatic version update by autodist
* Fri Jul 07 2017 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
- automatic version update by autodist
* Fri Jun 09 2017 Automatic Build System <autodist@mambasoft.it> 0.15.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Fri May 26 2017 Automatic Build System <autodist@mambasoft.it> 0.14.2-1mamba
- automatic version update by autodist
* Thu May 18 2017 Automatic Build System <autodist@mambasoft.it> 0.14.1-1mamba
- automatic version update by autodist
* Fri May 05 2017 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:18 +01:00
* Thu Apr 13 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.0-2mamba
- require python-argparse
2024-01-05 21:10:18 +01:00
* Fri Apr 07 2017 Automatic Build System <autodist@mambasoft.it> 0.13.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:17 +01:00
* Sat Mar 04 2017 Automatic Build System <autodist@mambasoft.it> 0.12.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:17 +01:00
* Sat Feb 04 2017 Automatic Build System <autodist@mambasoft.it> 0.11.1-1mamba
- automatic version update by autodist
2024-01-05 21:10:17 +01:00
* Sun Jan 29 2017 Automatic Build System <autodist@mambasoft.it> 0.10.2-1mamba
- automatic version update by autodist
2024-01-05 21:10:17 +01:00
* Sun Jan 15 2017 Automatic Build System <autodist@mambasoft.it> 0.10.1-1mamba
- automatic version update by autodist
* Thu Jan 12 2017 Automatic Build System <autodist@mambasoft.it> 0.10.0-1mamba
- automatic version update by autodist
2024-01-05 21:10:17 +01:00
* Mon Oct 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-2mamba
- remove %{_bindir} /letsencrypt symlink
* Mon Oct 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-1mamba
- update to 0.9.3
* Mon Aug 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-1mamba
- update to 0.8.1
* Wed Apr 06 2016 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
- automatic version update by autodist
* Fri Mar 04 2016 Automatic Build System <autodist@mambasoft.it> 0.4.2-1mamba
- automatic version update by autodist
* Tue Mar 01 2016 Automatic Build System <autodist@mambasoft.it> 0.4.1-1mamba
- automatic version update by autodist
* Sun Feb 14 2016 Automatic Build System <autodist@mambasoft.it> 0.4.0-1mamba
- automatic version update by autodist
* Thu Jan 28 2016 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
- automatic version update by autodist
* Sat Jan 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-1mamba
- update to 0.2.0
* Sat Dec 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-2mamba
- upstream patch to fix version check for python-acme
* Wed Dec 16 2015 Automatic Build System <autodist@mambasoft.it> 0.1.1-1mamba
- automatic version update by autodist
* Sun Dec 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-4mamba
- require python-setuptools, not python-setuptool
* Tue Dec 08 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-3mamba
- require python-setuptool
* Sat Dec 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-2mamba
- added some missing python requires
* Sat Dec 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-1mamba
- package created using the webbuild interface