Add spec file for uacme 1.7

This commit is contained in:
Gergely Polonkai 2021-04-05 06:42:35 +02:00
parent 4efe9f764b
commit 2cee0db48c
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4

45
SPECS/uacme.spec Normal file
View File

@ -0,0 +1,45 @@
Name: uacme
Version: 1.7
Release: 1%{?dist}
Summary: ACMEv2 client written in plain C with minimal dependencies
License: GPLv3
URL: https://github.com/ndilieto/uacme
Source0: https://github.com/ndilieto/%{name}/archive/refs/tags/upstream/%{version}.tar.gz
BuildRequires: gnutls-devel gcc asciidoc libcurl-devel
Requires: gnutls libcurl
%description
%prep
%autosetup -n uacme-upstream-%{version}
%build
%configure
%make_build
%install
rm -rf $RPM_BUILD_ROOT
%make_install
%files
%{_bindir}/uacme
%{_bindir}/ualpn
%{_mandir}/man1/uacme.1.gz
%{_mandir}/man1/ualpn.1.gz
%{_datadir}/%{name}/nsupdate.sh
%{_datadir}/%{name}/uacme.sh
%{_datadir}/%{name}/ualpn.sh
%license COPYING
%doc docs/uacme.html docs/ualpn.html
%changelog
* Mon Mar 29 2021 Gergely Polonkai <gergely@polonkai.eu>
- First RPMified release