s3-spoolss: Fixed winreg_printer_query_XXX.
[Samba/ekacnet.git] / packaging / RHEL-CTDB / samba.spec.tmpl
blob4978cfa5b167b4c437f6b81a1e9d4460726cd2b0
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:      1GITHASH
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 Provides: samba = %{version}
29 Prefix: /usr
30 BuildRoot: %{_tmppath}/%{name}-%{version}-root
31 BuildRequires: pam-devel, readline-devel, fileutils, libacl-devel, openldap-devel, krb5-devel, cups-devel, ctdb, e2fsprogs-devel
33 # Working around perl dependency problem from docs
34 %define __perl_requires %{SOURCE998}
36 # rpm screws up the arch lib dir when using --target on RHEL5
37 %ifarch i386 i486 i586 i686 ppc s390
38 %define _libarch lib
39 %else
40 %define _libarch %_lib
41 %endif
43 %define _libarchdir /usr/%{_libarch}
45 %define numcpu  %(grep "^processor" /proc/cpuinfo |wc -l | sed -e 's/^0$/1/')
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 -j%{numcpu} %{?_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 -j %{numcpu} %{?_smp_mflags} \
270         everything modules pam_smbpass
272 # check that desired suppor has been compiled into smbd:
273 export LD_LIBRARY_PATH=./bin
274 for test in HAVE_POSIX_ACLS HAVE_LDAP HAVE_KRB5 HAVE_GPFS CLUSTER_SUPPORT
276         if ! $(./bin/smbd -b | grep -q $test ) ; then
277                 echo "ERROR: '$test' is not in smbd. Build stopped."
278                 exit 1;
279         fi
280 done
282 # Remove some permission bits to avoid to many dependencies
283 cd ..
284 find examples docs -type f | xargs -r chmod -x
286 %install
287 # Clean up in case there is trash left from a previous build
288 rm -rf $RPM_BUILD_ROOT
290 # Create the target build directory hierarchy
291 mkdir -p $RPM_BUILD_ROOT%{_datadir}/swat/{help,include,using_samba/{figs,gifsa}}
292 mkdir -p $RPM_BUILD_ROOT%{_includedir}
293 mkdir -p $RPM_BUILD_ROOT%{_initrddir}
294 mkdir -p $RPM_BUILD_ROOT{%{_libarchdir},%{_includedir}}
295 mkdir -p $RPM_BUILD_ROOT%{_libarchdir}/samba/{auth,charset,idmap,vfs,pdb}
296 mkdir -p $RPM_BUILD_ROOT/%{_libarch}/security
297 mkdir -p $RPM_BUILD_ROOT/lib/security
298 mkdir -p $RPM_BUILD_ROOT%{_mandir}
299 mkdir -p $RPM_BUILD_ROOT%{_prefix}/{bin,sbin}
300 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib
301 mkdir -p $RPM_BUILD_ROOT/sbin
302 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d,samba}
303 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d}
304 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
305 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{samba,sysconfig}
306 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
307 mkdir -p $RPM_BUILD_ROOT/var/lib/samba/winbindd_privileged
308 mkdir -p $RPM_BUILD_ROOT/var/{log,run/winbindd,spool}/samba
309 mkdir -p $RPM_BUILD_ROOT/%{_libarchdir}/krb5/plugins/libkrb5
311 cd source3
312 make DESTDIR=$RPM_BUILD_ROOT \
313         install
315 make DESTDIR=$RPM_BUILD_ROOT \
316         install-dbwrap_tool install-dbwrap_torture
317 cd ..
319 # NSS winbind support
320 install -m 755 nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_libarch}/libnss_winbind.so.2
321 ( cd $RPM_BUILD_ROOT/%{_libarch};
322   ln -sf libnss_winbind.so.2  libnss_winbind.so )
324 # do not install libnss_wins.so in order to reduce dependencies
325 # (we do not need it for the samba-ctdb scenario)
327 #install -m 755 nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_libarch}/libnss_wins.so
328 # ( cd $RPM_BUILD_ROOT/%{_libarch}; ln -sf libnss_wins.so  libnss_wins.so.2 )
330 cp -p source3/bin/winbind_krb5_locator.so ${RPM_BUILD_ROOT}/%{_libarchdir}/krb5/plugins/libkrb5
332 # install files for winbind-32bit package
333 %ifarch x86_64 ppc64
335 install -m 755 %{_32bit_tmp_dir}/libnss_winbind.so ${RPM_BUILD_ROOT}/lib/libnss_winbind.so.2
336 ( cd ${RPM_BUILD_ROOT}/lib; ln -sf libnss_winbind.so.2  libnss_winbind.so )
338 mv %{_32bit_tmp_dir}/libtalloc* ${RPM_BUILD_ROOT}/usr/lib
339 mv %{_32bit_tmp_dir}/libtdb* ${RPM_BUILD_ROOT}/usr/lib
340 mv %{_32bit_tmp_dir}/libwbclient* ${RPM_BUILD_ROOT}/usr/lib
341 mv %{_32bit_tmp_dir}/pam_winbind.so ${RPM_BUILD_ROOT}/lib/security
343 rm -rf %{_32bit_tmp_dir}
345 %endif
347 ## cleanup
348 /bin/rm -rf $RPM_BUILD_ROOT/usr/lib*/samba/security
350 # Install the miscellany
351 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
353 install -m644 setup/swat $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat
354 install -m644 setup/samba.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/samba
355 install -m755 setup/smb.init $RPM_BUILD_ROOT%{initdir}/smb
356 install -m755 setup/winbind.init $RPM_BUILD_ROOT%{initdir}/winbind
357 install -m644 setup/samba.pamd $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/samba
358 install -m755 setup/smbprint $RPM_BUILD_ROOT%{_bindir}
359 install -m644 setup/smbusers $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
360 install -m644 setup/smb.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
361 install -m755 source3/bin/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs
362 install -m755 source3/bin/umount.cifs $RPM_BUILD_ROOT/sbin/umount.cifs
363 install -m755 source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir}
365 /bin/rm $RPM_BUILD_ROOT%{_sbindir}/*mount.cifs
367 ln -s ../..%{initdir}/smb  $RPM_BUILD_ROOT%{_sbindir}/samba
368 ln -s ../..%{initdir}/winbind  $RPM_BUILD_ROOT%{_sbindir}/winbind
370 # Remove "*.old" files
371 find $RPM_BUILD_ROOT -name "*.old" -exec rm -f {} \;
373 ## don't duplicate the docs.  These are installed by/with SWAT
374 rm -rf docs/htmldocs
375 rm -rf docs/manpages
376 ( cd docs; ln -s %{_prefix}/share/swat/help htmldocs )
379 ## Clean out man pages for tools not installed here
381 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1*
382 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbsh.1*
383 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/vfstest.1*
386 %clean
387 rm -rf $RPM_BUILD_ROOT
389 %post
390 ## deal with an upgrade from a broken 3.0.21b RPM
391 if [ "$1" -eq "2" ]; then
392         if [ -d /var/cache/samba ]; then
393                 for file in `ls /var/cache/samba/*tdb`; do
394                         /bin/cp -up $file /var/lib/samba/`basename $file`
395                 done
396                 mkdir -p /var/lib/samba/eventlog
397                 for file in `ls /var/cache/samba/eventlog/*tdb`; do
398                         /bin/cp -up $file /var/lib/samba/eventlog/`basename $file`
399                 done
400                 /bin/mv /var/cache/samba /var/cache/samba.moved
401         fi
404 if [ "$1" -ge "1" ]; then
405         /sbin/service smb condrestart >/dev/null 2>&1 || :
408 %preun
409 if [ $1 = 0 ] ; then
410     /sbin/service smb stop >/dev/null 2>&1 || :
411     /sbin/chkconfig --del smb
412     # rm -rf /var/log/samba/* /var/lib/samba/*
414 exit 0
416 #%postun
418 %post swat
419 # Add swat entry to /etc/services if not already there.
420 if [ ! "`grep ^\s**swat /etc/services`" ]; then
421         echo 'swat        901/tcp     # Add swat service used via inetd' >> /etc/services
424 %post common
425 /sbin/ldconfig
427 if [ "$1" -ge "1" ]; then
428         /sbin/service winbind condrestart >/dev/null 2>&1 || :
431 %preun common
432 if [ $1 = 0 ] ; then
433     /sbin/service winbind stop >/dev/null 2>&1 || :
434     /sbin/chkconfig --del winbind
436 exit 0
438 %postun common 
439 /sbin/ldconfig
441 #######################################################################
442 ## Files section                                                     ##
443 #######################################################################
445 %files
446 %defattr(-,root,root)
448 %config(noreplace) %{_sysconfdir}/sysconfig/samba
449 %config(noreplace) %{_sysconfdir}/samba/smbusers
450 %attr(755,root,root) %config %{initdir}/smb
451 %config(noreplace) %{_sysconfdir}/pam.d/samba
453 %attr(0755,root,root) %dir /var/log/samba
454 %attr(0755,root,root) %dir /var/lib/samba
455 %attr(1777,root,root) %dir /var/spool/samba
457 %{_sbindir}/samba
459 %{_sbindir}/smbd
460 %{_sbindir}/nmbd
462 %{_bindir}/mksmbpasswd.sh
463 %{_bindir}/smbcontrol
464 %{_bindir}/smbstatus
465 %{_bindir}/tdbbackup
466 %{_bindir}/tdbtool
467 %{_bindir}/tdbdump
468 %{_bindir}/eventlogadm
470 %{_libarchdir}/samba/auth/script.so
471 %{_libarchdir}/samba/vfs/acl_tdb.so
472 %{_libarchdir}/samba/vfs/acl_xattr.so
473 %{_libarchdir}/samba/vfs/aio_fork.so
474 %{_libarchdir}/samba/vfs/audit.so
475 %{_libarchdir}/samba/vfs/cap.so
476 %{_libarchdir}/samba/vfs/default_quota.so
477 %{_libarchdir}/samba/vfs/dirsort.so
478 %{_libarchdir}/samba/vfs/expand_msdfs.so
479 %{_libarchdir}/samba/vfs/extd_audit.so
480 %{_libarchdir}/samba/vfs/fake_perms.so
481 %{_libarchdir}/samba/vfs/fileid.so
482 %{_libarchdir}/samba/vfs/full_audit.so
483 %{_libarchdir}/samba/vfs/gpfs.so
484 %{_libarchdir}/samba/vfs/netatalk.so
485 %{_libarchdir}/samba/vfs/preopen.so
486 %{_libarchdir}/samba/vfs/readahead.so
487 %{_libarchdir}/samba/vfs/readonly.so
488 %{_libarchdir}/samba/vfs/recycle.so
489 %{_libarchdir}/samba/vfs/shadow_copy.so
490 %{_libarchdir}/samba/vfs/shadow_copy2.so
491 %{_libarchdir}/samba/vfs/smb_traffic_analyzer.so
492 %{_libarchdir}/samba/vfs/streams_depot.so
493 %{_libarchdir}/samba/vfs/streams_xattr.so
494 %{_libarchdir}/samba/vfs/syncops.so
495 %{_libarchdir}/samba/vfs/tsmsm.so
496 %{_libarchdir}/samba/vfs/xattr_tdb.so
499 %{_mandir}/man1/smbcontrol.1*
500 %{_mandir}/man1/smbstatus.1*
501 %{_mandir}/man1/vfstest.1*
502 %{_mandir}/man5/smbpasswd.5*
503 %{_mandir}/man7/samba.7*
504 %{_mandir}/man8/nmbd.8*
505 %{_mandir}/man8/pdbedit.8*
506 %{_mandir}/man8/smbd.8*
507 %{_mandir}/man8/tdbbackup.8*
508 %{_mandir}/man8/tdbdump.8*
509 %{_mandir}/man8/tdbtool.8*
510 %{_mandir}/man8/eventlogadm.8*
511 %{_mandir}/man8/vfs_*.8*
514 ##########
516 %files doc
517 %defattr(-,root,root)
518 %doc README COPYING Manifest 
519 %doc WHATSNEW.txt Roadmap
520 %doc docs
521 %doc examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting
522 %doc examples/printing
524 ##########
526 %files swat
527 %defattr(-,root,root)
528 %config(noreplace) %{_sysconfdir}/xinetd.d/swat
529 %dir %{_datadir}/swat
530 %{_datadir}/swat/*
531 %{_sbindir}/swat
532 %{_mandir}/man8/swat.8*
533 %attr(755,root,root) %{_libarchdir}/samba/*.msg
535 ##########
537 %files client
538 %defattr(-,root,root)
539 /sbin/mount.cifs
540 /sbin/umount.cifs
542 %{_sbindir}/cifs.upcall
544 %{_bindir}/rpcclient
545 %{_bindir}/smbcacls
546 %{_bindir}/findsmb
547 %{_bindir}/nmblookup
548 %{_bindir}/smbget
549 %{_bindir}/smbclient
550 %{_bindir}/smbprint
551 %{_bindir}/smbspool
552 %{_bindir}/smbtar
553 %{_bindir}/smbtree
554 %{_bindir}/sharesec
556 %{_mandir}/man8/mount.cifs.8.*
557 %{_mandir}/man8/umount.cifs.8.*
558 %{_mandir}/man8/cifs.upcall.8*
559 %{_mandir}/man8/smbspool.8*
560 %{_mandir}/man1/smbget.1*
561 %{_mandir}/man5/smbgetrc.5*
562 %{_mandir}/man1/findsmb.1*
563 %{_mandir}/man1/nmblookup.1*
564 %{_mandir}/man1/rpcclient.1*
565 %{_mandir}/man1/smbcacls.1*
566 %{_mandir}/man1/smbclient.1*
567 %{_mandir}/man1/smbtar.1*
568 %{_mandir}/man1/smbtree.1*
569 %{_mandir}/man1/sharesec.1*
571 ##########
573 %files common
574 %defattr(-,root,root)
575 %dir %{_sysconfdir}/samba
576 %dir %{_libarchdir}/samba
577 %dir %{_libarchdir}/samba/charset
578 %config(noreplace) %{_sysconfdir}/samba/smb.conf
579 %config(noreplace) %{_sysconfdir}/samba/lmhosts
580 %attr(755,root,root) %config %{initdir}/winbind
582 %attr(755,root,root) /%{_libarch}/libnss_winbind.so
583 %attr(755,root,root) /%{_libarch}/libnss_winbind.so.2
584 %attr(755,root,root) /%{_libarch}/security/pam_winbind.so
585 %attr(755,root,root) /%{_libarch}/security/pam_smbpass.so
586 /usr/share/locale/*/LC_MESSAGES/pam_winbind.mo
588 %{_libarchdir}/samba/charset/CP437.so
589 %{_libarchdir}/samba/charset/CP850.so
590 %{_libarchdir}/samba/idmap/ad.so
591 %{_libarchdir}/samba/idmap/rid.so
592 %{_libarchdir}/samba/idmap/tdb2.so
593 %{_libarchdir}/samba/lowcase.dat
594 %{_libarchdir}/samba/nss_info/rfc2307.so
595 %{_libarchdir}/samba/nss_info/sfu.so
596 %{_libarchdir}/samba/nss_info/sfu20.so
597 %{_libarchdir}/samba/upcase.dat
598 %{_libarchdir}/samba/valid.dat
600 %{_includedir}/libsmbclient.h
601 %{_libarchdir}/libsmbclient.*
602 %{_includedir}/smb_share_modes.h
603 %{_libarchdir}/libsmbsharemodes.so
604 %{_libarchdir}/libsmbsharemodes.so.0
606 %{_includedir}/netapi.h
607 %{_includedir}/wbclient.h
608 %{_includedir}/talloc.h
609 %{_includedir}/tdb.h
610 %{_libarchdir}/libnetapi.so
611 %{_libarchdir}/libnetapi.so.0
612 %{_libarchdir}/libtalloc.so
613 %{_libarchdir}/libtalloc.so.1
614 %{_libarchdir}/libtdb.so
615 %{_libarchdir}/libtdb.so.1
616 %{_libarchdir}/libwbclient.so
617 %{_libarchdir}/libwbclient.so.0
619 %{_libarchdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
621 %{_sbindir}/winbind
623 %{_sbindir}/winbindd
624 %{_bindir}/testparm
625 %{_bindir}/smbpasswd
626 %{_bindir}/profiles
627 %{_bindir}/net
628 %{_bindir}/ldbadd
629 %{_bindir}/ldbdel
630 %{_bindir}/ldbedit
631 %{_bindir}/ldbmodify
632 %{_bindir}/ldbsearch
633 %{_bindir}/ldbrename
634 %{_bindir}/wbinfo
635 %{_bindir}/ntlm_auth
636 %{_bindir}/pdbedit
637 %{_bindir}/smbcquotas
638 %{_bindir}/dbwrap_tool
639 %{_bindir}/dbwrap_torture
641 %{_mandir}/man1/ntlm_auth.1*
642 %{_mandir}/man1/profiles.1*
643 %{_mandir}/man1/smbcquotas.1*
644 %{_mandir}/man1/testparm.1*
645 %{_mandir}/man5/smb.conf.5*
646 %{_mandir}/man5/lmhosts.5*
647 %{_mandir}/man8/smbpasswd.8*
648 %{_mandir}/man1/wbinfo.1*
649 %{_mandir}/man8/winbindd.8*
650 %{_mandir}/man8/net.8*
651 %{_mandir}/man8/pam_winbind.8*
652 %{_mandir}/man7/libsmbclient.7*
653 %{_mandir}/man1/ldbadd.1*
654 %{_mandir}/man1/ldbdel.1*
655 %{_mandir}/man1/ldbedit.1*
656 %{_mandir}/man1/ldbmodify.1*
657 %{_mandir}/man1/ldbsearch.1*
658 %{_mandir}/man1/ldbrename.1*
659 %{_mandir}/man7/winbind_krb5_locator.7*
660 %{_mandir}/man8/idmap_*.8*
662 %ifarch x86_64 ppc64
663 %files winbind-32bit
664 %attr(755,root,root) /lib/libnss_winbind.so
665 %attr(755,root,root) /lib/libnss_winbind.so.2
666 %attr(755,root,root) /usr/lib/libtalloc.so
667 %attr(755,root,root) /usr/lib/libtalloc.so.1
668 %attr(755,root,root) /usr/lib/libtdb.so
669 %attr(755,root,root) /usr/lib/libtdb.so.1
670 %attr(755,root,root) /usr/lib/libwbclient.so
671 %attr(755,root,root) /usr/lib/libwbclient.so.0
672 %attr(755,root,root) /lib/security/pam_winbind.so
673 %endif
677 %changelog
678 * Fri Jan 16 2004 Gerald (Jerry) Carter <jerry@samba,org>
679 - Removed ChangeLog entries since they are kept in CVS