- pl
[packages/ca-certificates.git] / ca-certificates.spec
1 Summary:        Common CA Certificates PEM files
2 Summary(pl.UTF-8):      Pliki PEM popularnych certyfikat√≥w CA
3 Name:           ca-certificates
4 Version:        20070303
5 Release:        0.12
6 # is it license name or should be unified? ("distributable"?)
7 License:        freedist
8 Group:          Libraries
9 Source0:        ftp://ftp.debian.org/debian/pool/main/c/ca-certificates/%{name}_%{version}.tar.gz
10 # Source0-md5:  e356066a02d257d23f8e0f4d48d08b1b
11 URL:            http://www.cacert.org/
12 Requires:       mktemp
13 Requires:       openssl-tools-perl
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Common CA Certificates PEM files.
18
19 %description -l pl.UTF-8
20 Pliki PEM popularnych certyfikat√≥w CA.
21
22 %prep
23 %setup -q
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_sbindir},%{_sysconfdir}/ssl/certs}
28
29 %{__make} install \
30         DESTDIR=$RPM_BUILD_ROOT
31
32 (
33 cd $RPM_BUILD_ROOT%{_datadir}/ca-certificates
34 find . -name '*.crt' | sort | cut -b3-
35 ) > $RPM_BUILD_ROOT%{_sysconfdir}/ca-certificates.conf
36
37 touch $RPM_BUILD_ROOT%{_sysconfdir}/ssl/certs/ca-certificates.crt
38
39 %clean
40 rm -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.03431 seconds and 3 git commands to generate.