a9bac9216145f87311cc7d721e23495b9210ed41
[abartlet/samba.git/.git] / packaging / RHEL-CTDB / samba.spec.tmpl
1 %define initdir %{_sysconfdir}/rc.d/init.d
2 %define auth %(test -f /etc/pam.d/system-auth && echo /etc/pam.d/system-auth || echo)
3
4 Summary: Samba SMB client and server
5 Vendor: Samba Team
6 Packager: Samba Team <samba@samba.org>
7 Name:         samba
8 Version:      PVERSION
9 Release:      1
10 Epoch:        0
11 License: GNU GPL version 3
12 Group: System Environment/Daemons
13 URL: http://www.samba.org/
14
15 Source: samba-%{version}.tar.bz2
16
17 # Don't depend on Net::LDAP
18 Source997: docs.tar.bz2
19 Source998: filter-requires-samba.sh
20 Source999: setup.tar.bz2
21
22 Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
23 Prereq: fileutils sed /etc/init.d
24
25 Requires: pam >= 0.64 %{auth} 
26 Requires: samba-common = %{version}-%{release}
27 Requires: logrotate >= 3.4 initscripts >= 5.54-1
28 Provides: samba = %{version}
29
30 Prefix: /usr
31 BuildRoot: %{_tmppath}/%{name}-%{version}-root
32 BuildRequires: pam-devel, readline-devel, fileutils, libacl-devel, openldap-devel, krb5-devel, cups-devel, ctdb
33
34 # Working around perl dependency problem from docs
35 %define __perl_requires %{SOURCE998}
36
37 # rpm screws up the arch lib dir when using --target on RHEL5
38 %ifarch i386 i486 i586 i686 ppc s390
39 %define _libarch lib
40 %else
41 %define _libarch %_lib
42 %endif
43
44 %define _libarchdir /usr/%{_libarch}
45
46
47 %description
48 Samba is the protocol by which a lot of PC-related machines share
49 files, printers, and other information (such as lists of available
50 files and printers). The Windows NT, OS/2, and Linux operating systems
51 support this natively, and add-on packages can enable the same thing
52 for DOS, Windows, VMS, UNIX of all kinds, MVS, and more. This package
53 provides an SMB server that can be used to provide network services to
54 SMB (sometimes called "Lan Manager") clients. Samba uses NetBIOS over
55 TCP/IP (NetBT) protocols and does NOT need the NetBEUI (Microsoft Raw
56 NetBIOS frame) protocol.
57
58
59 ######################################################################
60 %package client
61 Summary: Samba (SMB) client programs.
62 Group: Applications/System
63 Requires: samba-common = %{version}-%{release}
64 Obsoletes: smbfs
65 Provides: samba-client = %{version}-%{release}
66
67 %description client
68 The samba-client package provides some SMB clients to compliment the
69 built-in SMB filesystem in Linux. These clients allow access of SMB
70 shares and printing to SMB printers.
71
72
73 #######################################################################
74 %package common
75 Summary: Files used by both Samba servers and clients.
76 Group: Applications/System
77 Provides: samba-common = %{version}-%{release}
78
79 %description common
80 Samba-common provides files necessary for both the server and client
81 packages of Samba.
82
83
84 #######################################################################
85 %package swat
86 Summary: The Samba SMB server configuration program.
87 Group: Applications/System
88 Requires: samba = %{version} xinetd
89 Provides: samba-swat = %{version}-%{release}
90
91 %description swat
92 The samba-swat package includes the new SWAT (Samba Web Administration
93 Tool), for remotely managing Samba's smb.conf file using your favorite
94 Web browser.
95
96 %ifarch x86_64 ppc64
97 %package winbind-32bit
98 Summary:        Samba winbind compatibility package for 32bit apps on 64bit archs
99 Group:          Applications/System
100
101 %description winbind-32bit
102 Compatibility package for 32 bit apps on 64 bit architecures
103 %endif
104
105
106 #######################################################################
107 %package doc
108 Summary:      Samba Documentation
109 Group:        Documentation/Other
110 Provides:     samba-doc = %{version}-%{release}
111 Prereq:       /usr/bin/find /bin/rm /usr/bin/xargs
112
113 %description doc
114 The samba-doc package includes the HTML versions of the Samba manpages
115 utilized by SWAT as well as the HTML and PDF version of "Using Samba",
116 "Samba By Example", and "The Official Samba HOWTO and Reference Guide".
117
118
119 #######################################################################
120
121 %prep
122 %setup -q
123
124 # setup the vendor files (init scripts, etc...)
125 %setup -T -D -a 999 -n samba-%{version} -q
126 %setup -T -D -a 997 -n samba-%{version} -q
127
128 %build
129
130 /bin/cp setup/filter-requires-samba.sh %{SOURCE998}
131
132 cd source3
133 # RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
134
135 ## check for ccache
136 if ccache -h >/dev/null 2>&1 ; then
137         CC="ccache gcc"
138 else
139         CC="gcc"
140 fi
141
142 export CC
143
144 ## always run autogen.sh
145 ./autogen.sh
146
147
148 ##
149 ## build the files for the winbind-32bit compat package
150 ## and copy them to a safe location
151 ##
152 %ifarch x86_64 ppc64
153
154 # a directory to store the 32bit compatibility modules for later install
155 %define _32bit_tmp_dir %{_tmppath}/%{name}-%{version}-32bit
156
157 CC_SAVE="$CC"
158 CC="$CC -m32"
159
160 CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -m32" ./configure \
161         --prefix=%{_prefix} \
162         --localstatedir=/var \
163         --with-configdir=%{_sysconfdir}/samba \
164         --with-libdir=/usr/lib/samba \
165         --with-pammodulesdir=/lib/security \
166         --with-lockdir=/var/lib/samba \
167         --with-logfilebase=/var/log/samba \
168         --with-mandir=%{_mandir} \
169         --with-piddir=/var/run \
170         --with-privatedir=%{_sysconfdir}/samba \
171         --disable-cups \
172         --with-acl-support \
173         --with-ads \
174         --with-automount \
175         --with-fhs \
176         --with-pam_smbpass \
177         --with-libsmbclient \
178         --with-libsmbsharemodes \
179         --without-smbwrapper \
180         --with-pam \
181         --with-quotas \
182         --with-syslog \
183         --with-utmp \
184         --with-cluster-support \
185         --with-ctdb=/usr/include \
186         --without-ldb \
187         --without-dnsupdate \
188         --with-aio-support
189
190 make showlayout
191
192 ## check for gcc 3.4 or later
193 CC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
194 CC_MAJOR=`echo ${CC_VERSION} | cut -d. -f 1`
195 CC_MINOR=`echo ${CC_VERSION} | cut -d. -f 2`
196 if [ ${CC_MAJOR} -ge 3 ]; then
197         if [ ${CC_MAJOR} -gt 3 -o ${CC_MINOR} -ge 4 ]; then
198                 make pch
199         fi
200 fi
201
202 make %{?_smp_mflags} \
203         nss_modules pam_modules
204
205 rm -rf %{_32bit_tmp_dir}
206 mkdir %{_32bit_tmp_dir}
207
208 mv ../nsswitch/libnss_winbind.so %{_32bit_tmp_dir}/
209 mv bin/pam_winbind.so %{_32bit_tmp_dir}/
210 mv bin/libtalloc.so* %{_32bit_tmp_dir}/
211 mv bin/libtdb.so* %{_32bit_tmp_dir}/
212 mv bin/libwbclient.so* %{_32bit_tmp_dir}/
213
214 make clean
215
216 CC="$CC_SAVE"
217
218 %endif
219
220 CFLAGS="$RPM_OPT_FLAGS $EXTRA -D_GNU_SOURCE" ./configure \
221         --prefix=%{_prefix} \
222         --localstatedir=/var \
223         --with-configdir=%{_sysconfdir}/samba \
224         --libdir=%{_libarchdir} \
225         --with-modulesdir=%{_libarchdir}/samba \
226         --with-pammodulesdir=%{_libarch}/security \
227         --with-lockdir=/var/lib/samba \
228         --with-logfilebase=/var/log/samba \
229         --with-mandir=%{_mandir} \
230         --with-piddir=/var/run \
231         --with-privatedir=%{_sysconfdir}/samba \
232         --with-sambabook=%{_datadir}/swat/using_samba \
233         --with-swatdir=%{_datadir}/swat \
234         --disable-cups \
235         --with-acl-support \
236         --with-ads \
237         --with-automount \
238         --with-fhs \
239         --with-pam_smbpass \
240         --with-libsmbclient \
241         --with-libsmbsharemodes \
242         --without-smbwrapper \
243         --with-pam \
244         --with-quotas \
245         --with-shared-modules=idmap_rid,idmap_ad,idmap_tdb2,vfs_gpfs \
246         --with-syslog \
247         --with-utmp \
248         --with-cluster-support \
249         --with-ctdb=/usr/include \
250         --without-ldb \
251         --without-dnsupdate \
252         --with-aio-support
253
254 make showlayout
255
256 ## check for gcc 3.4 or later
257 CC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
258 CC_MAJOR=`echo ${CC_VERSION} | cut -d. -f 1`
259 CC_MINOR=`echo ${CC_VERSION} | cut -d. -f 2`
260 if [ ${CC_MAJOR} -ge 3 ]; then
261         if [ ${CC_MAJOR} -gt 3 -o ${CC_MINOR} -ge 4 ]; then
262                 make pch
263         fi
264 fi
265
266
267 make %{?_smp_mflags} \
268         all modules pam_smbpass
269
270 # Remove some permission bits to avoid to many dependencies
271 cd ..
272 find examples docs -type f | xargs -r chmod -x
273
274 %install
275 # Clean up in case there is trash left from a previous build
276 rm -rf $RPM_BUILD_ROOT
277
278 # Create the target build directory hierarchy
279 mkdir -p $RPM_BUILD_ROOT%{_datadir}/swat/{help,include,using_samba/{figs,gifsa}}
280 mkdir -p $RPM_BUILD_ROOT%{_includedir}
281 mkdir -p $RPM_BUILD_ROOT%{_initrddir}
282 mkdir -p $RPM_BUILD_ROOT{%{_libarchdir},%{_includedir}}
283 mkdir -p $RPM_BUILD_ROOT%{_libarchdir}/samba/{auth,charset,idmap,vfs,pdb}
284 mkdir -p $RPM_BUILD_ROOT/%{_libarch}/security
285 mkdir -p $RPM_BUILD_ROOT/lib/security
286 mkdir -p $RPM_BUILD_ROOT%{_mandir}
287 mkdir -p $RPM_BUILD_ROOT%{_prefix}/{bin,sbin}
288 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib
289 mkdir -p $RPM_BUILD_ROOT/sbin
290 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{logrotate.d,pam.d,samba}
291 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d,logrotate.d}
292 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
293 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{samba,sysconfig}
294 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
295 mkdir -p $RPM_BUILD_ROOT/var/lib/samba/winbindd_privileged
296 mkdir -p $RPM_BUILD_ROOT/var/{log,run/winbindd,spool}/samba
297
298 cd source3
299 make DESTDIR=$RPM_BUILD_ROOT \
300         install
301 cd ..
302
303 # NSS winbind support
304 install -m 755 nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_libarch}/libnss_winbind.so.2
305 ( cd $RPM_BUILD_ROOT/%{_libarch};
306   ln -sf libnss_winbind.so.2  libnss_winbind.so )
307 #
308 # do not install libnss_wins.so in order to reduce dependencies
309 # (we do not need it for the samba-ctdb scenario)
310 #
311 #install -m 755 nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_libarch}/libnss_wins.so
312 # ( cd $RPM_BUILD_ROOT/%{_libarch}; ln -sf libnss_wins.so  libnss_wins.so.2 )
313
314
315 # install files for winbind-32bit package
316 %ifarch x86_64 ppc64
317
318 install -m 755 %{_32bit_tmp_dir}/libnss_winbind.so ${RPM_BUILD_ROOT}/lib/libnss_winbind.so.2
319 ( cd ${RPM_BUILD_ROOT}/lib; ln -sf libnss_winbind.so.2  libnss_winbind.so )
320
321 mv %{_32bit_tmp_dir}/libtalloc* ${RPM_BUILD_ROOT}/usr/lib
322 mv %{_32bit_tmp_dir}/libtdb* ${RPM_BUILD_ROOT}/usr/lib
323 mv %{_32bit_tmp_dir}/libwbclient* ${RPM_BUILD_ROOT}/usr/lib
324 mv %{_32bit_tmp_dir}/pam_winbind.so ${RPM_BUILD_ROOT}/lib/security
325
326 rm -rf %{_32bit_tmp_dir}
327
328 %endif
329
330 ## cleanup
331 /bin/rm -rf $RPM_BUILD_ROOT/usr/lib*/samba/security
332
333 # Install the miscellany
334 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
335
336 install -m644 setup/samba.log $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/samba
337 install -m644 setup/swat $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat
338 install -m644 setup/samba.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/samba
339 install -m755 setup/smb.init $RPM_BUILD_ROOT%{initdir}/smb
340 install -m755 setup/winbind.init $RPM_BUILD_ROOT%{initdir}/winbind
341 install -m644 setup/samba.pamd $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/samba
342 install -m755 setup/smbprint $RPM_BUILD_ROOT%{_bindir}
343 install -m644 setup/smbusers $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
344 install -m644 setup/smb.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
345 install -m755 source3/bin/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs
346 install -m755 source3/bin/umount.cifs $RPM_BUILD_ROOT/sbin/umount.cifs
347 install -m755 source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir}
348
349 /bin/rm $RPM_BUILD_ROOT%{_sbindir}/*mount.cifs
350
351 ln -s ../..%{initdir}/smb  $RPM_BUILD_ROOT%{_sbindir}/samba
352 ln -s ../..%{initdir}/winbind  $RPM_BUILD_ROOT%{_sbindir}/winbind
353
354 # Remove "*.old" files
355 find $RPM_BUILD_ROOT -name "*.old" -exec rm -f {} \;
356
357 ## don't duplicate the docs.  These are installed by/with SWAT
358 rm -rf docs/htmldocs
359 rm -rf docs/manpages
360 ( cd docs; ln -s %{_prefix}/share/swat/help htmldocs )
361
362 ##
363 ## Clean out man pages for tools not installed here
364 ##
365 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1*
366 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbsh.1*
367 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/vfstest.1*
368
369
370 %clean
371 rm -rf $RPM_BUILD_ROOT
372
373 %post
374 ## deal with an upgrade from a broken 3.0.21b RPM
375 if [ "$1" -eq "2" ]; then
376         if [ -d /var/cache/samba ]; then
377                 for file in `ls /var/cache/samba/*tdb`; do
378                         /bin/cp -up $file /var/lib/samba/`basename $file`
379                 done
380                 mkdir -p /var/lib/samba/eventlog
381                 for file in `ls /var/cache/samba/eventlog/*tdb`; do
382                         /bin/cp -up $file /var/lib/samba/eventlog/`basename $file`
383                 done
384                 /bin/mv /var/cache/samba /var/cache/samba.moved
385         fi
386 fi
387
388 if [ "$1" -ge "1" ]; then
389         /sbin/service smb condrestart >/dev/null 2>&1 || :
390 fi
391
392 %preun
393 if [ $1 = 0 ] ; then
394     /sbin/service smb stop >/dev/null 2>&1 || :
395     /sbin/chkconfig --del smb
396     # rm -rf /var/log/samba/* /var/lib/samba/*
397 fi
398 exit 0
399
400 #%postun
401
402 %post swat
403 # Add swat entry to /etc/services if not already there.
404 if [ ! "`grep ^\s**swat /etc/services`" ]; then
405         echo 'swat        901/tcp     # Add swat service used via inetd' >> /etc/services
406 fi
407
408 %post common
409 /sbin/ldconfig
410
411 if [ "$1" -ge "1" ]; then
412         /sbin/service winbind condrestart >/dev/null 2>&1 || :
413 fi
414
415 %preun common
416 if [ $1 = 0 ] ; then
417     /sbin/service winbind stop >/dev/null 2>&1 || :
418     /sbin/chkconfig --del winbind
419 fi
420 exit 0
421
422 %postun common 
423 /sbin/ldconfig
424
425 #######################################################################
426 ## Files section                                                     ##
427 #######################################################################
428
429 %files
430 %defattr(-,root,root)
431
432 %config(noreplace) %{_sysconfdir}/sysconfig/samba
433 %config(noreplace) %{_sysconfdir}/samba/smbusers
434 %attr(755,root,root) %config %{initdir}/smb
435 %config(noreplace) %{_sysconfdir}/logrotate.d/samba
436 %config(noreplace) %{_sysconfdir}/pam.d/samba
437
438 %attr(0755,root,root) %dir /var/log/samba
439 %attr(0755,root,root) %dir /var/lib/samba
440 %attr(1777,root,root) %dir /var/spool/samba
441
442 %{_sbindir}/samba
443
444 %{_sbindir}/smbd
445 %{_sbindir}/nmbd
446
447 %{_bindir}/mksmbpasswd.sh
448 %{_bindir}/smbcontrol
449 %{_bindir}/smbstatus
450 %{_bindir}/tdbbackup
451 %{_bindir}/tdbtool
452 %{_bindir}/tdbdump
453 %{_bindir}/eventlogadm
454
455 %{_libarchdir}/samba/idmap/*.so
456 %{_libarchdir}/samba/nss_info/*.so
457 %{_libarchdir}/samba/vfs/*.so
458 %{_libarchdir}/samba/auth/*.so
459
460 %{_mandir}/man1/smbcontrol.1*
461 %{_mandir}/man1/smbstatus.1*
462 %{_mandir}/man1/vfstest.1*
463 %{_mandir}/man5/smbpasswd.5*
464 %{_mandir}/man7/samba.7*
465 %{_mandir}/man8/nmbd.8*
466 %{_mandir}/man8/pdbedit.8*
467 %{_mandir}/man8/smbd.8*
468 %{_mandir}/man8/tdbbackup.8*
469 %{_mandir}/man8/tdbdump.8*
470 %{_mandir}/man8/tdbtool.8*
471 %{_mandir}/man8/eventlogadm.8*
472 %{_mandir}/man8/vfs_*.8*
473 %{_mandir}/man8/idmap_*.8*
474
475
476 ##########
477
478 %files doc
479 %defattr(-,root,root)
480 %doc README COPYING Manifest 
481 %doc WHATSNEW.txt Roadmap
482 %doc docs
483 %doc examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting
484 %doc examples/printing
485
486 ##########
487
488 %files swat
489 %defattr(-,root,root)
490 %config(noreplace) %{_sysconfdir}/xinetd.d/swat
491 %dir %{_datadir}/swat
492 %{_datadir}/swat/*
493 %{_sbindir}/swat
494 %{_mandir}/man8/swat.8*
495 %attr(755,root,root) %{_libarchdir}/samba/*.msg
496
497 ##########
498
499 %files client
500 %defattr(-,root,root)
501 /sbin/mount.cifs
502 /sbin/umount.cifs
503
504 %{_sbindir}/cifs.upcall
505
506 %{_bindir}/rpcclient
507 %{_bindir}/smbcacls
508 %{_bindir}/findsmb
509 %{_bindir}/nmblookup
510 %{_bindir}/smbget
511 %{_bindir}/smbclient
512 %{_bindir}/smbprint
513 %{_bindir}/smbspool
514 %{_bindir}/smbtar
515 %{_bindir}/smbtree
516 %{_bindir}/sharesec
517
518 %{_mandir}/man8/mount.cifs.8.*
519 %{_mandir}/man8/umount.cifs.8.*
520 %{_mandir}/man8/cifs.upcall.8*
521 %{_mandir}/man8/smbspool.8*
522 %{_mandir}/man1/smbget.1*
523 %{_mandir}/man5/smbgetrc.5*
524 %{_mandir}/man1/findsmb.1*
525 %{_mandir}/man1/nmblookup.1*
526 %{_mandir}/man1/rpcclient.1*
527 %{_mandir}/man1/smbcacls.1*
528 %{_mandir}/man1/smbclient.1*
529 %{_mandir}/man1/smbtar.1*
530 %{_mandir}/man1/smbtree.1*
531
532 ##########
533
534 %files common
535 %defattr(-,root,root)
536 %dir %{_sysconfdir}/samba
537 %dir %{_libarchdir}/samba
538 %dir %{_libarchdir}/samba/charset
539 %config(noreplace) %{_sysconfdir}/samba/smb.conf
540 %config(noreplace) %{_sysconfdir}/samba/lmhosts
541 %attr(755,root,root) %config %{initdir}/winbind
542
543 #%attr(755,root,root) /%{_libarch}/libnss_wins.so*
544 %attr(755,root,root) /%{_libarch}/libnss_winbind.so*
545 %attr(755,root,root) /%{_libarch}/security/pam_winbind.so
546 %attr(755,root,root) /%{_libarch}/security/pam_smbpass.so
547 /usr/share/locale/de/LC_MESSAGES/pam_winbind.mo
548
549 %{_includedir}/libsmbclient.h
550 %{_libarchdir}/libsmbclient.*
551 #%{_includedir}/libmsrpc.h
552 #%{_libarchdir}/libmsrpc.*
553 %{_includedir}/smb_share_modes.h
554 %{_libarchdir}/libsmbsharemodes.*
555
556 %{_libarchdir}/samba/*.dat
557 %{_libarchdir}/samba/charset/*.so
558
559 %{_includedir}/netapi.h
560 %{_includedir}/wbclient.h
561 %{_includedir}/talloc.h
562 %{_includedir}/tdb.h
563 %{_libarchdir}/libnetapi.so*
564 %{_libarchdir}/libtalloc.so*
565 %{_libarchdir}/libtdb.so*
566 %{_libarchdir}/libwbclient.so*
567
568 %{_sbindir}/winbind
569
570 %{_sbindir}/winbindd
571 %{_bindir}/testparm
572 %{_bindir}/smbpasswd
573 %{_bindir}/profiles
574 %{_bindir}/net
575 %{_bindir}/ldbadd
576 %{_bindir}/ldbdel
577 %{_bindir}/ldbedit
578 %{_bindir}/ldbmodify
579 %{_bindir}/ldbsearch
580 %{_bindir}/ldbrename
581 %{_bindir}/wbinfo
582 %{_bindir}/ntlm_auth
583 %{_bindir}/pdbedit
584 %{_bindir}/smbcquotas
585
586 %{_mandir}/man1/ntlm_auth.1*
587 %{_mandir}/man1/profiles.1*
588 %{_mandir}/man1/smbcquotas.1*
589 %{_mandir}/man1/testparm.1*
590 %{_mandir}/man5/smb.conf.5*
591 %{_mandir}/man5/lmhosts.5*
592 %{_mandir}/man8/smbpasswd.8*
593 %{_mandir}/man1/wbinfo.1*
594 %{_mandir}/man8/winbindd.8*
595 %{_mandir}/man8/net.8*
596 %{_mandir}/man7/pam_winbind.7*
597 %{_mandir}/man7/libsmbclient.7*
598 %{_mandir}/man1/ldbadd.1*
599 %{_mandir}/man1/ldbdel.1*
600 %{_mandir}/man1/ldbedit.1*
601 %{_mandir}/man1/ldbmodify.1*
602 %{_mandir}/man1/ldbsearch.1*
603
604 %ifarch x86_64 ppc64
605 %files winbind-32bit
606 %attr(755,root,root) /lib/libnss_winbind.so*
607 #%attr(755,root,root) /lib/libnss_wins.so*
608 %attr(755,root,root) /usr/lib/libtalloc.so*
609 %attr(755,root,root) /usr/lib/libtdb.so*
610 %attr(755,root,root) /usr/lib/libwbclient.so*
611 %attr(755,root,root) /lib/security/pam_winbind.so
612 %endif
613
614
615
616 %changelog
617 * Fri Jan 16 2004 Gerald (Jerry) Carter <jerry@samba,org>
618 - Removed ChangeLog entries since they are kept in CVS
619
620
621