# # spec file for package sscep # # Copyright (c) 2020 SUSE LLC # Copyright (c) 2016-2020, Martin Hauke # # 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 https://bugs.opensuse.org/ # Name: sscep Version: 0.7.0 Release: 0 Summary: A command line client for the SCEP protocol License: BSD-3-Clause-Attribution AND OpenSSL Group: Productivity/Networking/Diagnostic URL: https://github.com/certnanny/sscep Source: https://github.com/certnanny/sscep/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: libopenssl-devel %description Simple SCEP (Simple Certificate Enrollment Protocol) client with modifications for engine support & more. %prep %setup -q %build ./Configure %make_build sscep_dyn CFLAGS="%{optflags} -fcommon" %install install -Dpm 0644 sscep.conf %{buildroot}%{_sysconfdir}/sscep/sscep.conf install -d %{buildroot}%{_bindir} install -pm 0755 mkrequest %{buildroot}%{_bindir} install -pm 0755 sscep_dyn %{buildroot}%{_bindir}/sscep %files %license COPYRIGHT %doc HISTORY TODO README.md %dir %{_sysconfdir}/sscep/ %config(noreplace) %{_sysconfdir}/sscep/sscep.conf %{_bindir}/sscep %{_bindir}/mkrequest %changelog