packaging(RHEL-CTDB): package the winbind_krb5_locator.so plugin
[Samba.git] / packaging / RHEL-CTDB / samba.spec.tmpl
bloba6ad3f8b7328c7891ded7b3275c31b8fd4f64d48
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)
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/
15 Source: samba-%{version}.tar.bz2
17 # Don't depend on Net::LDAP
18 Source997: docs.tar.bz2
19 Source998: filter-requires-samba.sh
20 Source999: setup.tar.bz2
22 Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
23 Prereq: fileutils sed /etc/init.d
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}
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
34 # Working around perl dependency problem from docs
35 %define __perl_requires %{SOURCE998}
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
44 %define _libarchdir /usr/%{_libarch}
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.
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}
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.
73 #######################################################################
74 %package common
75 Summary: Files used by both Samba servers and clients.
76 Group: Applications/System
77 Provides: samba-common = %{version}-%{release}
79 %description common
80 Samba-common provides files necessary for both the server and client
81 packages of Samba.
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}
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.
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
101 %description winbind-32bit
102 Compatibility package for 32 bit apps on 64 bit architecures
103 %endif
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
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".
119 #######################################################################
121 %prep
122 %setup -q
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
128 %build
130 /bin/cp setup/filter-requires-samba.sh %{SOURCE998}
132 cd source3
133 # RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
135 ## check for ccache
136 if ccache -h >/dev/null 2>&1 ; then
137         CC="ccache gcc"
138 else
139         CC="gcc"
142 export CC
144 ## always run autogen.sh
145 ./autogen.sh
149 ## build the files for the winbind-32bit compat package
150 ## and copy them to a safe location
152 %ifarch x86_64 ppc64
154 # a directory to store the 32bit compatibility modules for later install
155 %define _32bit_tmp_dir %{_tmppath}/%{name}-%{version}-32bit
157 CC_SAVE="$CC"
158 CC="$CC -m32"
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         --disable-merged-build
191 make showlayout
193 ## check for gcc 3.4 or later
194 CC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
195 CC_MAJOR=`echo ${CC_VERSION} | cut -d. -f 1`
196 CC_MINOR=`echo ${CC_VERSION} | cut -d. -f 2`
197 if [ ${CC_MAJOR} -ge 3 ]; then
198         if [ ${CC_MAJOR} -gt 3 -o ${CC_MINOR} -ge 4 ]; then
199                 make pch
200         fi
203 make %{?_smp_mflags} \
204         nss_modules pam_modules
206 rm -rf %{_32bit_tmp_dir}
207 mkdir %{_32bit_tmp_dir}
209 mv ../nsswitch/libnss_winbind.so %{_32bit_tmp_dir}/
210 mv bin/pam_winbind.so %{_32bit_tmp_dir}/
211 mv bin/libtalloc.so* %{_32bit_tmp_dir}/
212 mv bin/libtdb.so* %{_32bit_tmp_dir}/
213 mv bin/libwbclient.so* %{_32bit_tmp_dir}/
215 make clean
217 CC="$CC_SAVE"
219 %endif
221 CFLAGS="$RPM_OPT_FLAGS $EXTRA -D_GNU_SOURCE" ./configure \
222         --prefix=%{_prefix} \
223         --localstatedir=/var \
224         --with-configdir=%{_sysconfdir}/samba \
225         --libdir=%{_libarchdir} \
226         --with-modulesdir=%{_libarchdir}/samba \
227         --with-pammodulesdir=%{_libarch}/security \
228         --with-lockdir=/var/lib/samba \
229         --with-logfilebase=/var/log/samba \
230         --with-mandir=%{_mandir} \
231         --with-piddir=/var/run \
232         --with-privatedir=%{_sysconfdir}/samba \
233         --with-sambabook=%{_datadir}/swat/using_samba \
234         --with-swatdir=%{_datadir}/swat \
235         --disable-cups \
236         --with-acl-support \
237         --with-ads \
238         --with-automount \
239         --with-fhs \
240         --with-pam_smbpass \
241         --with-libsmbclient \
242         --with-libsmbsharemodes \
243         --without-smbwrapper \
244         --with-pam \
245         --with-quotas \
246         --with-shared-modules=idmap_rid,idmap_ad,idmap_tdb2,vfs_gpfs \
247         --with-syslog \
248         --with-utmp \
249         --with-cluster-support \
250         --with-ctdb=/usr/include \
251         --without-ldb \
252         --without-dnsupdate \
253         --with-aio-support\
254         --disable-merged-build
256 make showlayout
258 ## check for gcc 3.4 or later
259 CC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
260 CC_MAJOR=`echo ${CC_VERSION} | cut -d. -f 1`
261 CC_MINOR=`echo ${CC_VERSION} | cut -d. -f 2`
262 if [ ${CC_MAJOR} -ge 3 ]; then
263         if [ ${CC_MAJOR} -gt 3 -o ${CC_MINOR} -ge 4 ]; then
264                 make pch
265         fi
269 make %{?_smp_mflags} \
270         all modules pam_smbpass
272 # Remove some permission bits to avoid to many dependencies
273 cd ..
274 find examples docs -type f | xargs -r chmod -x
276 %install
277 # Clean up in case there is trash left from a previous build
278 rm -rf $RPM_BUILD_ROOT
280 # Create the target build directory hierarchy
281 mkdir -p $RPM_BUILD_ROOT%{_datadir}/swat/{help,include,using_samba/{figs,gifsa}}
282 mkdir -p $RPM_BUILD_ROOT%{_includedir}
283 mkdir -p $RPM_BUILD_ROOT%{_initrddir}
284 mkdir -p $RPM_BUILD_ROOT{%{_libarchdir},%{_includedir}}
285 mkdir -p $RPM_BUILD_ROOT%{_libarchdir}/samba/{auth,charset,idmap,vfs,pdb}
286 mkdir -p $RPM_BUILD_ROOT/%{_libarch}/security
287 mkdir -p $RPM_BUILD_ROOT/lib/security
288 mkdir -p $RPM_BUILD_ROOT%{_mandir}
289 mkdir -p $RPM_BUILD_ROOT%{_prefix}/{bin,sbin}
290 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib
291 mkdir -p $RPM_BUILD_ROOT/sbin
292 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{logrotate.d,pam.d,samba}
293 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d,logrotate.d}
294 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
295 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{samba,sysconfig}
296 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
297 mkdir -p $RPM_BUILD_ROOT/var/lib/samba/winbindd_privileged
298 mkdir -p $RPM_BUILD_ROOT/var/{log,run/winbindd,spool}/samba
299 mkdir -p $RPM_BUILD_ROOT/%{_libarchdir}/krb5/plugins/libkrb5
301 cd source3
302 make DESTDIR=$RPM_BUILD_ROOT \
303         install
304 cd ..
306 # NSS winbind support
307 install -m 755 nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_libarch}/libnss_winbind.so.2
308 ( cd $RPM_BUILD_ROOT/%{_libarch};
309   ln -sf libnss_winbind.so.2  libnss_winbind.so )
311 # do not install libnss_wins.so in order to reduce dependencies
312 # (we do not need it for the samba-ctdb scenario)
314 #install -m 755 nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_libarch}/libnss_wins.so
315 # ( cd $RPM_BUILD_ROOT/%{_libarch}; ln -sf libnss_wins.so  libnss_wins.so.2 )
317 cp -p source3/bin/winbind_krb5_locator.so ${RPM_BUILD_ROOT}/%{_libarchdir}/krb5/plugins/libkrb5
319 # install files for winbind-32bit package
320 %ifarch x86_64 ppc64
322 install -m 755 %{_32bit_tmp_dir}/libnss_winbind.so ${RPM_BUILD_ROOT}/lib/libnss_winbind.so.2
323 ( cd ${RPM_BUILD_ROOT}/lib; ln -sf libnss_winbind.so.2  libnss_winbind.so )
325 mv %{_32bit_tmp_dir}/libtalloc* ${RPM_BUILD_ROOT}/usr/lib
326 mv %{_32bit_tmp_dir}/libtdb* ${RPM_BUILD_ROOT}/usr/lib
327 mv %{_32bit_tmp_dir}/libwbclient* ${RPM_BUILD_ROOT}/usr/lib
328 mv %{_32bit_tmp_dir}/pam_winbind.so ${RPM_BUILD_ROOT}/lib/security
330 rm -rf %{_32bit_tmp_dir}
332 %endif
334 ## cleanup
335 /bin/rm -rf $RPM_BUILD_ROOT/usr/lib*/samba/security
337 # Install the miscellany
338 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
340 install -m644 setup/samba.log $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/samba
341 install -m644 setup/swat $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat
342 install -m644 setup/samba.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/samba
343 install -m755 setup/smb.init $RPM_BUILD_ROOT%{initdir}/smb
344 install -m755 setup/winbind.init $RPM_BUILD_ROOT%{initdir}/winbind
345 install -m644 setup/samba.pamd $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/samba
346 install -m755 setup/smbprint $RPM_BUILD_ROOT%{_bindir}
347 install -m644 setup/smbusers $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
348 install -m644 setup/smb.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
349 install -m755 source3/bin/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs
350 install -m755 source3/bin/umount.cifs $RPM_BUILD_ROOT/sbin/umount.cifs
351 install -m755 source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir}
353 /bin/rm $RPM_BUILD_ROOT%{_sbindir}/*mount.cifs
355 ln -s ../..%{initdir}/smb  $RPM_BUILD_ROOT%{_sbindir}/samba
356 ln -s ../..%{initdir}/winbind  $RPM_BUILD_ROOT%{_sbindir}/winbind
358 # Remove "*.old" files
359 find $RPM_BUILD_ROOT -name "*.old" -exec rm -f {} \;
361 ## don't duplicate the docs.  These are installed by/with SWAT
362 rm -rf docs/htmldocs
363 rm -rf docs/manpages
364 ( cd docs; ln -s %{_prefix}/share/swat/help htmldocs )
367 ## Clean out man pages for tools not installed here
369 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1*
370 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbsh.1*
371 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/vfstest.1*
374 %clean
375 rm -rf $RPM_BUILD_ROOT
377 %post
378 ## deal with an upgrade from a broken 3.0.21b RPM
379 if [ "$1" -eq "2" ]; then
380         if [ -d /var/cache/samba ]; then
381                 for file in `ls /var/cache/samba/*tdb`; do
382                         /bin/cp -up $file /var/lib/samba/`basename $file`
383                 done
384                 mkdir -p /var/lib/samba/eventlog
385                 for file in `ls /var/cache/samba/eventlog/*tdb`; do
386                         /bin/cp -up $file /var/lib/samba/eventlog/`basename $file`
387                 done
388                 /bin/mv /var/cache/samba /var/cache/samba.moved
389         fi
392 if [ "$1" -ge "1" ]; then
393         /sbin/service smb condrestart >/dev/null 2>&1 || :
396 %preun
397 if [ $1 = 0 ] ; then
398     /sbin/service smb stop >/dev/null 2>&1 || :
399     /sbin/chkconfig --del smb
400     # rm -rf /var/log/samba/* /var/lib/samba/*
402 exit 0
404 #%postun
406 %post swat
407 # Add swat entry to /etc/services if not already there.
408 if [ ! "`grep ^\s**swat /etc/services`" ]; then
409         echo 'swat        901/tcp     # Add swat service used via inetd' >> /etc/services
412 %post common
413 /sbin/ldconfig
415 if [ "$1" -ge "1" ]; then
416         /sbin/service winbind condrestart >/dev/null 2>&1 || :
419 %preun common
420 if [ $1 = 0 ] ; then
421     /sbin/service winbind stop >/dev/null 2>&1 || :
422     /sbin/chkconfig --del winbind
424 exit 0
426 %postun common 
427 /sbin/ldconfig
429 #######################################################################
430 ## Files section                                                     ##
431 #######################################################################
433 %files
434 %defattr(-,root,root)
436 %config(noreplace) %{_sysconfdir}/sysconfig/samba
437 %config(noreplace) %{_sysconfdir}/samba/smbusers
438 %attr(755,root,root) %config %{initdir}/smb
439 %config(noreplace) %{_sysconfdir}/logrotate.d/samba
440 %config(noreplace) %{_sysconfdir}/pam.d/samba
442 %attr(0755,root,root) %dir /var/log/samba
443 %attr(0755,root,root) %dir /var/lib/samba
444 %attr(1777,root,root) %dir /var/spool/samba
446 %{_sbindir}/samba
448 %{_sbindir}/smbd
449 %{_sbindir}/nmbd
451 %{_bindir}/mksmbpasswd.sh
452 %{_bindir}/smbcontrol
453 %{_bindir}/smbstatus
454 %{_bindir}/tdbbackup
455 %{_bindir}/tdbtool
456 %{_bindir}/tdbdump
457 %{_bindir}/eventlogadm
459 %{_libarchdir}/samba/idmap/*.so
460 %{_libarchdir}/samba/nss_info/*.so
461 %{_libarchdir}/samba/vfs/*.so
462 %{_libarchdir}/samba/auth/*.so
464 %{_mandir}/man1/smbcontrol.1*
465 %{_mandir}/man1/smbstatus.1*
466 %{_mandir}/man1/vfstest.1*
467 %{_mandir}/man5/smbpasswd.5*
468 %{_mandir}/man7/samba.7*
469 %{_mandir}/man8/nmbd.8*
470 %{_mandir}/man8/pdbedit.8*
471 %{_mandir}/man8/smbd.8*
472 %{_mandir}/man8/tdbbackup.8*
473 %{_mandir}/man8/tdbdump.8*
474 %{_mandir}/man8/tdbtool.8*
475 %{_mandir}/man8/eventlogadm.8*
476 %{_mandir}/man8/vfs_*.8*
477 %{_mandir}/man8/idmap_*.8*
480 ##########
482 %files doc
483 %defattr(-,root,root)
484 %doc README COPYING Manifest 
485 %doc WHATSNEW.txt Roadmap
486 %doc docs
487 %doc examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting
488 %doc examples/printing
490 ##########
492 %files swat
493 %defattr(-,root,root)
494 %config(noreplace) %{_sysconfdir}/xinetd.d/swat
495 %dir %{_datadir}/swat
496 %{_datadir}/swat/*
497 %{_sbindir}/swat
498 %{_mandir}/man8/swat.8*
499 %attr(755,root,root) %{_libarchdir}/samba/*.msg
501 ##########
503 %files client
504 %defattr(-,root,root)
505 /sbin/mount.cifs
506 /sbin/umount.cifs
508 %{_sbindir}/cifs.upcall
510 %{_bindir}/rpcclient
511 %{_bindir}/smbcacls
512 %{_bindir}/findsmb
513 %{_bindir}/nmblookup
514 %{_bindir}/smbget
515 %{_bindir}/smbclient
516 %{_bindir}/smbprint
517 %{_bindir}/smbspool
518 %{_bindir}/smbtar
519 %{_bindir}/smbtree
520 %{_bindir}/sharesec
522 %{_mandir}/man8/mount.cifs.8.*
523 %{_mandir}/man8/umount.cifs.8.*
524 %{_mandir}/man8/cifs.upcall.8*
525 %{_mandir}/man8/smbspool.8*
526 %{_mandir}/man1/smbget.1*
527 %{_mandir}/man5/smbgetrc.5*
528 %{_mandir}/man1/findsmb.1*
529 %{_mandir}/man1/nmblookup.1*
530 %{_mandir}/man1/rpcclient.1*
531 %{_mandir}/man1/smbcacls.1*
532 %{_mandir}/man1/smbclient.1*
533 %{_mandir}/man1/smbtar.1*
534 %{_mandir}/man1/smbtree.1*
535 %{_mandir}/man1/sharesec.1*
537 ##########
539 %files common
540 %defattr(-,root,root)
541 %dir %{_sysconfdir}/samba
542 %dir %{_libarchdir}/samba
543 %dir %{_libarchdir}/samba/charset
544 %config(noreplace) %{_sysconfdir}/samba/smb.conf
545 %config(noreplace) %{_sysconfdir}/samba/lmhosts
546 %attr(755,root,root) %config %{initdir}/winbind
548 #%attr(755,root,root) /%{_libarch}/libnss_wins.so*
549 %attr(755,root,root) /%{_libarch}/libnss_winbind.so*
550 %attr(755,root,root) /%{_libarch}/security/pam_winbind.so
551 %attr(755,root,root) /%{_libarch}/security/pam_smbpass.so
552 /usr/share/locale/de/LC_MESSAGES/pam_winbind.mo
554 %{_includedir}/libsmbclient.h
555 %{_libarchdir}/libsmbclient.*
556 #%{_includedir}/libmsrpc.h
557 #%{_libarchdir}/libmsrpc.*
558 %{_includedir}/smb_share_modes.h
559 %{_libarchdir}/libsmbsharemodes.*
561 %{_libarchdir}/samba/*.dat
562 %{_libarchdir}/samba/charset/*.so
564 %{_includedir}/netapi.h
565 %{_includedir}/wbclient.h
566 %{_includedir}/talloc.h
567 %{_includedir}/tdb.h
568 %{_libarchdir}/libnetapi.so*
569 %{_libarchdir}/libtalloc.so*
570 %{_libarchdir}/libtdb.so*
571 %{_libarchdir}/libwbclient.so*
573 %{_libarchdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
575 %{_sbindir}/winbind
577 %{_sbindir}/winbindd
578 %{_bindir}/testparm
579 %{_bindir}/smbpasswd
580 %{_bindir}/profiles
581 %{_bindir}/net
582 %{_bindir}/ldbadd
583 %{_bindir}/ldbdel
584 %{_bindir}/ldbedit
585 %{_bindir}/ldbmodify
586 %{_bindir}/ldbsearch
587 %{_bindir}/ldbrename
588 %{_bindir}/wbinfo
589 %{_bindir}/ntlm_auth
590 %{_bindir}/pdbedit
591 %{_bindir}/smbcquotas
593 %{_mandir}/man1/ntlm_auth.1*
594 %{_mandir}/man1/profiles.1*
595 %{_mandir}/man1/smbcquotas.1*
596 %{_mandir}/man1/testparm.1*
597 %{_mandir}/man5/smb.conf.5*
598 %{_mandir}/man5/lmhosts.5*
599 %{_mandir}/man8/smbpasswd.8*
600 %{_mandir}/man1/wbinfo.1*
601 %{_mandir}/man8/winbindd.8*
602 %{_mandir}/man8/net.8*
603 %{_mandir}/man8/pam_winbind.8*
604 %{_mandir}/man7/libsmbclient.7*
605 %{_mandir}/man1/ldbadd.1*
606 %{_mandir}/man1/ldbdel.1*
607 %{_mandir}/man1/ldbedit.1*
608 %{_mandir}/man1/ldbmodify.1*
609 %{_mandir}/man1/ldbsearch.1*
610 %{_mandir}/man1/ldbrename.1*
611 %{_mandir}/man7/winbind_krb5_locator.7*
613 %ifarch x86_64 ppc64
614 %files winbind-32bit
615 %attr(755,root,root) /lib/libnss_winbind.so*
616 #%attr(755,root,root) /lib/libnss_wins.so*
617 %attr(755,root,root) /usr/lib/libtalloc.so*
618 %attr(755,root,root) /usr/lib/libtdb.so*
619 %attr(755,root,root) /usr/lib/libwbclient.so*
620 %attr(755,root,root) /lib/security/pam_winbind.so
621 %endif
625 %changelog
626 * Fri Jan 16 2004 Gerald (Jerry) Carter <jerry@samba,org>
627 - Removed ChangeLog entries since they are kept in CVS