2 |
%define dont_compress 1 |
%define dont_compress 1 |
3 |
|
|
4 |
Name: acme |
Name: acme |
5 |
Version: 1.2 |
Version: 2.0.0 |
6 |
Release: %mkrel 2 |
Release: %mkrel 1 |
7 |
Summary: Letsencrypt perl client |
Summary: Letsencrypt perl client |
8 |
License: GPLv3+ |
License: GPLv3+ |
9 |
Group: Development/Perl |
Group: Development/Perl |
35 |
install -m644 Acme.pm %{buildroot}%{perl_vendorlib}/Acme.pm |
install -m644 Acme.pm %{buildroot}%{perl_vendorlib}/Acme.pm |
36 |
|
|
37 |
# Install binaries |
# Install binaries |
38 |
install -m755 acmecert %{buildroot}%{_bindir}/ |
install -m755 acme %{buildroot}%{_bindir}/ |
|
install -m755 acmeconf %{buildroot}%{_bindir}/ |
|
|
install -m755 acmecron %{buildroot}%{_bindir}/ |
|
39 |
|
|
40 |
# Touch fake man to avoid error with man and info compression |
# Touch fake man to avoid error with man and info compression |
41 |
install -m644 acmecert.1 %{buildroot}/%{_mandir}/man1/ |
install -m644 acme.1 %{buildroot}/%{_mandir}/man1/ |
42 |
install -m644 acmeconf.1 %{buildroot}/%{_mandir}/man1/ |
install -m644 acme-cert.1 %{buildroot}/%{_mandir}/man1/ |
43 |
install -m644 acmecron.1 %{buildroot}/%{_mandir}/man1/ |
install -m644 acme-conf.1 %{buildroot}/%{_mandir}/man1/ |
44 |
|
install -m644 acme-cron.1 %{buildroot}/%{_mandir}/man1/ |
45 |
|
|
46 |
# Touch thumbprint file |
# Touch thumbprint file |
47 |
touch %{buildroot}/%{_sysconfdir}/%{name}/thumbprint |
touch %{buildroot}/%{_sysconfdir}/%{name}/thumbprint |
52 |
%config %{_sysconfdir}/%{name}/thumbprint |
%config %{_sysconfdir}/%{name}/thumbprint |
53 |
%{_datadir}/%{name}/acme-challenge.php |
%{_datadir}/%{name}/acme-challenge.php |
54 |
%{perl_vendorlib}/Acme.pm |
%{perl_vendorlib}/Acme.pm |
55 |
%{_bindir}/acmecert |
%{_bindir}/acme |
56 |
%{_bindir}/acmeconf |
%{_mandir}/man1/acme.1 |
57 |
%{_bindir}/acmecron |
%{_mandir}/man1/acme-cert.1 |
58 |
%{_mandir}/man1/acmecert.1 |
%{_mandir}/man1/acme-conf.1 |
59 |
%{_mandir}/man1/acmeconf.1 |
%{_mandir}/man1/acme-cron.1 |
|
%{_mandir}/man1/acmecron.1 |
|