61 lines
1.5 KiB
RPMSpec
61 lines
1.5 KiB
RPMSpec
Name: sscg
|
|
Version: 2.6.2
|
|
Release: 1
|
|
Summary: Simple Signed Certificate Generator
|
|
License: GPL-3.0
|
|
URL: https://github.com/sgallagher/sscg
|
|
Source0: https://github.com/sgallagher/sscg/releases/download/%{name}-%{version}/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: gcc libtalloc-devel openssl-devel popt-devel libpath_utils-devel meson ninja-build git help2man
|
|
|
|
%description
|
|
SSCG(Simple Signed Certificate Generator) makes it easy to generate usable and 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
|
|
%autosetup -n %{name}-%{version} -p1 -Sgit
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%check
|
|
%meson_test
|
|
|
|
%pre
|
|
|
|
%preun
|
|
|
|
%post
|
|
|
|
%postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license COPYING
|
|
%doc README.md
|
|
%{_bindir}/sscg
|
|
%{_mandir}/man8/sscg.8*
|
|
|
|
%changelog
|
|
* Sat Jul 25 2020 yang_zhuang_zhuang<yangzhuangzhuang1@huawei.com> - 2.6.2-1
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:update version to 2.6.2
|
|
|
|
* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 2.3.3-5
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:modify license
|
|
|
|
* Tue Aug 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.3.3-4
|
|
- Package init
|