2017-02-17 16:49:15 +00:00
|
|
|
%global provider github
|
2016-04-29 20:39:04 +00:00
|
|
|
%global provider_tld com
|
|
|
|
%global project sgallagher
|
|
|
|
%global repo sscg
|
|
|
|
# https://github.com/sgallagher/sscg
|
|
|
|
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
|
|
|
|
%global import_path %{provider_prefix}
|
2015-03-30 21:10:41 +00:00
|
|
|
|
2021-10-29 16:57:17 +00:00
|
|
|
%{!?meson_test: %global meson_test %{__meson} test -C %{_vpath_builddir} --num-processes %{_smp_build_ncpus} --print-errorlogs}
|
2016-04-29 20:39:04 +00:00
|
|
|
|
2017-02-16 21:48:40 +00:00
|
|
|
Name: sscg
|
2023-06-20 20:32:59 +00:00
|
|
|
Version: 3.0.5
|
2021-08-07 19:08:47 +00:00
|
|
|
Release: %autorelease
|
2016-05-25 20:39:43 +00:00
|
|
|
Summary: Simple SSL certificate generator
|
2015-03-30 21:10:41 +00:00
|
|
|
|
2021-03-17 16:44:58 +00:00
|
|
|
License: GPLv3+ with exceptions
|
2016-04-29 20:39:04 +00:00
|
|
|
URL: https://%{provider_prefix}
|
2023-06-20 20:32:59 +00:00
|
|
|
Source0: sscg-3.0.5.tar.gz
|
2017-02-16 21:48:40 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: libtalloc-devel
|
2023-01-16 14:44:51 +00:00
|
|
|
BuildRequires: openssl
|
2016-04-29 20:39:04 +00:00
|
|
|
BuildRequires: openssl-devel
|
2017-02-16 21:48:40 +00:00
|
|
|
BuildRequires: popt-devel
|
|
|
|
BuildRequires: libpath_utils-devel
|
2017-12-18 20:24:37 +00:00
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: ninja-build
|
2018-09-17 14:31:10 +00:00
|
|
|
BuildRequires: help2man
|
|
|
|
|
2019-12-13 16:58:06 +00:00
|
|
|
|
2015-03-30 21:10:41 +00:00
|
|
|
%description
|
|
|
|
A utility to aid in the creation of more secure "self-signed"
|
|
|
|
certificates. The certificates created by this tool are generated in a
|
|
|
|
way so as to create a CA certificate that can be safely imported into a
|
|
|
|
client machine to trust the service certificate without needing to set
|
|
|
|
up a full PKI environment and without exposing the machine to a risk of
|
|
|
|
false signatures from the service certificate.
|
|
|
|
|
|
|
|
%prep
|
2023-06-20 20:32:59 +00:00
|
|
|
%autosetup -p1 -n sscg-3.0.5
|
2015-03-30 21:10:41 +00:00
|
|
|
|
2016-05-31 14:00:31 +00:00
|
|
|
|
2015-03-30 21:10:41 +00:00
|
|
|
%build
|
2017-12-18 20:24:37 +00:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2015-03-30 21:10:41 +00:00
|
|
|
|
|
|
|
%install
|
2017-12-18 20:24:37 +00:00
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%check
|
2020-04-30 15:02:14 +00:00
|
|
|
%meson_test -t 10
|
2015-03-30 21:10:41 +00:00
|
|
|
|
|
|
|
%files
|
2017-02-16 21:48:40 +00:00
|
|
|
%license COPYING
|
2017-02-17 16:49:15 +00:00
|
|
|
%doc README.md
|
2017-02-16 21:48:40 +00:00
|
|
|
%{_bindir}/%{name}
|
2018-09-17 14:31:10 +00:00
|
|
|
%{_mandir}/man8/%{name}.8*
|
2015-03-30 21:10:41 +00:00
|
|
|
|
|
|
|
%changelog
|
2021-08-07 19:08:47 +00:00
|
|
|
%autochangelog
|