Browse Source

fixed config files and build issues

master
parent
commit
338e4997f5
  1. 18
      heise/heise.conf
  2. 14
      heise/heise.spec

18
heise/heise.conf

@ -0,0 +1,18 @@
# German field titles:
1 Titel :
2 Untertitel :
3 Autor(en) :
4 Redakteur :
5 Seite :
6 Ausgabe :
7 Zeitschrift :
8 Querverweise:
9 Schlagwörter:
# Configuration data: case is important!
umlautConversion auto
phonetic off
ignoreCase auto
regex auto
updateCheck on
updateDupe on

14
heise/heise.spec

@ -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

Loading…
Cancel
Save