Changeset 745 for trunk/server/packaging/RHEL-CTDB/samba.spec
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/packaging/RHEL-CTDB/samba.spec
r620 r745 6 6 Packager: Samba Team <samba@samba.org> 7 7 Name: samba 8 Version: 3. 5.118 Version: 3.6.0 9 9 Release: 1GITHASH 10 10 Epoch: 0 … … 16 16 17 17 # Don't depend on Net::LDAP 18 Source997: docs.tar.bz219 18 Source998: filter-requires-samba.sh 20 19 Source999: setup.tar.bz2 21 20 22 Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall23 Prereq: fileutils sed /etc/init.d21 Requires: /sbin/chkconfig /bin/mktemp /usr/bin/killall 22 Requires: fileutils sed /etc/init.d 24 23 25 24 Requires: pam >= 0.64 %{auth} 26 25 Requires: samba-common = %{version}-%{release} 27 Requires: logrotate >= 3.4 initscripts >= 5.54-128 26 Provides: samba = %{version} 29 27 30 28 Prefix: /usr 31 29 BuildRoot: %{_tmppath}/%{name}-%{version}-root 32 BuildRequires: pam-devel, readline-devel, fileutils, libacl-devel, openldap-devel, krb5-devel, cups-devel, ctdb, e2fsprogs-devel 30 BuildRequires: pam-devel, readline-devel, fileutils, libacl-devel, openldap-devel, krb5-devel, cups-devel, e2fsprogs-devel 31 # requirements for building the man pages: 32 BuildRequires: libxslt, docbook-utils, docbook-style-xsl 33 BuildRequires: ctdb-devel >= 1.2.25 33 34 34 35 # Working around perl dependency problem from docs … … 110 111 Group: Documentation/Other 111 112 Provides: samba-doc = %{version}-%{release} 112 Prereq: /usr/bin/find /bin/rm /usr/bin/xargs113 Requires: /usr/bin/find /bin/rm /usr/bin/xargs 113 114 114 115 %description doc … … 125 126 # setup the vendor files (init scripts, etc...) 126 127 %setup -T -D -a 999 -n samba-%{version} -q 127 %setup -T -D -a 997 -n samba-%{version} -q128 128 129 129 %build … … 159 159 CC="$CC -m32" 160 160 161 CFLAGS="$RPM_OPT_FLAGS - D_GNU_SOURCE -m32" ./configure \161 CFLAGS="$RPM_OPT_FLAGS -O3 -D_GNU_SOURCE -m32" ./configure \ 162 162 --prefix=%{_prefix} \ 163 163 --localstatedir=/var \ … … 192 192 make showlayout 193 193 194 make samba3-idl 195 194 196 ## check for gcc 3.4 or later 195 197 CC_VERSION=`${CC} --version | head -1 | awk '{print $3}'` … … 245 247 --with-pam \ 246 248 --with-quotas \ 247 --with-shared-modules=idmap_rid,idmap_ad,idmap_tdb2,vfs_gpfs \249 --with-shared-modules=idmap_rid,idmap_ad,idmap_tdb2,vfs_gpfs,vfs_tsmsm,vfs_gpfs_hsm_notify \ 248 250 --with-syslog \ 249 251 --with-utmp \ … … 281 283 done 282 284 285 # try and build the manpages 286 cd .. 287 ./release-scripts/build-manpages-nogit 288 283 289 # Remove some permission bits to avoid to many dependencies 284 cd ..285 290 find examples docs -type f | xargs -r chmod -x 286 291 … … 301 306 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib 302 307 mkdir -p $RPM_BUILD_ROOT/sbin 303 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{ logrotate.d,pam.d,samba}304 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d ,logrotate.d}308 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d,samba} 309 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d} 305 310 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d 306 311 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{samba,sysconfig} … … 352 357 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts 353 358 354 install -m644 setup/samba.log $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/samba355 359 install -m644 setup/swat $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/swat 356 360 install -m644 setup/samba.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/samba … … 361 365 install -m644 setup/smbusers $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers 362 366 install -m644 setup/smb.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf 363 install -m755 source3/bin/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs364 install -m755 source3/bin/umount.cifs $RPM_BUILD_ROOT/sbin/umount.cifs365 367 install -m755 source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir} 366 367 /bin/rm $RPM_BUILD_ROOT%{_sbindir}/*mount.cifs368 368 369 369 ln -s ../..%{initdir}/smb $RPM_BUILD_ROOT%{_sbindir}/samba … … 373 373 find $RPM_BUILD_ROOT -name "*.old" -exec rm -f {} \; 374 374 375 ## don't duplicate the docs. These are installed by/with SWAT376 rm -rf docs/htmldocs377 rm -rf docs/manpages378 ( cd docs; ln -s %{_prefix}/share/swat/help htmldocs )379 375 380 376 ## … … 451 447 %config(noreplace) %{_sysconfdir}/samba/smbusers 452 448 %attr(755,root,root) %config %{initdir}/smb 453 %config(noreplace) %{_sysconfdir}/logrotate.d/samba454 449 %config(noreplace) %{_sysconfdir}/pam.d/samba 455 450 … … 469 464 %{_bindir}/tdbtool 470 465 %{_bindir}/tdbdump 466 %{_bindir}/tdbrestore 471 467 %{_bindir}/eventlogadm 472 468 … … 477 473 %{_libarchdir}/samba/vfs/audit.so 478 474 %{_libarchdir}/samba/vfs/cap.so 475 %{_libarchdir}/samba/vfs/catia.so 476 %{_libarchdir}/samba/vfs/crossrename.so 479 477 %{_libarchdir}/samba/vfs/default_quota.so 480 478 %{_libarchdir}/samba/vfs/dirsort.so … … 485 483 %{_libarchdir}/samba/vfs/full_audit.so 486 484 %{_libarchdir}/samba/vfs/gpfs.so 485 %{_libarchdir}/samba/vfs/gpfs_hsm_notify.so 486 %{_libarchdir}/samba/vfs/linux_xfs_sgid.so 487 487 %{_libarchdir}/samba/vfs/netatalk.so 488 488 %{_libarchdir}/samba/vfs/preopen.so … … 490 490 %{_libarchdir}/samba/vfs/readonly.so 491 491 %{_libarchdir}/samba/vfs/recycle.so 492 %{_libarchdir}/samba/vfs/scannedonly.so 492 493 %{_libarchdir}/samba/vfs/shadow_copy.so 493 494 %{_libarchdir}/samba/vfs/shadow_copy2.so … … 496 497 %{_libarchdir}/samba/vfs/streams_xattr.so 497 498 %{_libarchdir}/samba/vfs/syncops.so 499 %{_libarchdir}/samba/vfs/time_audit.so 498 500 %{_libarchdir}/samba/vfs/tsmsm.so 499 501 %{_libarchdir}/samba/vfs/xattr_tdb.so … … 504 506 %{_mandir}/man1/vfstest.1* 505 507 %{_mandir}/man5/smbpasswd.5* 508 %{_mandir}/man5/pam_winbind.conf.5* 506 509 %{_mandir}/man7/samba.7* 507 510 %{_mandir}/man8/nmbd.8* … … 513 516 %{_mandir}/man8/eventlogadm.8* 514 517 %{_mandir}/man8/vfs_*.8* 518 %{_mandir}/man8/smbta-util.8* 515 519 516 520 … … 519 523 %files doc 520 524 %defattr(-,root,root) 521 %doc README COPYING Manifest 522 %doc WHATSNEW.txt Roadmap 523 %doc docs 524 %doc examples/autofs examples/LDAP examples/libsmbclient examples/misc examples/printer-accounting 525 %doc README 526 %doc COPYING 527 %doc Manifest 528 %doc WHATSNEW.txt 529 %doc Roadmap 530 %doc docs-xml/archives/THANKS 531 %doc docs-xml/archives/history 532 %doc docs-xml/registry 533 %doc examples/autofs 534 %doc examples/LDAP 535 %doc examples/libsmbclient 536 %doc examples/misc 537 %doc examples/printer-accounting 525 538 %doc examples/printing 526 539 … … 540 553 %files client 541 554 %defattr(-,root,root) 542 /sbin/mount.cifs543 /sbin/umount.cifs544 545 %{_sbindir}/cifs.upcall546 555 547 556 %{_bindir}/rpcclient … … 556 565 %{_bindir}/smbtree 557 566 %{_bindir}/sharesec 558 559 %{_mandir}/man8/mount.cifs.8.* 560 %{_mandir}/man8/umount.cifs.8.* 561 %{_mandir}/man8/cifs.upcall.8* 567 %{_bindir}/smbta-util 568 562 569 %{_mandir}/man8/smbspool.8* 563 570 %{_mandir}/man1/smbget.1* … … 588 595 %attr(755,root,root) /%{_libarch}/security/pam_smbpass.so 589 596 /usr/share/locale/*/LC_MESSAGES/pam_winbind.mo 597 /usr/share/locale/*/LC_MESSAGES/net.mo 590 598 591 599 %{_libarchdir}/samba/charset/CP437.so … … 594 602 %{_libarchdir}/samba/idmap/rid.so 595 603 %{_libarchdir}/samba/idmap/tdb2.so 604 %{_libarchdir}/samba/idmap/autorid.so 596 605 %{_libarchdir}/samba/lowcase.dat 597 606 %{_libarchdir}/samba/nss_info/rfc2307.so … … 614 623 %{_libarchdir}/libnetapi.so.0 615 624 %{_libarchdir}/libtalloc.so 616 %{_libarchdir}/libtalloc.so. 1625 %{_libarchdir}/libtalloc.so.2 617 626 %{_libarchdir}/libtdb.so 618 627 %{_libarchdir}/libtdb.so.1 … … 629 638 %{_bindir}/profiles 630 639 %{_bindir}/net 631 %{_bindir}/ldbadd632 %{_bindir}/ldbdel633 %{_bindir}/ldbedit634 %{_bindir}/ldbmodify635 %{_bindir}/ldbsearch636 %{_bindir}/ldbrename637 640 %{_bindir}/wbinfo 638 641 %{_bindir}/ntlm_auth … … 668 671 %attr(755,root,root) /lib/libnss_winbind.so.2 669 672 %attr(755,root,root) /usr/lib/libtalloc.so 670 %attr(755,root,root) /usr/lib/libtalloc.so. 1673 %attr(755,root,root) /usr/lib/libtalloc.so.2 671 674 %attr(755,root,root) /usr/lib/libtdb.so 672 675 %attr(755,root,root) /usr/lib/libtdb.so.1
Note:
See TracChangeset
for help on using the changeset viewer.