[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RPM Installation
- Subject: Re: RPM Installation
- From: Chris Travers <..hidden..>
- Date: Fri, 27 Feb 2009 14:24:40 -0800
Read the spec file a little further:
cat << TAK > rpm-ledgersmb-httpd.conf
Alias /ledgersmb/doc/LedgerSMB-manual.pdf
%{_docdir}/%{name}-%{version}/LedgerSMB-manual.pdf
<Files %{_docdir}/%{name}-%{version}/LedgerSMB-manual.pdf>
</Files>
TAK
perl -p -e "s,/some/path/to/ledgersmb,%{_datadir}/%{name},g"
ledgersmb-httpd.conf >> rpm-ledgersmb-httpd.conf
then later:
install -m 644 rpm-ledgersmb-httpd.conf \
$RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/ledgersmb.conf
Does that make more sense?
Best Wishes,
Chris Travers