install apache plugin [release 0.27.1-2mamba;Sat Oct 06 2018]
This commit is contained in:
parent
1c424bc060
commit
2b1e720348
48
certbot.spec
48
certbot.spec
@ -1,6 +1,6 @@
|
|||||||
Name: certbot
|
Name: certbot
|
||||||
Version: 0.27.1
|
Version: 0.27.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A fully-featured, extensible client for the Let's Encrypt CA
|
Summary: A fully-featured, extensible client for the Let's Encrypt CA
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -44,6 +44,26 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||||||
%description
|
%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.
|
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.
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
#% patch0 -p1
|
#% patch0 -p1
|
||||||
@ -52,6 +72,12 @@ The Let's Encrypt Client is a fully-featured, extensible client for the Let's En
|
|||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
|
for d in apache postfix; do
|
||||||
|
cd certbot-$d
|
||||||
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
cd ..
|
||||||
|
done
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python} setup.py install \
|
||||||
@ -61,6 +87,17 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python_sitearch} \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
for d in apache postfix; do
|
||||||
|
cd certbot-$d
|
||||||
|
%{__python} setup.py install \
|
||||||
|
-O1 --skip-build \
|
||||||
|
--root="%{buildroot}" \
|
||||||
|
--install-headers=%{_includedir}/python \
|
||||||
|
--install-lib=%{python_sitearch} \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
cd ..
|
||||||
|
done
|
||||||
|
|
||||||
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
install -d -m0755 %{buildroot}%{_sysconfdir}/letsencrypt
|
install -d -m0755 %{buildroot}%{_sysconfdir}/letsencrypt
|
||||||
@ -80,7 +117,16 @@ _EOF
|
|||||||
%dir %{_localstatedir}/log/letsencrypt
|
%dir %{_localstatedir}/log/letsencrypt
|
||||||
#%{python_sitearch}/letsencrypt-%{version}-py*.egg-info/*
|
#%{python_sitearch}/letsencrypt-%{version}-py*.egg-info/*
|
||||||
|
|
||||||
|
%files apache -f certbot-apache/%{name}.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
%files postfix -f certbot-postfix/%{name}.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.27.1-2mamba
|
||||||
|
- install apache plugin
|
||||||
|
|
||||||
* Fri Sep 07 2018 Automatic Build System <autodist@mambasoft.it> 0.27.1-1mamba
|
* Fri Sep 07 2018 Automatic Build System <autodist@mambasoft.it> 0.27.1-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user