- new (based on gentoo ebuild)
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 23 Apr 2007 23:18:12 +0000 (23:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ca-certificates.spec -> 1.1

ca-certificates.spec [new file with mode: 0644]

diff --git a/ca-certificates.spec b/ca-certificates.spec
new file mode 100644 (file)
index 0000000..51af475
--- /dev/null
@@ -0,0 +1,47 @@
+Summary:       Common CA Certificates PEM files
+Name:          ca-certificates
+Version:       20070303
+Release:       0.11
+Group:         Libraries
+URL:           http://www.cacert.org/
+Source0:       ftp://ftp.debian.org/debian/pool/main/c/ca-certificates/%{name}_%{version}.tar.gz
+# Source0-md5: e356066a02d257d23f8e0f4d48d08b1b
+License:       freedist
+Requires:      mktemp
+#Requires:     openssl-tools
+#Requires:     /usr/bin/c_rehash
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Common CA Certificates PEM files
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_sbindir},%{_sysconfdir}/ssl/certs}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+(
+cd $RPM_BUILD_ROOT%{_datadir}/ca-certificates
+find . -name '*.crt' | sort | cut -b3-
+) > $RPM_BUILD_ROOT%{_sysconfdir}/ca-certificates.conf
+
+touch $RPM_BUILD_ROOT%{_sysconfdir}/ssl/certs/ca-certificates.crt
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/update-ca-certificates || :
+
+%files
+%defattr(644,root,root,755)
+%dir %{_sysconfdir}/ssl/certs
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ca-certificates.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ssl/certs/ca-certificates.crt
+%attr(755,root,root) %{_sbindir}/update-ca-certificates
+%{_datadir}/ca-certificates
This page took 0.029697 seconds and 4 git commands to generate.