]> git.pld-linux.org Git - packages/fetch-crl.git/blame - fetch-crl.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/fetch-crl.git] / fetch-crl.spec
CommitLineData
5b41b6a6
ER
1Summary: Downloads Certificate Revocation Lists
2Name: fetch-crl
ec5e8cab 3Version: 3.0.8
5b41b6a6
ER
4Release: 1
5License: ASL 2.0
6Group: Applications/System
7URL: http://www.nikhef.nl/grid/gridwiki/index.php/FetchCRL3
3910ea67 8Source0: http://dist.eugridpma.info/distribution/util/fetch-crl3/%{name}-%{version}.tar.gz
ec5e8cab 9# Source0-md5: 0c255931d05d46ed444d76438df29dd5
d10f7950 10Source1: %{name}.crontab
5b41b6a6 11BuildRequires: rpm-perlprov >= 4.1-13
d10f7950 12Requires: crondaemon
5b41b6a6
ER
13Requires: openssl
14Obsoletes: fetch-crl3
5b41b6a6
ER
15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19This tool and associated cron entry ensure that Certificate Revocation
20Lists (CRLs) are periodically retrieved from the web sites of the
21respective Certification Authorities. It assumes that the installed CA
22files follow the hash.crl_url convention.
23
24%prep
25%setup -q
5b41b6a6
ER
26
27%install
28rm -rf $RPM_BUILD_ROOT
29install -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 35cp -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
41rm -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}
This page took 0.061849 seconds and 4 git commands to generate.