]>
Commit | Line | Data |
---|---|---|
5b41b6a6 ER |
1 | Summary: Downloads Certificate Revocation Lists |
2 | Name: fetch-crl | |
ec5e8cab | 3 | Version: 3.0.8 |
5b41b6a6 ER |
4 | Release: 1 |
5 | License: ASL 2.0 | |
6 | Group: Applications/System | |
7 | URL: http://www.nikhef.nl/grid/gridwiki/index.php/FetchCRL3 | |
3910ea67 | 8 | Source0: http://dist.eugridpma.info/distribution/util/fetch-crl3/%{name}-%{version}.tar.gz |
ec5e8cab | 9 | # Source0-md5: 0c255931d05d46ed444d76438df29dd5 |
d10f7950 | 10 | Source1: %{name}.crontab |
5b41b6a6 | 11 | BuildRequires: rpm-perlprov >= 4.1-13 |
d10f7950 | 12 | Requires: crondaemon |
5b41b6a6 ER |
13 | Requires: openssl |
14 | Obsoletes: fetch-crl3 | |
5b41b6a6 ER |
15 | BuildArch: noarch |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | This tool and associated cron entry ensure that Certificate Revocation | |
20 | Lists (CRLs) are periodically retrieved from the web sites of the | |
21 | respective Certification Authorities. It assumes that the installed CA | |
22 | files follow the hash.crl_url convention. | |
23 | ||
24 | %prep | |
25 | %setup -q | |
5b41b6a6 ER |
26 | |
27 | %install | |
28 | rm -rf $RPM_BUILD_ROOT | |
29 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name}.d,/etc/{cron.d,rc.d/init.d}} | |
30 | %{__make} install \ | |
31 | PREFIX=$RPM_BUILD_ROOT%{_usr} \ | |
32 | ETC=$RPM_BUILD_ROOT%{_sysconfdir} \ | |
33 | CACHE=$RPM_BUILD_ROOT%{_var}/cache | |
34 | ||
d10f7950 | 35 | cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/%{name} |
5b41b6a6 ER |
36 | |
37 | # Remove some files that have been duplicated as docs. | |
d10f7950 | 38 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} |
5b41b6a6 ER |
39 | |
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
5b41b6a6 ER |
43 | %files |
44 | %defattr(644,root,root,755) | |
45 | %doc CHANGES NOTICE README fetch-crl.cnf.example | |
46 | %dir %{_sysconfdir}/%{name}.d | |
47 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf | |
48 | %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name} | |
49 | %attr(755,root,root) %{_sbindir}/%{name} | |
5b41b6a6 ER |
50 | %{_mandir}/man8/%{name}.8* |
51 | %dir %{_var}/cache/%{name} |