aboutsummaryrefslogtreecommitdiffstats
path: root/msec.spec
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2001-09-03 01:24:41 +0000
committerPablo Saratxaga <pablo@mandriva.com>2001-09-03 01:24:41 +0000
commit80fa2aa4d3a45bc679f9371c6b9231925d442971 (patch)
tree1d13873219cbcf667b7140b15ca8c9dbdcd71857 /msec.spec
parentbf9badf83724891cd44cc37a09c46e2b8c693132 (diff)
downloadmsec-80fa2aa4d3a45bc679f9371c6b9231925d442971.tar
msec-80fa2aa4d3a45bc679f9371c6b9231925d442971.tar.gz
msec-80fa2aa4d3a45bc679f9371c6b9231925d442971.tar.bz2
msec-80fa2aa4d3a45bc679f9371c6b9231925d442971.tar.xz
msec-80fa2aa4d3a45bc679f9371c6b9231925d442971.zip
moved man pages to man/C, added French man page
Diffstat (limited to 'msec.spec')
-rw-r--r--msec.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/msec.spec b/msec.spec
index cd7ced4..89da39c 100644
--- a/msec.spec
+++ b/msec.spec
@@ -38,7 +38,12 @@ install -m 755 init-sh/*.sh cron-sh/*.sh $RPM_BUILD_ROOT/usr/share/msec
install -m 755 init-sh/msec $RPM_BUILD_ROOT/usr/sbin
install -m 644 conf/perm.* conf/server.* $RPM_BUILD_ROOT/etc/security/msec
install -m 755 src/promisc_check/promisc_check src/msec_find/msec_find $RPM_BUILD_ROOT/usr/bin
-install -m 644 doc/*8 $RPM_BUILD_ROOT%{_mandir}/man8/
+install -m 644 man/C/*8 $RPM_BUILD_ROOT%{_mandir}/man8/
+
+for i in man/??* ; do \
+ install -d $RPM_BUILD_ROOT%{_mandir}/`basename $i`/man8 ; \
+ install -m 644 $i/*.8 $RPM_BUILD_ROOT%{_mandir}/`basename $i`/man8 ; \
+done
touch $RPM_BUILD_ROOT/etc/security/msec/security.conf $RPM_BUILD_ROOT/var/log/security.log
@@ -53,7 +58,9 @@ rm -rf $RPM_BUILD_ROOT
%_bindir/msec_find
%_sbindir/msec
%_datadir/msec
-%_mandir/*/*
+%_mandir/man*/*
+# find_lang can't find man pages :-(
+%lang(fr) %_mandir/fr/man*/*
%config(noreplace) /var/log/security.log
%config(noreplace) /var/log/security