|
|
@@ -33,12 +33,12 @@ Distribution: OpenPKG [EXP]
|
|
|
Group: Misc
|
|
|
License: GPL
|
|
|
Version: 2.1.7
|
|
|
-Release: 20011201
|
|
|
+Release: 20020104
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.heise.de/pub/ct/register/regpl217.zip
|
|
|
Source1: ftp://ftp.heise.de/pub/ct/register/register.zip
|
|
|
-Source2: inhalt.frm.fmt
|
|
|
+Source2: heise.conf
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -58,16 +58,22 @@ AutoReqProv: no
|
|
|
|
|
|
%build
|
|
|
( echo "#!%{l_prefix}/bin/perl"
|
|
|
- sed -e '1,10d' -e "s;~/heise/inhalt.frm;%{l_prefix}/share/heise/inhalt.frm;" <reg.2.1.7
|
|
|
+ sed \
|
|
|
+ -e '1,10d' \
|
|
|
+ -e "s;~/heise/inhalt.frm;%{l_prefix}/share/heise/inhalt.frm;" \
|
|
|
+ -e "s;^\(\$frmfilefmt = \).*$;\1\"%{l_prefix}/etc/heise/heise.conf\"\;;" \
|
|
|
+ <reg.2.1.7
|
|
|
+# -e "s;^\(\$frmfilefmt = \).*$;\1%{l_prefix}/etc/heise/heise.conf;" \
|
|
|
) >heise
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/bin
|
|
|
+ %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/heise
|
|
|
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/share/heise
|
|
|
%{l_shtool} install -c -m 755 heise $RPM_BUILD_ROOT%{l_prefix}/bin/
|
|
|
%{l_shtool} install -c -m 644 INHALT.FRM $RPM_BUILD_ROOT%{l_prefix}/share/heise/inhalt.frm
|
|
|
- %{l_shtool} install -c -m 644 %{SOURCE inhalt.frm.fmt} $RPM_BUILD_ROOT%{l_prefix}/share/heise/
|
|
|
+ %{l_shtool} install -c -m 644 %{SOURCE heise.conf} $RPM_BUILD_ROOT%{l_prefix}/etc/heise/
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
|
|
|
|
%files -f files
|