Skip to content

Commit

Permalink
Fix RPM spec
Browse files Browse the repository at this point in the history
The sscep.spec has been modified to add the build dependencies,
to call the bootstrap.sh, and to include the mkrequest script.
  • Loading branch information
edewata authored and gotthardp committed Nov 12, 2021
1 parent 354acb8 commit 691a926
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/sscep.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,35 @@ Source: %{name}-%{version}.tar.gz
URL: https://github.com/certnanny/sscep
Requires: openssl >= 1:1.1.0

BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: openssl-devel

%description
Simple SCEP (Simple Certificate Enrollment Protocol) client.

%prep
%setup -n %{name}-%{version}

%build
./bootstrap.sh

%configure
make

%install
rm -rf $RPM_BUILD_ROOT

%make_install
install -p mkrequest $RPM_BUILD_ROOT/usr/bin

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/bin/sscep
/usr/bin/mkrequest
%doc /usr/share/doc/sscep/COPYING
%doc /usr/share/doc/sscep/README.md

0 comments on commit 691a926

Please sign in to comment.