Name: OpenXPKI-Client-SCEP Version: 0.9.719 Release: 1%{?dist} Summary: OpenXPKI Simple Certificate Enrollment Protocol Client License: Apache Software License Group: Applications/Internet URL: http://www.openxpki.org Source0: http://www.openxpki.org/lastmidnight/OpenXPKI-Client-SCEP-%{version}.tar.gz Source1: scep.conf Patch0: scep-config.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Module::Build) BuildRequires: perl(OpenXPKI::Client) BuildRequires: perl(version) BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The OpenXPKI Project aims at creating an enterprise-grade PKI/Trustcenter software supporting well established infrastructure components like RDBMS and Hardware Security Modules. Flexibility and modularity are the project's key design objectives. This package contains the CGI-Script to offer a SCEP interface to the OpenXPKI daemon to enable automatic certificate enrollment via the Simple Certificate Enrollment Protocol. %prep %setup -q %patch0 -p 1 %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf %{buildroot} ./Build install destdir=%{buildroot} create_packlist=0 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; # Move the cgi to the right dir mkdir -p %{buildroot}%{_localstatedir}/www/cgi-bin mv %{buildroot}%{_bindir}/scep %{buildroot}%{_localstatedir}/www/cgi-bin/scep # Config file install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/openxpki/scep.cfg %{_fixperms} %{buildroot}/* %check # Disable testsuite as it fails currently #./Build test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README VERSION %{perl_vendorlib}/* %{_mandir}/man3/* %config(noreplace) %{_sysconfdir}/openxpki/scep.cfg %{_localstatedir}/www/cgi-bin/scep %changelog * Thu Apr 12 2007 Andreas Thienemann 0.9.719-1 - Cleaned up for FE - Specfile autogenerated by cpanspec 1.69.1.