/[packages]/cauldron/acme/current/SPECS/acme.spec
ViewVC logotype

Annotation of /cauldron/acme/current/SPECS/acme.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1813634 - (hide annotations) (download)
Mon Mar 21 11:30:36 2022 UTC (2 years ago) by umeabot
File size: 1655 byte(s)
Mageia 9 Mass Rebuild
1 rapsys 1096030 # Avoid problem without man and info
2     %define dont_compress 1
3    
4     Name: acme
5 rapsys 1648382 Version: 2.0.1
6 umeabot 1813634 Release: %mkrel 2
7 rapsys 1096030 Summary: Letsencrypt perl client
8     License: GPLv3+
9     Group: Development/Perl
10 rapsys 1463895 Url: https://git.rapsys.eu/%{name}/
11 rapsys 1096030 Source0: %{name}-%{version}.tar.xz
12     BuildArch: noarch
13     Requires: php-json perl(LWP::Protocol::https)
14     Provides: perl(Acme)
15    
16     %description
17     This program allow you to configure, generate and automate
18     letsencrypt certificate generation.
19    
20     %prep
21 rapsys 1108103 %setup -q -n %{name}
22 rapsys 1096030
23     %install
24     # Install directories
25     install -d %{buildroot}%{_datadir}/%{name}
26     install -d %{buildroot}%{perl_vendorlib}
27     install -d %{buildroot}%{_bindir}
28     install -d %{buildroot}%{_sysconfdir}/%{name}
29     install -d %{buildroot}/%{_mandir}/man1
30    
31     # Install php script
32     install -m644 www/acme-challenge.php %{buildroot}%{_datadir}/%{name}/
33    
34     # Install perl library
35     install -m644 Acme.pm %{buildroot}%{perl_vendorlib}/Acme.pm
36    
37     # Install binaries
38 rapsys 1569863 install -m755 acme %{buildroot}%{_bindir}/
39 rapsys 1096030
40     # Touch fake man to avoid error with man and info compression
41 rapsys 1569863 install -m644 acme.1 %{buildroot}/%{_mandir}/man1/
42     install -m644 acme-cert.1 %{buildroot}/%{_mandir}/man1/
43     install -m644 acme-conf.1 %{buildroot}/%{_mandir}/man1/
44     install -m644 acme-cron.1 %{buildroot}/%{_mandir}/man1/
45 rapsys 1096030
46     # Touch thumbprint file
47     touch %{buildroot}/%{_sysconfdir}/%{name}/thumbprint
48    
49     %files
50     # Apache configuration files
51 rapsys 1155595 %doc www/example.com.conf www/acme.apache.conf www/acme.nginx.conf
52 rapsys 1096030 %config %{_sysconfdir}/%{name}/thumbprint
53     %{_datadir}/%{name}/acme-challenge.php
54     %{perl_vendorlib}/Acme.pm
55 rapsys 1569863 %{_bindir}/acme
56     %{_mandir}/man1/acme.1
57     %{_mandir}/man1/acme-cert.1
58     %{_mandir}/man1/acme-conf.1
59     %{_mandir}/man1/acme-cron.1

  ViewVC Help
Powered by ViewVC 1.1.30