- pl
[packages/ca-certificates.git] / ca-certificates.spec
CommitLineData
8bb152c1 1Summary: Common CA Certificates PEM files
500a6231 2Summary(pl.UTF-8): Pliki PEM popularnych certyfikatów CA
8bb152c1
ER
3Name: ca-certificates
4Version: 20070303
bac37e69 5Release: 0.12
500a6231
JB
6# is it license name or should be unified? ("distributable"?)
7License: freedist
8bb152c1 8Group: Libraries
8bb152c1
ER
9Source0: ftp://ftp.debian.org/debian/pool/main/c/ca-certificates/%{name}_%{version}.tar.gz
10# Source0-md5: e356066a02d257d23f8e0f4d48d08b1b
500a6231 11URL: http://www.cacert.org/
8bb152c1 12Requires: mktemp
bac37e69 13Requires: openssl-tools-perl
8bb152c1
ER
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
500a6231
JB
17Common CA Certificates PEM files.
18
19%description -l pl.UTF-8
20Pliki PEM popularnych certyfikatów CA.
8bb152c1
ER
21
22%prep
23%setup -q
24
25%install
26rm -rf $RPM_BUILD_ROOT
27install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_sbindir},%{_sysconfdir}/ssl/certs}
28
29%{__make} install \
30 DESTDIR=$RPM_BUILD_ROOT
31
32(
33cd $RPM_BUILD_ROOT%{_datadir}/ca-certificates
34find . -name '*.crt' | sort | cut -b3-
35) > $RPM_BUILD_ROOT%{_sysconfdir}/ca-certificates.conf
36
37touch $RPM_BUILD_ROOT%{_sysconfdir}/ssl/certs/ca-certificates.crt
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%post
43%{_sbindir}/update-ca-certificates || :
44
45%files
46%defattr(644,root,root,755)
47%dir %{_sysconfdir}/ssl/certs
48%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ca-certificates.conf
49%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ssl/certs/ca-certificates.crt
50%attr(755,root,root) %{_sbindir}/update-ca-certificates
51%{_datadir}/ca-certificates
This page took 0.03514 seconds and 4 git commands to generate.