updating packager information so jht doesn't get reports about my bugs :-)
[Samba.git] / packaging / RedHat / samba2.spec.tmpl
blob8787fd45a30498113387297afcc8686a4aedb1fe
1 Summary: Samba SMB client and server
2 Name: samba
3 Version: PVERSION
4 Release: PRELEASE
5 Copyright: GNU GPL version 2
6 Group: Networking
7 Source: http://download.samba.org/samba/ftp/samba-%{version}.tar.bz2
8 Packager: Gerald Carter [Samba-Team] <jerry@samba.org>
9 Requires: pam >= 0.72 kernel >= 2.2.1 glibc >= 2.1.2
10 Prereq: chkconfig fileutils
11 Provides: samba = %{version}
12 BuildPreReq: libtool
13 Obsoletes: samba-common, samba-client, samba-swat
14 BuildRoot: /var/tmp/samba
15 Prefix: /usr
17 %description
18 Samba provides an SMB server which can be used to provide
19 network services to SMB (sometimes called "Lan Manager")
20 clients, including various versions of MS Windows, OS/2,
21 and other Linux machines. Samba also provides some SMB
22 clients, which complement the built-in SMB filesystem
23 in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
24 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame)
25 protocol.
27 Samba-2.2 features working NT Domain Control capability and 
28 includes the SWAT (Samba Web Administration Tool) that 
29 allows samba's smb.conf file to be remotely managed using your 
30 favourite web browser. For the time being this is being
31 enabled on TCP port 901 via inetd.
33 Users are advised to use Samba-2.2 as a Windows NT4
34 Domain Controller only on networks that do NOT have a Windows
35 NT Domain Controller. This release does NOT as yet have
36 Backup Domain control ability.
38 Please refer to the WHATSNEW.txt document for fixup information.
39 This binary release includes encrypted password support.
41 Please read the smb.conf file and ENCRYPTION.txt in the
42 docs directory for implementation details.
44 NOTE: Red Hat Linux uses PAM which has integrated support
45 for Shadow passwords and quotas. Do NOT recompile with the
46 SHADOW_PWD option enabled
48 %changelog
49 * Thu Jun 6 2002 Gerald Carter <jerry@samba.org>
50   - add separate winbindd init script
51   - build and install libsmbclient
53 * Sun Jun 2 2002 Gerald Carter <jerry@samba.org>
54   - include audit and recycle VFS modules in /usr/lib/samba
56 * Mon May 6 2002 Gerald Carter <jerry@samba.org>
57   - moved findsmb to a standard component in samba's 
58     "make install".  Removed from specfile.
60 * Sun Oct 14 2001 Andrew Bartlett <abartlet@samba.org>
61  - Set SBINDIR for codepage/manpage install, cope with 
62     broken Makefile
64 * Mon Aug 1 2001 Tim Potter <tpot@samba.org>
65  - Install winbind daemon, client programs, nss and pam libraries
67 * Sat Mar 31 2001 Andrew Bartlett <abartlet@pcug.org.au>
68  - Changed prefix/share/man for _mandir/share/man
69   - Changed this for a sed macro MANDIR_MACRO
70   - This allows us to build both RH7 (RPM4)
71      and older versions from same specfile.
72  - Made makerpms.sh use the rpm -ta command rather 
73     than attempting to devine the correct location to 
74     put the file.  Also removes some /tmp symlink games.
75   - Allows build on RPM4
76  - Increased PAM requirements to allow us to use 
77    system-auth (this pam is in 6.x errata at least)
79 * Tue Mar 27 2001 John H Terpstra <jht@samba.org>
80  - Fixed typos introduced by Sum Wun.
81  - Build for Red Hat 7.x
83 * Sun Nov 12 2000 John H Terpstra <jht@samba.org>
84  - Updated for Samba-2.2 releases
85  - Added libnss_wins.so stuff
86  - Added compile-time options
88 * Sat Nov 29 1999 Matthew Vanecek <mev0003@unt.edu>
89  - Added a Prefix and changed "/usr" to "%{prefix}"
91 * Sat Nov 11 1999 Tridge <tridge@linuxcare.com>
92  - changed from mount.smb to mount.smbfs
94 * Sat Oct 9 1999 Tridge <tridge@linuxcare.com>
95  - removed smbwrapper
96  - added smbmnt and smbmount
98 * Sun Apr 25 1999 John H Terpstra <jht@samba.org>
99  - added smbsh.1 man page
101 * Fri Mar 26 1999 Andrew Tridgell <tridge@samba.org>
102  - added --with-pam as pam is no longer used by default
104 * Sat Jan 27 1999 Jeremy Allison <jra@samba.org>
105  - Removed smbrun binary and tidied up some loose ends
107 * Sun Oct 25 1998 John H Terpstra <jht@samba.org>
108  - Added parameters to /config to ensure smb.conf, lmhosts, 
109         and smbusers never gets over-written.
111 * Sat Oct 24 1998 John H Terpstra <jht@samba.org>
112  - removed README.smbsh file from docs area
114 * Mon Oct 05 1998 John H Terpstra <jht@samba.org>
115  - Added rpcclient to binaries list
116  - Added smbwrapper stuff
118 * Fri Aug 21 1998 John H Terpstra <jht@samba.org>
119  - Updated for Samba version 2.0 building
121 * Tue Jul 07 1998 Erik Troan <ewt@redhat.com>
122   - updated postun triggerscript to check $0
123   - clear /etc/codepages from %preun instead of %postun
125 * Sat Jul 04 1998 John H Terpstra <jht@samba.org>
126  - fixed codepage preservation during update via -Uvh
128 * Mon Jun 08 1998 Erik Troan <ewt@redhat.com>
129   - made the %postun script a tad less agressive; no reason to remove
130     the logs or lock file 
131   - the %postun and %preun should only exectute if this is the final
132     removal
133   - migrated %triggerpostun from Red Hat's samba package to work around
134     packaging problems in some Red Hat samba releases
136 * Sun Apr 26 1998 John H Terpstra <jht@samba.org>
137  - Tidy up for early alpha releases
138  - added findsmb from SGI packaging
140 * Thu Apr 09 1998 John H Terpstra <jht@samba.org>
141  - Updated spec file
142  - Included new codepage.936
144 * Sat Mar 20 1998 John H Terpstra <jht@samba.org>
145  - Added swat facility
147 * Sat Jan 24 1998 John H Terpstra <jht@samba.org>
148  - Many optimisations (some suggested by Manoj Kasichainula <manojk@io.com>
149   - Use of chkconfig in place of individual symlinks to /etc/rc.d/init/smb
150   - Compounded make line
151   - Updated smb.init restart mechanism
152   - Use compound mkdir -p line instead of individual calls to mkdir
153   - Fixed smb.conf file path for log files
154   - Fixed smb.conf file path for incoming smb print spool directory
155   - Added a number of options to smb.conf file
156   - Added smbuser file and smb.conf file updates for username map
158 %prep
159 %setup
161 %build
162 ## Build main Samba source
163 cd source
165 %ifarch ia64
166 libtoolize --copy --force     # get it to recognize IA-64
167 autoheader
168 autoconf
169 EXTRA="-D_LARGEFILE64_SOURCE"
170 %endif
171 NUMCPU=`grep processor /proc/cpuinfo | wc -l`
172 CFLAGS="$RPM_OPT_FLAGS $EXTRA" ./configure \
173         --prefix=%{prefix} \
174         --localstatedir=/var \
175         --with-configdir=/etc/samba \
176         --with-privatedir=/etc/samba \
177         --with-codepagedir=/etc/codepages \
178         --with-fhs \
179         --with-quotas \
180         --with-msdfs \
181         --with-smbmount \
182         --with-pam \
183         --with-pam_smbpass \
184         --with-syslog \
185         --with-utmp \
186         --with-sambabook=%{prefix}/share/swat/using_samba \
187         --with-swatdir=%{prefix}/share/swat \
188         --with-libsmbclient 
189 make -j${NUMCPU} proto
190 make -j${NUMCPU} all nsswitch/libnss_wins.so
191 make -j${NUMCPU} debug2html
192 make -j${NUMCPU} bin/smbspool
194 ## Build VFS modules
195 cd ../examples/VFS
196 CFLAGS="$RPM_OPT_FLAGS $EXTRA" ./configure \
197         --prefix=%{prefix} \
198         --localstatedir=/var
199 make
200 cd ../..
202 # Remove some permission bits to avoid to many dependencies
203 find examples docs -type f | xargs -r chmod -x
205 %install
206 rm -rf $RPM_BUILD_ROOT
207 mkdir -p $RPM_BUILD_ROOT
208 mkdir -p $RPM_BUILD_ROOT/sbin
209 mkdir -p $RPM_BUILD_ROOT/etc/samba
210 mkdir -p $RPM_BUILD_ROOT/etc/codepages/src
211 mkdir -p $RPM_BUILD_ROOT/etc/{logrotate.d,pam.d,samba}
212 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
213 mkdir -p $RPM_BUILD_ROOT%{prefix}/{bin,sbin}
214 mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/{images,help,include,using_samba}
215 mkdir -p $RPM_BUILD_ROOT%{prefix}/share/swat/using_samba/{figs,gifs}
216 mkdir -p $RPM_BUILD_ROOTMANDIR_MACRO
217 mkdir -p $RPM_BUILD_ROOT/var/cache/samba
218 mkdir -p $RPM_BUILD_ROOT/var/{log,run}/samba
219 mkdir -p $RPM_BUILD_ROOT/var/spool/samba
220 mkdir -p $RPM_BUILD_ROOT/lib/security
221 mkdir -p $RPM_BUILD_ROOT%{prefix}/lib/samba/vfs
222 mkdir -p $RPM_BUILD_ROOT%{prefix}/{lib,include}
224 # Install standard binary files
225 for i in nmblookup smbclient smbpasswd smbstatus testparm testprns \
226       make_smbcodepage make_unicodemap make_printerdef rpcclient smbspool \
227       smbcacls smbcontrol wbinfo smbmnt
229 install -m755 source/bin/$i $RPM_BUILD_ROOT%{prefix}/bin
230 done
231 for i in mksmbpasswd.sh smbtar findsmb
233         install -m755 source/script/$i $RPM_BUILD_ROOT%{prefix}/bin
234 done
236 # Install secure binary files
237 for i in smbd nmbd swat smbmount smbumount debug2html winbindd
239         install -m755 source/bin/$i $RPM_BUILD_ROOT%{prefix}/sbin
240 done
242 # we need a symlink for mount to recognise the smb and smbfs filesystem types
243 ln -sf %{prefix}/sbin/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
244 ln -sf %{prefix}/sbin/smbmount $RPM_BUILD_ROOT/sbin/mount.smb
246 # This allows us to get away without duplicating code that 
247 #  sombody else can maintain for us.  
248 cd source
249 make BASEDIR=$RPM_BUILD_ROOT/usr \
250         LIBDIR=$RPM_BUILD_ROOT/etc/samba \
251         VARDIR=$RPM_BUILD_ROOT/var \
252         SBINDIR=$RPM_BUILD_ROOT%{prefix}/sbin \
253         BINDIR=$RPM_BUILD_ROOT%{prefix}/bin \
254         MANDIR=$RPM_BUILD_ROOTMANDIR_MACRO \
255         CODEPAGEDIR=$RPM_BUILD_ROOT/etc/codepages \
256         SWATDIR=$RPM_BUILD_ROOT/usr/share/swat \
257         SAMBABOOK=$RPM_BUILD_ROOT/usr/share/swat/using_samba \
258         installman installcp installswat
259 cd ..
261 # Install codepage source files
262 for i in source/codepages/codepage_def.* source/codepages/*.TXT
264         install -m644 $i $RPM_BUILD_ROOT/etc/codepages/src
265 done
267 # Install the nsswitch wins library
268 install -m755 source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/lib
269 ( cd $RPM_BUILD_ROOT/lib; ln -sf libnss_wins.so libnss_wins.so.2; )
271 # Install winbind shared libraries
272 install -m755 source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/lib
273 ( cd $RPM_BUILD_ROOT/lib; ln -sf libnss_winbind.so libnss_winbind.so.2; )
274 install -m755 source/nsswitch/pam_winbind.so $RPM_BUILD_ROOT/lib/security
276 # Install pam_smbpass.so
277 install -m755 source/bin/pam_smbpass.so $RPM_BUILD_ROOT/lib/security
279 # Install the VFS modules
280 install -m755 examples/VFS/recycle/recycle.so $RPM_BUILD_ROOT%{prefix}/lib/samba/vfs
281 install -m644 examples/VFS/recycle/recycle.conf $RPM_BUILD_ROOT/etc/samba/
282 install -m755 examples/VFS/block/block.so $RPM_BUILD_ROOT%{prefix}/lib/samba/vfs
283 install -m644 examples/VFS/block/samba-block.conf $RPM_BUILD_ROOT/etc/samba/
284 install -m755 examples/VFS/audit.so $RPM_BUILD_ROOT%{prefix}/lib/samba/vfs
286 # clean out VFS directory since it will get installed as documentation later
287 (cd examples/VFS; make clean)
289 # libsmbclient
290 install -m 755 source/bin/libsmbclient.so $RPM_BUILD_ROOT%{prefix}/lib/
291 install -m 755 source/bin/libsmbclient.a $RPM_BUILD_ROOT%{prefix}/lib/
292 install -m 644 source/include/libsmbclient.h $RPM_BUILD_ROOT%{prefix}/include/
294 # Install SWAT helper files
295 for i in swat/help/*.html docs/htmldocs/*.html
297         install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/help
298 done
299 for i in swat/images/*.gif
301         install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/images
302 done
303 for i in swat/include/*.html
305         install -m644 $i $RPM_BUILD_ROOT%{prefix}/share/swat/include
306 done
308 # Install the miscellany
309 install -m644 swat/README $RPM_BUILD_ROOT%{prefix}/share/swat
310 install -m755 packaging/RedHat/smbprint $RPM_BUILD_ROOT%{prefix}/bin
311 install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
312 install -m755 packaging/RedHat/winbind.init $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
313 install -m755 packaging/RedHat/smb.init $RPM_BUILD_ROOT%{prefix}/sbin/samba
314 install -m644 packaging/RedHat/samba.log $RPM_BUILD_ROOT/etc/logrotate.d/samba
315 install -m644 packaging/RedHat/smb.conf $RPM_BUILD_ROOT/etc/samba/smb.conf
316 install -m644 packaging/RedHat/smbusers $RPM_BUILD_ROOT/etc/samba/smbusers
317 install -m644 packaging/RedHat/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/samba
318 install -m644 packaging/RedHat/samba.pamd.stack $RPM_BUILD_ROOT/etc/samba/samba.stack
319 install -m644 packaging/RedHat/samba.xinetd $RPM_BUILD_ROOT/etc/samba/samba.xinetd
320 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT/etc/samba/lmhosts
322 # Remove "*.old" files
323 find $RPM_BUILD_ROOT -name "*.old" -exec rm -f {} \;
325 %clean
326 rm -rf $RPM_BUILD_ROOT
328 %post
329 /sbin/chkconfig --add smb
330 /sbin/chkconfig --add winbind
331 /sbin/chkconfig smb off
332 /sbin/chkconfig winbind off
334 echo "Looking for old /etc/smb.conf..."
335 if [ -f /etc/smb.conf -a ! -f /etc/samba/smb.conf ]; then
336         echo "Moving old /etc/smb.conf to /etc/samba/smb.conf"
337         mv /etc/smb.conf /etc/samba/smb.conf
340 echo "Looking for old /etc/smbusers..."
341 if [ -f /etc/smbusers -a ! -f /etc/samba/smbusers ]; then
342         echo "Moving old /etc/smbusers to /etc/samba/smbusers"
343         mv /etc/smbusers /etc/samba/smbusers
346 echo "Looking for old /etc/lmhosts..."
347 if [ -f /etc/lmhosts -a ! -f /etc/samba/lmhosts ]; then
348         echo "Moving old /etc/lmhosts to /etc/samba/lmhosts"
349         mv /etc/lmhosts /etc/samba/lmhosts
352 echo "Looking for old /etc/MACHINE.SID..."
353 if [ -f /etc/MACHINE.SID -a ! -f /etc/samba/MACHINE.SID ]; then
354         echo "Moving old /etc/MACHINE.SID to /etc/samba/MACHINE.SID"
355         mv /etc/MACHINE.SID /etc/samba/MACHINE.SID
358 echo "Looking for old /etc/smbpasswd..."
359 if [ -f /etc/smbpasswd -a ! -f /etc/samba/smbpasswd ]; then
360         echo "Moving old /etc/smbpasswd to /etc/samba/smbpasswd"
361         mv /etc/smbpasswd /etc/samba/smbpasswd
365 # For 2.2.1 we move the tdb files from /var/lock/samba to /var/cache/samba
366 # to preserve across reboots.
368 echo "Moving tdb files in /var/lock/samba/*.tdb to /var/cache/samba/*.tdb"
369 for i in /var/lock/samba/*.tdb
371 if [ -f $i ]; then
372         newname=`echo $i | sed -e's|var\/lock\/samba|var\/cache\/samba|'`
373         echo "Moving $i to $newname"
374         mv $i $newname
376 done
378 # Remove the transient tdb files.
379 if [ -e /var/cache/samba/brlock.tdb ]; then
380         rm -f /var/cache/samba/brlock.tdb
383 if [ -e /var/cache/samba/unexpected.tdb ]; then
384         rm -f /var/cache/samba/unexpected.tdb
387 if [ -e /var/cache/samba/connections.tdb ]; then
388         rm -f /var/cache/samba/connections.tdb
391 if [ -e /var/cache/samba/locking.tdb ]; then
392         rm -f /var/cache/samba/locking.tdb
395 if [ -e /var/cache/samba/messages.tdb ]; then
396         rm -f /var/cache/samba/messages.tdb
399 if [ -d /var/lock/samba ]; then
400         rm -rf /var/lock/samba
403 # Add swat entry to /etc/services if not already there.
404 if !( grep ^[:space:]*swat /etc/services > /dev/null ) then
405         echo 'swat              901/tcp                         # Add swat service used via inetd' >> /etc/services
408 # Add swat entry to /etc/inetd.conf if needed.
409 if [ -f /etc/inetd.conf ]; then
410         if !( grep ^[:space:]*swat /etc/inetd.conf > /dev/null ) then
411                 echo 'swat      stream  tcp     nowait.400      root    %{prefix}/sbin/swat swat' >> /etc/inetd.conf
412         killall -1 inetd || :
413         fi
416 # Add swat entry to xinetd.d if needed.
417 if [ -d $RPM_BUILD_ROOT/etc/xinetd.d -a ! -f /etc/xinetd.d/swat ]; then
418         mv /etc/samba/samba.xinetd /etc/xinetd.d/swat
419 else
420         rm -f /etc/samba/samba.xinetd
423 # Install the correct version of the samba pam file, depending on pam version.
424 if [ -f /lib/security/pam_stack.so ]; then
425         echo "Installing stack version of /etc/pam.d/samba..."
426         mv /etc/samba/samba.stack /etc/pam.d/samba
427 else
428         echo "Installing non-stack version of /etc/pam.d/samba..."
429         rm -f /etc/samba/samba.stack
432 # Create winbind nss client symlink
434 if [ -e /lib/libnss_winbind.so ]; then
435         ln -sf /lib/libnss_winbind.so /lib/libnss_winbind.so.2
438 %preun
439 if [ $1 = 0 ] ; then
440         /sbin/chkconfig --del smb
442         # We want to remove the browse.dat and wins.dat files so they can not interfer with a new version of samba!
443         if [ -e /var/cache/samba/browse.dat ]; then
444                 rm -f /var/cache/samba/browse.dat
445         fi
446         if [ -e /var/cache/samba/wins.dat ]; then
447                 rm -f /var/cache/samba/wins.dat
448         fi
450         # Remove the transient tdb files.
451         if [ -e /var/cache/samba/brlock.tdb ]; then
452                 rm -f /var/cache/samba/brlock.tdb
453         fi
455         if [ -e /var/cache/samba/unexpected.tdb ]; then
456                 rm -f /var/cache/samba/unexpected.tdb
457         fi
459         if [ -e /var/cache/samba/connections.tdb ]; then
460                 rm -f /var/cache/samba/connections.tdb
461         fi
463         if [ -e /var/cache/samba/locking.tdb ]; then
464                 rm -f /var/cache/samba/locking.tdb
465         fi
467         if [ -e /var/cache/samba/messages.tdb ]; then
468                 rm -f /var/cache/samba/messages.tdb
469         fi
471         # Remove winbind nss client symlink
473         if [ -L /lib/libnss_winbind.so.2 ]; then
474                 rm -f /lib/libnss_winbind.so.2
475         fi
478 %postun
479 # Only delete remnants of samba if this is the final deletion.
480 if [ $1 = 0 ] ; then
481     if [ -x /etc/pam.d/samba ]; then
482       rm -f /etc/pam.d/samba
483     fi
484     if [ -e /var/log/samba ]; then
485       rm -rf /var/log/samba
486     fi
487         if [ -e /var/cache/samba ]; then
488                 rm -rf /var/cache/samba
489         fi
491     # Remove swat entries from /etc/inetd.conf and /etc/services
492     cd /etc
493     tmpfile=/etc/tmp.$$
494         if [ -f /etc/inetd.conf ]; then
495       # preserve inetd.conf permissions.
496       cp -p /etc/inetd.conf $tmpfile
497       sed -e '/^[:space:]*swat.*$/d' /etc/inetd.conf > $tmpfile
498       mv $tmpfile inetd.conf
499         fi
500     # preserve services permissions.
501     cp -p /etc/services $tmpfile
502     sed -e '/^[:space:]*swat.*$/d' /etc/services > $tmpfile
503     mv $tmpfile /etc/services
505         # Remove swat entry from /etc/xinetd.d
506         if [ -f /etc/xinetd.d/swat ]; then
507                 rm -r /etc/xinetd.d/swat
508         fi
511 #%triggerpostun -- samba < samba-2.0.0
512 #if [ $0 != 0 ]; then
513 #    /sbin/chkconfig --add smb
516 %files
517 %defattr(-,root,root)
518 %doc README COPYING Manifest Read-Manifest-Now
519 %doc WHATSNEW.txt Roadmap
520 %doc docs
521 %doc swat/README
522 %doc examples
523 %{prefix}/sbin/smbd
524 %{prefix}/sbin/nmbd
525 %{prefix}/sbin/swat
526 %{prefix}/bin/smbmnt
527 %{prefix}/sbin/smbmount
528 %{prefix}/sbin/smbumount
529 %{prefix}/sbin/winbindd
530 %{prefix}/sbin/debug2html
531 %{prefix}/sbin/samba
532 /sbin/mount.smbfs
533 /sbin/mount.smb
534 %{prefix}/bin/mksmbpasswd.sh
535 %{prefix}/bin/smbclient
536 %{prefix}/bin/smbspool
537 %{prefix}/bin/rpcclient
538 %{prefix}/bin/testparm
539 %{prefix}/bin/testprns
540 %{prefix}/bin/findsmb
541 %{prefix}/bin/smbstatus
542 %{prefix}/bin/nmblookup
543 %{prefix}/bin/make_smbcodepage
544 %{prefix}/bin/make_unicodemap
545 %{prefix}/bin/make_printerdef
546 %{prefix}/bin/smbpasswd
547 %{prefix}/bin/smbtar
548 %{prefix}/bin/smbprint
549 %{prefix}/bin/smbcontrol
550 %{prefix}/bin/smbcacls
551 %{prefix}/bin/wbinfo
552 %{prefix}/bin/pam_smbpass.so
553 %{prefix}/bin/smbmount
554 %{prefix}/bin/smbumount
555 %{prefix}/bin/tdbbackup
556 %attr(755,root,root) /lib/libnss_wins.s*
557 %attr(755,root,root) %{prefix}/lib/samba/vfs/*.so
558 %{prefix}/include/libsmbclient.h
559 %{prefix}/lib/libsmbclient.a
560 %{prefix}/lib/libsmbclient.so
561 %{prefix}/share/swat/help/*
562 %{prefix}/share/swat/images/*
563 %{prefix}/share/swat/include/header.html
564 %{prefix}/share/swat/include/footer.html
565 %{prefix}/share/swat/using_samba/*
566 %{prefix}/share/swat/README
567 %config(noreplace) /etc/samba/lmhosts
568 %config(noreplace) /etc/samba/smb.conf
569 %config(noreplace) /etc/samba/recycle.conf
570 %config(noreplace) /etc/samba/samba-block.conf
571 %config(noreplace) /etc/samba/smbusers
572 /etc/samba/samba.stack
573 /etc/samba/samba.xinetd
574 /etc/rc.d/init.d/smb
575 /etc/rc.d/init.d/winbind
576 /etc/logrotate.d/samba
577 %config(noreplace) /etc/pam.d/samba
578 MANDIR_MACRO/man1/*
579 MANDIR_MACRO/man5/*
580 MANDIR_MACRO/man7/*
581 MANDIR_MACRO/man8/*
582 %dir /etc/codepages/*
583 %dir /etc/codepages/src/*
584 %attr(755,root,root) %dir /var/cache/samba
585 %dir /var/log/samba
586 %dir /var/run/samba
587 %attr(1777,root,root) %dir /var/spool/samba
588 %attr(-,root,root) /lib/libnss_winbind.so
589 %attr(-,root,root) /lib/security/pam_winbind.so
590 %attr(-,root,root) /lib/security/pam_smbpass.so