SHA256
1
0
forked from pool/openafs

Accepting request 588627 from home:jengelh:branches:filesystems

- Replace old $RPM_* vars (most of them) by macros.
- Replace unnecessary macro indirections like %bindir by %_bindir.

OBS-URL: https://build.opensuse.org/request/show/588627
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=3
This commit is contained in:
Christof Hanke 2018-03-22 07:40:27 +00:00 committed by Git OBS Bridge
parent c4146b5b07
commit b3066963ed
2 changed files with 261 additions and 266 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Mar 18 23:34:56 UTC 2018 - jengelh@inai.de
- Replace old $RPM_* vars (most of them) by macros.
- Replace unnecessary macro indirections like %bindir by %_bindir.
-------------------------------------------------------------------
Thu Mar 15 08:28:10 UTC 2018 - christof.hanke@mpcdf.mpg.de

View File

@ -54,14 +54,7 @@
#
# auto-determined parameters
#
%define libdir %{_libdir}
%define libexecdir %{_libdir}
%define bindir %{_bindir}
%define sbindir %{_sbindir}
%define includedir %{_includedir}/openafs
%define mandir %{_mandir}
%define afslogsdir /var/log/openafs
%define sysconfdir %{_sysconfdir}
%define afsconfdir /etc/openafs/server
%define viceetcdir /etc/openafs
%define vicecachedir /var/cache/openafs
@ -362,13 +355,13 @@ and load balancing, and ACLs. This package contains the OpenAFS client.
: @@@
: @@@ package-name: %{name}
: @@@ file-layout: fsh
: @@@ lib dir: %{libdir}
: @@@ lib dir: %{_libdir}
: @@@ libexec dir: %{libexecdir}
: @@@ bin dir: %{bindir}
: @@@ sbin dir: %{sbindir}
: @@@ bin dir: %{_bindir}
: @@@ sbin dir: %{_sbindir}
: @@@ include dir: %{includedir}
: @@@ sysconf dir: %{sysconfdir}
: @@@ man dir: %{mandir}
: @@@ sysconf dir: %{_sysconfdir}
: @@@ man dir: %{_mandir}
: @@@ build modules: %{build_kernel_modules}
: @@@ build fuse client: %{build_fuse_client}
%if %{option_heimdal}
@ -435,18 +428,13 @@ export PATH_KRB5_CONFIG=%{krb5_config}
export LDFLAGS="$LDFLAGS -m64"
%endif
./configure \
--prefix=/usr \
%configure \
--disable-transarc-paths \
--disable-pam \
--disable-strip-binaries \
--bindir=%{bindir} \
--sbindir=%{sbindir} \
--libdir=%{libdir} \
--libexecdir=%{libexecdir} \
--includedir=%{includedir} \
--sysconfdir=%{sysconfdir} \
--mandir=%{mandir} \
--includedir=%{_includedir}/openafs \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--with-afs-sysname=$afs_sysname \
--disable-kernel-module
@ -477,26 +465,26 @@ done
#
# install build binaries using make
make DESTDIR=$RPM_BUILD_ROOT install_nolibafs
make DESTDIR="%{buildroot}" install_nolibafs
#
# man-pages
OLD_PWD=`pwd`
cd doc/man-pages
make DESTDIR=$RPM_BUILD_ROOT install
%make_install
cd $OLD_PWD
# remove unused man pages
for x in afs_ftpd afs_inetd afs_login afs_rcp afs_rlogind afs_rsh \
dkload knfs package runntp symlink symlink_list symlink_make \
symlink_remove; do
rm -f $RPM_BUILD_ROOT%{mandir}/man1/${x}.1
rm -f %{buildroot}/%{_mandir}/man1/${x}.1
done
# compress man pages
OLD_PWD=`pwd`
for d in $RPM_BUILD_ROOT%{_mandir}/man*;do
for d in %{buildroot}/%{_mandir}/man*;do
cd $d
for f in *;do
if [ -h $f ]; then
@ -512,53 +500,53 @@ cd $OLD_PWD
#
# create directories
mkdir -p $RPM_BUILD_ROOT/%_unitdir
mkdir -p $RPM_BUILD_ROOT/%{afslogsdir}/old
mkdir -p $RPM_BUILD_ROOT/%{_fillupdir}
mkdir -p $RPM_BUILD_ROOT/%{vicecachedir}
mkdir -p $RPM_BUILD_ROOT/%{viceetcdir}
mkdir -p $RPM_BUILD_ROOT/usr/share/openafs/C
mkdir -p $RPM_BUILD_ROOT/%{afsconfdir}
mkdir -p $RPM_BUILD_ROOT/%{afslocaldir}
mkdir -p %{buildroot}/%_unitdir
mkdir -p %{buildroot}/%{afslogsdir}/old
mkdir -p %{buildroot}/%{_fillupdir}
mkdir -p %{buildroot}/%{vicecachedir}
mkdir -p %{buildroot}/%{viceetcdir}
mkdir -p %{buildroot}/usr/share/openafs/C
mkdir -p %{buildroot}/%{afsconfdir}
mkdir -p %{buildroot}/%{afslocaldir}
#
# client
cp -a src/afsd/CellServDB $RPM_BUILD_ROOT%{viceetcdir}/CellServDB
cp -a %{S:55} $RPM_BUILD_ROOT%{viceetcdir}/SuidCells
cp -a %{S:56} $RPM_BUILD_ROOT%{viceetcdir}/CellAlias
cp -a %{S:57} $RPM_BUILD_ROOT%{viceetcdir}/ThisCell
cp -a %{S:58} $RPM_BUILD_ROOT%{viceetcdir}/cacheinfo
cp -a src/afs/afszcm.cat $RPM_BUILD_ROOT/usr/share/openafs/C
install -m 644 %{S:27} $RPM_BUILD_ROOT/%{_fillupdir}/sysconfig.openafs-client
install -m 644 %{S:23} $RPM_BUILD_ROOT/%_unitdir
ln -s /usr/sbin/service $RPM_BUILD_ROOT%{_sbindir}/rcopenafs-client
cp -a src/afsd/CellServDB %{buildroot}/%{viceetcdir}/CellServDB
cp -a %{S:55} %{buildroot}/%{viceetcdir}/SuidCells
cp -a %{S:56} %{buildroot}/%{viceetcdir}/CellAlias
cp -a %{S:57} %{buildroot}/%{viceetcdir}/ThisCell
cp -a %{S:58} %{buildroot}/%{viceetcdir}/cacheinfo
cp -a src/afs/afszcm.cat %{buildroot}/usr/share/openafs/C
install -m 644 %{S:27} %{buildroot}/%{_fillupdir}/sysconfig.openafs-client
install -m 644 %{S:23} %{buildroot}/%_unitdir
ln -s /usr/sbin/service %{buildroot}/%{_sbindir}/rcopenafs-client
#
# fuse client package
%if %{build_fuse_client}
install -m 644 %{S:29} $RPM_BUILD_ROOT/%{_fillupdir}/sysconfig.openafs-fuse-client
install -m 644 %{S:26} $RPM_BUILD_ROOT/%_unitdir
ln -s /usr/sbin/service $RPM_BUILD_ROOT%{_sbindir}/rcopenafs-fuse-client
install -m 644 %{S:29} %{buildroot}/%{_fillupdir}/sysconfig.openafs-fuse-client
install -m 644 %{S:26} %{buildroot}/%_unitdir
ln -s /usr/sbin/service %{buildroot}/%{_sbindir}/rcopenafs-fuse-client
%endif
#
# server
install -m 644 %{S:28} $RPM_BUILD_ROOT/%{_fillupdir}/sysconfig.openafs-server
install -m 644 %{S:25} $RPM_BUILD_ROOT/%_unitdir
ln -s /usr/sbin/service $RPM_BUILD_ROOT%{_sbindir}/rcopenafs-server
install -m 644 %{S:28} %{buildroot}/%{_fillupdir}/sysconfig.openafs-server
install -m 644 %{S:25} %{buildroot}/%_unitdir
ln -s /usr/sbin/service %{buildroot}/%{_sbindir}/rcopenafs-server
#
# kernel-source
mkdir -p $RPM_BUILD_ROOT/usr/src/kernel-modules/openafs
mkdir -p %{buildroot}/usr/src/kernel-modules/openafs
chmod -R o-w src/libafs
chmod -R o-w libafs_tree
cp -a libafs_tree $RPM_BUILD_ROOT/usr/src/kernel-modules/openafs
install -m 755 %{S:20} $RPM_BUILD_ROOT/usr/src/kernel-modules/openafs/build-modules.sh
install -m 644 LICENSE $RPM_BUILD_ROOT/usr/src/kernel-modules/openafs/LICENSE
cp -a libafs_tree %{buildroot}/usr/src/kernel-modules/openafs
install -m 755 %{S:20} %{buildroot}/usr/src/kernel-modules/openafs/build-modules.sh
install -m 644 LICENSE %{buildroot}/usr/src/kernel-modules/openafs/LICENSE
# KMP
%if %{build_kernel_modules}
export INSTALL_MOD_PATH=$RPM_BUILD_ROOT
export INSTALL_MOD_PATH=%{buildroot}
export INSTALL_MOD_DIR=updates
for flavor in %flavors_to_build; do
@ -572,49 +560,49 @@ install -m 644 LICENSE $RPM_BUILD_ROOT/usr/src/kernel-modules/openafs/LICENSE
cp -a %{S:10} README.SUSE
cp -a %{S:18} RELNOTES
cp -a %{S:19} ChangeLog
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
cp -a %{S:16} $RPM_BUILD_ROOT/etc/ld.so.conf.d/openafs.conf
mkdir -p %{buildroot}/etc/ld.so.conf.d
cp -a %{S:16} %{buildroot}/etc/ld.so.conf.d/openafs.conf
# move some bin to sbin
mv $RPM_BUILD_ROOT%{bindir}/asetkey $RPM_BUILD_ROOT%{sbindir}/asetkey
mv $RPM_BUILD_ROOT%{bindir}/bos $RPM_BUILD_ROOT%{sbindir}/bos
mv $RPM_BUILD_ROOT%{bindir}/akeyconvert $RPM_BUILD_ROOT%{sbindir}/akeyconvert
mv $RPM_BUILD_ROOT%{bindir}/udebug $RPM_BUILD_ROOT%{sbindir}/udebug
mv %{buildroot}/%{_bindir}/asetkey %{buildroot}/%{_sbindir}/asetkey
mv %{buildroot}/%{_bindir}/bos %{buildroot}/%{_sbindir}/bos
mv %{buildroot}/%{_bindir}/akeyconvert %{buildroot}/%{_sbindir}/akeyconvert
mv %{buildroot}/%{_bindir}/udebug %{buildroot}/%{_sbindir}/udebug
# avoid conflict with scout
mv $RPM_BUILD_ROOT/usr/bin/scout $RPM_BUILD_ROOT/usr/bin/afs_scout
mv $RPM_BUILD_ROOT/%{_mandir}/man1/scout.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/afs_scout.1.gz
mv %{buildroot}/usr/bin/scout %{buildroot}/usr/bin/afs_scout
mv %{buildroot}/%{_mandir}/man1/scout.1.gz %{buildroot}/%{_mandir}/man1/afs_scout.1.gz
# move %%{libdir}/afs-stuff to %%{libdir}/openafs
mv $RPM_BUILD_ROOT/%{libdir}/afs/* $RPM_BUILD_ROOT/%{libdir}/openafs
mv $RPM_BUILD_ROOT/%{libdir}/*.* $RPM_BUILD_ROOT/%{libdir}/openafs
rm -rf $RPM_BUILD_ROOT/%{libdir}/afs
# move %%{_libdir}/afs-stuff to %%{_libdir}/openafs
mv %{buildroot}/%{_libdir}/afs/* %{buildroot}/%{_libdir}/openafs
mv %{buildroot}/%{_libdir}/*.* %{buildroot}/%{_libdir}/openafs
rm -rf %{buildroot}/%{_libdir}/afs
#
# general cleanup
#
# it's already in /usr/bin
rm -f $RPM_BUILD_ROOT/usr/{%sbindir}/kpwvalid
rm -f %{buildroot}/usr/{%sbindir}/kpwvalid
# we supposedly don't need this one on linux
rm -f $RPM_BUILD_ROOT/%{sbindir}/rmtsysd
rm -f $RPM_BUILD_ROOT/%{mandir}/man8/rmtsysd.8.gz
rm -f $RPM_BUILD_ROOT/%{mandir}/man8/xfs_size_check.8.gz
rm -f $RPM_BUILD_ROOT/%{mandir}/man1/dlog.1.gz
rm -f %{buildroot}/%{_sbindir}/rmtsysd
rm -f %{buildroot}/%{_mandir}/man8/rmtsysd.8.gz
rm -f %{buildroot}/%{_mandir}/man8/xfs_size_check.8.gz
rm -f %{buildroot}/%{_mandir}/man1/dlog.1.gz
%if %{build_authlibs} == 0
rm -f $RPM_BUILD_ROOT/%{libdir}/libafsauthent.so.*
rm -f $RPM_BUILD_ROOT/%{libdir}/libafsrpc.so.*
rm -f $RPM_BUILD_ROOT/%{libdir}/libkopenafs.so.*
rm -f $RPM_BUILD_ROOT/%{libdir}/libafsauthent.so
rm -f $RPM_BUILD_ROOT/%{libdir}/libafsrpc.so
rm -f $RPM_BUILD_ROOT/%{libdir}/libkopenafs.so
rm -f %{buildroot}/%{_libdir}/libafsauthent.so.*
rm -f %{buildroot}/%{_libdir}/libafsrpc.so.*
rm -f %{buildroot}/%{_libdir}/libkopenafs.so.*
rm -f %{buildroot}/%{_libdir}/libafsauthent.so
rm -f %{buildroot}/%{_libdir}/libafsrpc.so
rm -f %{buildroot}/%{_libdir}/libkopenafs.so
%endif
# check for duplicates, remove them and link them
%fdupes $RPM_BUILD_ROOT
%fdupes %{buildroot}
# remove all static libraries
find $RPM_BUILD_ROOT -type f -name \*.a -exec rm {} \;
find %{buildroot} -type f -name "*.a" -delete
#
# main
@ -770,114 +758,114 @@ fi
%config(noreplace) %{viceetcdir}/CellServDB
%config(noreplace) %{viceetcdir}/ThisCell
%dir %{viceetcdir}
%doc %{mandir}/man5/afsmonitor.5.gz
%doc %{mandir}/man1/afs.1.gz
%doc %{mandir}/man1/afs_compile_et.1.gz
%doc %{mandir}/man1/afs_scout.1.gz
%doc %{mandir}/man1/afsmonitor.1.gz
%doc %{mandir}/man1/cmdebug.1.gz
%doc %{mandir}/man1/pts.1.gz
%doc %{mandir}/man1/pts_*.gz
%doc %{mandir}/man1/restorevol.1.gz
%doc %{mandir}/man1/rxdebug.1.gz
%doc %{mandir}/man1/sys.1.gz
%doc %{mandir}/man1/translate_et.1.gz
%doc %{mandir}/man1/udebug.1.gz
%doc %{mandir}/man1/vos.1.gz
%doc %{mandir}/man1/vos_*gz
%doc %{mandir}/man1/xstat_cm_test.1.gz
%doc %{mandir}/man1/xstat_fs_test.1.gz
%doc %{mandir}/man5/CellAlias.5.gz
%doc %{mandir}/man5/CellServDB.5.gz
%doc %{mandir}/man5/NetInfo.5.gz
%doc %{mandir}/man5/NetRestrict.5.gz
%doc %{mandir}/man5/ThisCell.5.gz
%doc %{mandir}/man5/afs.5.gz
%doc %{mandir}/man5/butc.5.gz
%doc %{mandir}/man5/butc_logs.5.gz
%doc %{mandir}/man5/fms.log.5.gz
%doc %{mandir}/man5/sysid.5.gz
%doc %{mandir}/man5/uss.5.gz
%doc %{mandir}/man5/uss_*.5.gz
%doc %{mandir}/man8/backup.8.gz
%doc %{mandir}/man8/backup_*.8.gz
%doc %{mandir}/man8/bos.8.gz
%doc %{mandir}/man8/bos_[a-t]*.8.gz
%doc %{mandir}/man8/bos_uninstall.8.gz
%doc %{mandir}/man8/butc.8.gz
%doc %{mandir}/man8/fms.8.gz
%doc %{mandir}/man8/read_tape.8.gz
%doc %{mandir}/man8/uss.8.gz
%doc %{mandir}/man8/uss_*.8.gz
%doc %{mandir}/man8/vsys.8.gz
%doc %{_mandir}/man5/afsmonitor.5.gz
%doc %{_mandir}/man1/afs.1.gz
%doc %{_mandir}/man1/afs_compile_et.1.gz
%doc %{_mandir}/man1/afs_scout.1.gz
%doc %{_mandir}/man1/afsmonitor.1.gz
%doc %{_mandir}/man1/cmdebug.1.gz
%doc %{_mandir}/man1/pts.1.gz
%doc %{_mandir}/man1/pts_*.gz
%doc %{_mandir}/man1/restorevol.1.gz
%doc %{_mandir}/man1/rxdebug.1.gz
%doc %{_mandir}/man1/sys.1.gz
%doc %{_mandir}/man1/translate_et.1.gz
%doc %{_mandir}/man1/udebug.1.gz
%doc %{_mandir}/man1/vos.1.gz
%doc %{_mandir}/man1/vos_*gz
%doc %{_mandir}/man1/xstat_cm_test.1.gz
%doc %{_mandir}/man1/xstat_fs_test.1.gz
%doc %{_mandir}/man5/CellAlias.5.gz
%doc %{_mandir}/man5/CellServDB.5.gz
%doc %{_mandir}/man5/NetInfo.5.gz
%doc %{_mandir}/man5/NetRestrict.5.gz
%doc %{_mandir}/man5/ThisCell.5.gz
%doc %{_mandir}/man5/afs.5.gz
%doc %{_mandir}/man5/butc.5.gz
%doc %{_mandir}/man5/butc_logs.5.gz
%doc %{_mandir}/man5/fms.log.5.gz
%doc %{_mandir}/man5/sysid.5.gz
%doc %{_mandir}/man5/uss.5.gz
%doc %{_mandir}/man5/uss_*.5.gz
%doc %{_mandir}/man8/backup.8.gz
%doc %{_mandir}/man8/backup_*.8.gz
%doc %{_mandir}/man8/bos.8.gz
%doc %{_mandir}/man8/bos_[a-t]*.8.gz
%doc %{_mandir}/man8/bos_uninstall.8.gz
%doc %{_mandir}/man8/butc.8.gz
%doc %{_mandir}/man8/fms.8.gz
%doc %{_mandir}/man8/read_tape.8.gz
%doc %{_mandir}/man8/uss.8.gz
%doc %{_mandir}/man8/uss_*.8.gz
%doc %{_mandir}/man8/vsys.8.gz
%doc NEWS README* RELNOTES ChangeLog
%{bindir}/afs_compile_et
%{bindir}/afs_scout
%{bindir}/afsio
%{bindir}/afsmonitor
%{bindir}/cmdebug
%{bindir}/pts
%{bindir}/restorevol
%{bindir}/sys
%{bindir}/translate_et
%{bindir}/xstat_cm_test
%{bindir}/xstat_fs_test
%{libdir}/openafs/libafshcrypto.so.*
%{libdir}/openafs/librokenafs.so.*
%{sbindir}/backup
%{sbindir}/bos
%{sbindir}/butc
%{sbindir}/fms
%{sbindir}/read_tape
%{sbindir}/rxdebug
%{sbindir}/udebug
%{sbindir}/uss
%{sbindir}/vos
%{sbindir}/vsys
%{_bindir}/afs_compile_et
%{_bindir}/afs_scout
%{_bindir}/afsio
%{_bindir}/afsmonitor
%{_bindir}/cmdebug
%{_bindir}/pts
%{_bindir}/restorevol
%{_bindir}/sys
%{_bindir}/translate_et
%{_bindir}/xstat_cm_test
%{_bindir}/xstat_fs_test
%{_libdir}/openafs/libafshcrypto.so.*
%{_libdir}/openafs/librokenafs.so.*
%{_sbindir}/backup
%{_sbindir}/bos
%{_sbindir}/butc
%{_sbindir}/fms
%{_sbindir}/read_tape
%{_sbindir}/rxdebug
%{_sbindir}/udebug
%{_sbindir}/uss
%{_sbindir}/vos
%{_sbindir}/vsys
%if %{build_fuse_client}
%files fuse_client
%defattr(-,root,root)
%{sbindir}/afsd.fuse
%{_sbindir}/afsd.fuse
%config(noreplace) %{viceetcdir}/SuidCells
%config(noreplace) %{viceetcdir}/cacheinfo
%_unitdir/openafs-fuse-client.service
%{sbindir}/rcopenafs-fuse-client
%{_sbindir}/rcopenafs-fuse-client
/%{_fillupdir}/sysconfig.openafs-fuse-client
/%{vicecachedir}
%else
%files client
%defattr(-,root,root)
%{bindir}/fs
%{bindir}/klog.krb5
%{bindir}/pagsh
%{bindir}/pagsh.krb
%{bindir}/tokens
%{bindir}/tokens.krb
%{bindir}/unlog
%{bindir}/up
%{sbindir}/afsd
%{sbindir}/fstrace
%doc %{mandir}/man1/fs.1.gz
%doc %{mandir}/man1/fs_*.1.gz
%doc %{mandir}/man1/klog.krb5.1.gz
%doc %{mandir}/man1/pagsh.1.gz
%doc %{mandir}/man1/pagsh.krb.1.gz
%doc %{mandir}/man1/tokens.1.gz
%doc %{mandir}/man1/tokens.krb.1.gz
%doc %{mandir}/man1/unlog.1.gz
%doc %{mandir}/man1/up.1.gz
%doc %{mandir}/man8/afsd.8.gz
%doc %{mandir}/man8/fstrace.8.gz
%doc %{mandir}/man8/fstrace_*.8.gz
%{_bindir}/fs
%{_bindir}/klog.krb5
%{_bindir}/pagsh
%{_bindir}/pagsh.krb
%{_bindir}/tokens
%{_bindir}/tokens.krb
%{_bindir}/unlog
%{_bindir}/up
%{_sbindir}/afsd
%{_sbindir}/fstrace
%doc %{_mandir}/man1/fs.1.gz
%doc %{_mandir}/man1/fs_*.1.gz
%doc %{_mandir}/man1/klog.krb5.1.gz
%doc %{_mandir}/man1/pagsh.1.gz
%doc %{_mandir}/man1/pagsh.krb.1.gz
%doc %{_mandir}/man1/tokens.1.gz
%doc %{_mandir}/man1/tokens.krb.1.gz
%doc %{_mandir}/man1/unlog.1.gz
%doc %{_mandir}/man1/up.1.gz
%doc %{_mandir}/man8/afsd.8.gz
%doc %{_mandir}/man8/fstrace.8.gz
%doc %{_mandir}/man8/fstrace_*.8.gz
%_unitdir/openafs-client.service
%doc %{mandir}/man1/copyauth.1.gz
%doc %{mandir}/man5/cacheinfo.5.gz
%doc %{mandir}/man5/afs_cache.5.gz
%doc %{_mandir}/man1/copyauth.1.gz
%doc %{_mandir}/man5/cacheinfo.5.gz
%doc %{_mandir}/man5/afs_cache.5.gz
%dir /usr/share/openafs
%dir /usr/share/openafs/C
/usr/share/openafs/C/afszcm.cat
%doc %{mandir}/man5/afszcm.cat.5.gz
%doc %{_mandir}/man5/afszcm.cat.5.gz
%config(noreplace) %{viceetcdir}/SuidCells
%config(noreplace) %{viceetcdir}/cacheinfo
/usr/sbin/rcopenafs-client
@ -890,98 +878,99 @@ fi
%attr(770,root,root) %dir %{afslocaldir}
%attr(775,root,root) %dir %{afslogsdir}
%config %{viceetcdir}/server
%doc %{mandir}/man5/AuthLog.5.gz
%doc %{mandir}/man5/AuthLog.dir.5.gz
%doc %{mandir}/man5/BackupLog.5.gz
%doc %{mandir}/man5/BosConfig.5.gz
%doc %{mandir}/man5/BosLog.5.gz
%doc %{mandir}/man5/FORCESALVAGE.5.gz
%doc %{mandir}/man5/FileLog.5.gz
%doc %{mandir}/man5/KeyFile.5.gz
%doc %{mandir}/man5/KeyFileExt.5.gz
%doc %{mandir}/man5/NoAuth.5.gz
%doc %{mandir}/man5/PtLog.5.gz
%doc %{mandir}/man5/SALVAGE.fs.5.gz
%doc %{mandir}/man5/SalvageLog.5.gz
%doc %{mandir}/man5/UserList.5.gz
%doc %{mandir}/man5/VLLog.5.gz
%doc %{mandir}/man5/VolserLog.5.gz
%doc %{mandir}/man5/afs_volume_header.5.gz
%doc %{mandir}/man5/bdb.DB0.5.gz
%doc %{mandir}/man5/krb.conf.5.gz
%doc %{mandir}/man5/krb.excl.5.gz
%doc %{mandir}/man5/prdb.DB0.5.gz
%doc %{mandir}/man5/salvage.lock.5.gz
%doc %{mandir}/man5/tapeconfig.5.gz
%doc %{mandir}/man5/vldb.DB0.5.gz
%doc %{mandir}/man8/akeyconvert.8.gz
%doc %{mandir}/man8/bos_util.8.gz
%doc %{mandir}/man8/bosserver.8.gz
%doc %{mandir}/man8/buserver.8.gz
%doc %{mandir}/man8/dafileserver.8.gz
%doc %{mandir}/man8/dafssync-debug.8.gz
%doc %{mandir}/man8/dafssync-debug_*.8.gz
%doc %{mandir}/man8/dasalvager.8.gz
%doc %{mandir}/man8/davolserver.8.gz
%doc %{mandir}/man8/fileserver.8.gz
%doc %{mandir}/man8/fssync-debug.8.gz
%doc %{mandir}/man8/fssync-debug_*.8.gz
%doc %{mandir}/man8/prdb_check.8.gz
%doc %{mandir}/man8/pt_util.8.gz
%doc %{mandir}/man8/ptserver.8.gz
%doc %{mandir}/man8/salvager.8.gz
%doc %{mandir}/man8/salvageserver.8.gz
%doc %{mandir}/man8/state_analyzer.8.gz
%doc %{mandir}/man8/upclient.8.gz
%doc %{mandir}/man8/upserver.8.gz
%doc %{mandir}/man8/vldb_check.8.gz
%doc %{mandir}/man8/vldb_convert.8.gz
%doc %{mandir}/man8/vlserver.8.gz
%doc %{mandir}/man8/voldump.8.gz
%doc %{mandir}/man8/volinfo.8.gz
%doc %{mandir}/man8/volscan.8.gz
%doc %{mandir}/man8/volserver.8.gz
%{libdir}/openafs/buserver
%{libdir}/openafs/dafileserver
%{libdir}/openafs/dasalvager
%{libdir}/openafs/davolserver
%{libdir}/openafs/fileserver
%{libdir}/openafs/ptserver
%{libdir}/openafs/salvager
%{libdir}/openafs/salvageserver
%{libdir}/openafs/upclient
%{libdir}/openafs/upserver
%{libdir}/openafs/vlserver
%{libdir}/openafs/volserver
%{sbindir}/akeyconvert
%{sbindir}/bos_util
%{sbindir}/bosserver
%{sbindir}/dafssync-debug
%{sbindir}/fssync-debug
%{sbindir}/prdb_check
%{sbindir}/pt_util
%{sbindir}/salvsync-debug
%{sbindir}/state_analyzer
%{sbindir}/vldb_check
%{sbindir}/vldb_convert
%{sbindir}/voldump
%{sbindir}/volinfo
%{sbindir}/volscan
%doc %{_mandir}/man5/AuthLog.5.gz
%doc %{_mandir}/man5/AuthLog.dir.5.gz
%doc %{_mandir}/man5/BackupLog.5.gz
%doc %{_mandir}/man5/BosConfig.5.gz
%doc %{_mandir}/man5/BosLog.5.gz
%doc %{_mandir}/man5/FORCESALVAGE.5.gz
%doc %{_mandir}/man5/FileLog.5.gz
%doc %{_mandir}/man5/KeyFile.5.gz
%doc %{_mandir}/man5/KeyFileExt.5.gz
%doc %{_mandir}/man5/NoAuth.5.gz
%doc %{_mandir}/man5/PtLog.5.gz
%doc %{_mandir}/man5/SALVAGE.fs.5.gz
%doc %{_mandir}/man5/SalvageLog.5.gz
%doc %{_mandir}/man5/UserList.5.gz
%doc %{_mandir}/man5/VLLog.5.gz
%doc %{_mandir}/man5/VolserLog.5.gz
%doc %{_mandir}/man5/afs_volume_header.5.gz
%doc %{_mandir}/man5/bdb.DB0.5.gz
%doc %{_mandir}/man5/krb.conf.5.gz
%doc %{_mandir}/man5/krb.excl.5.gz
%doc %{_mandir}/man5/prdb.DB0.5.gz
%doc %{_mandir}/man5/salvage.lock.5.gz
%doc %{_mandir}/man5/tapeconfig.5.gz
%doc %{_mandir}/man5/vldb.DB0.5.gz
%doc %{_mandir}/man8/akeyconvert.8.gz
%doc %{_mandir}/man8/bos_util.8.gz
%doc %{_mandir}/man8/bosserver.8.gz
%doc %{_mandir}/man8/buserver.8.gz
%doc %{_mandir}/man8/dafileserver.8.gz
%doc %{_mandir}/man8/dafssync-debug.8.gz
%doc %{_mandir}/man8/dafssync-debug_*.8.gz
%doc %{_mandir}/man8/dasalvager.8.gz
%doc %{_mandir}/man8/davolserver.8.gz
%doc %{_mandir}/man8/fileserver.8.gz
%doc %{_mandir}/man8/fssync-debug.8.gz
%doc %{_mandir}/man8/fssync-debug_*.8.gz
%doc %{_mandir}/man8/prdb_check.8.gz
%doc %{_mandir}/man8/pt_util.8.gz
%doc %{_mandir}/man8/ptserver.8.gz
%doc %{_mandir}/man8/salvager.8.gz
%doc %{_mandir}/man8/salvageserver.8.gz
%doc %{_mandir}/man8/state_analyzer.8.gz
%doc %{_mandir}/man8/upclient.8.gz
%doc %{_mandir}/man8/upserver.8.gz
%doc %{_mandir}/man8/vldb_check.8.gz
%doc %{_mandir}/man8/vldb_convert.8.gz
%doc %{_mandir}/man8/vlserver.8.gz
%doc %{_mandir}/man8/voldump.8.gz
%doc %{_mandir}/man8/volinfo.8.gz
%doc %{_mandir}/man8/volscan.8.gz
%doc %{_mandir}/man8/volserver.8.gz
%dir %{_libexecdir}/openafs
%{_libexecdir}/openafs/buserver
%{_libexecdir}/openafs/dafileserver
%{_libexecdir}/openafs/dasalvager
%{_libexecdir}/openafs/davolserver
%{_libexecdir}/openafs/fileserver
%{_libexecdir}/openafs/ptserver
%{_libexecdir}/openafs/salvager
%{_libexecdir}/openafs/salvageserver
%{_libexecdir}/openafs/upclient
%{_libexecdir}/openafs/upserver
%{_libexecdir}/openafs/vlserver
%{_libexecdir}/openafs/volserver
%{_sbindir}/akeyconvert
%{_sbindir}/bos_util
%{_sbindir}/bosserver
%{_sbindir}/dafssync-debug
%{_sbindir}/fssync-debug
%{_sbindir}/prdb_check
%{_sbindir}/pt_util
%{_sbindir}/salvsync-debug
%{_sbindir}/state_analyzer
%{_sbindir}/vldb_check
%{_sbindir}/vldb_convert
%{_sbindir}/voldump
%{_sbindir}/volinfo
%{_sbindir}/volscan
%_unitdir/openafs-server.service
%{_sbindir}/rcopenafs-server
/%{_fillupdir}/sysconfig.openafs-server
%files devel
%defattr(-,root,root)
%dir %{libdir}/openafs
%doc %{mandir}/man1/livesys.1.gz
%doc %{mandir}/man1/rxgen.1.gz
%doc %{mandir}/man3/AFS::ukernel.3.gz
%{bindir}/livesys
%{bindir}/rxgen
%{includedir}
%{libdir}/openafs/libafshcrypto.so
%{libdir}/openafs/librokenafs.so
%dir %{_libdir}/openafs
%doc %{_mandir}/man1/livesys.1.gz
%doc %{_mandir}/man1/rxgen.1.gz
%doc %{_mandir}/man3/AFS::ukernel.3.gz
%{_bindir}/livesys
%{_bindir}/rxgen
%{_includedir}/openafs/
%{_libdir}/openafs/libafshcrypto.so
%{_libdir}/openafs/librokenafs.so
%files kernel-source
%defattr(-,root,root)
@ -996,24 +985,24 @@ fi
%files krb5-mit
%defattr(-,root,root)
%endif
%{bindir}/aklog
%doc %{mandir}/man1/aklog.1.gz
%doc %{mandir}/man8/aklog_dynamic_auth.8.gz
%doc %{mandir}/man8/asetkey.8.gz
%{sbindir}/asetkey
%{_bindir}/aklog
%doc %{_mandir}/man1/aklog.1.gz
%doc %{_mandir}/man8/aklog_dynamic_auth.8.gz
%doc %{_mandir}/man8/asetkey.8.gz
%{_sbindir}/asetkey
%if %{build_authlibs}
%files authlibs
%defattr(-,root,root)
%{libdir}/openafs/libafsauthent.so.*
%{libdir}/openafs/libafsrpc.so.*
%{libdir}/openafs/libkopenafs.so.*
%{_libdir}/openafs/libafsauthent.so.*
%{_libdir}/openafs/libafsrpc.so.*
%{_libdir}/openafs/libkopenafs.so.*
%files authlibs-devel
%defattr(-,root,root)
%{libdir}/openafs/libafsauthent.so
%{libdir}/openafs/libafsrpc.so
%{libdir}/openafs/libkopenafs.so
%{_libdir}/openafs/libafsauthent.so
%{_libdir}/openafs/libafsrpc.so
%{_libdir}/openafs/libkopenafs.so
%endif
#