Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lrupp
ca-certificates-example
ca-certificates-example.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ca-certificates-example.spec of Package ca-certificates-example
# # spec file for package ca-certificates-example # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: ca-certificates-example Summary: Example root certificates Version: 1.1 Release: 1 License: MIT Group: Productivity/Networking/Security Url: http://www.example.com Source: %{name}-%{version}.tar.xz Source1: ca-certificates-example.COPYING Source2: ca-certificates-example-rpmlintrc PreReq: ca-certificates BuildRequires: p11-kit-devel BuildRequires: ca-certificates BuildRequires: openssl BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %define certdir %{trustdir_static}/anchors %description This package contains the internal example root certificate. %prep %autosetup rm -rf old install -m 644 %{SOURCE1} COPYING %build %install install -d -m 755 %{buildroot}/%{certdir} for i in example.com.root_ca.crt; do openssl x509 -in $i -out \ %{buildroot}/%{certdir}/${i##*/}.pem; done %clean rm -rf %{buildroot} %post update-ca-certificates || true %postun update-ca-certificates || true %files %defattr(-, root, root) %doc COPYING %{certdir} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor