3 Star 0 Fork 0

mirrors_srvrco/getssl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
getssl.spec 1.56 KB
一键复制 编辑 原始数据 按行查看 历史
Tim Kimber 提交于 1年前 . Update version to 2.49
%define _build_id_links none
%define debug_package %{nil}
# set this to true or the rpmbuild will fail with errors due to shebang defines
# in some of the dns scripts for python
%global __brp_mangle_shebangs /usr/bin/true
Summary: getssl ACME Scripts for managing Let's Encrypt certificates
License: GPL
Packager: getssl developers <https://github.com/srvrco/getssl>
Name: getssl
Version: 2.49
Release: 1
URL: http://github.com/srvrco/getssl/
Source0: %{name}-%{version}.tar.gz
Source1: getssl.crontab
Source2: getssl.logrotate
BuildArch: noarch
Requires: bash
BuildRequires: bash
%description
The %{name} package contains the getssl scripts, crontab files, and logrotate files for implementing automated creation and installation of SSL certificates from the Let's Encrypt ACME website.
%prep
%setup -q -n %{name}-%{version}
%build
%install
[ -n "%{buildroot}" -a "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
%{__mkdir_p} %{buildroot}%{_bindir}
%{__mkdir_p} %{buildroot}%{_datadir}/getssl/dns_scripts
%{__mkdir_p} %{buildroot}%{_datadir}/getssl/other_scripts
%{__make} \
DESTDIR=%{buildroot} \
install
install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/cron.d/getssl
install -Dpm 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/getssl
%pre
%post
%preun
%postun
%files
%defattr(-,root,root)
%{_bindir}/getssl
%{_datadir}/getssl/dns_scripts/*
%{_datadir}/getssl/other_scripts/*
%{_sysconfdir}/cron.d/getssl
%{_sysconfdir}/logrotate.d/getssl
%changelog
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_srvrco/getssl.git
git@gitee.com:mirrors_srvrco/getssl.git
mirrors_srvrco
getssl
getssl
master

搜索帮助