From b03f7f8b52ede61dd70fa9ae4fbee9b2cff7b038f0b6640d92918094e7cd2605 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 17 May 2008 00:11:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=14 --- build-source-timestamp | 2 +- samba-doc.spec | 33 +- samba.changes | 43 ++ samba.spec | 1088 ++++++++++++++++++++-------------------- vendor-files.tar.bz2 | 4 +- 5 files changed, 608 insertions(+), 562 deletions(-) diff --git a/build-source-timestamp b/build-source-timestamp index a6b44ea..f995ffb 100644 --- a/build-source-timestamp +++ b/build-source-timestamp @@ -1,2 +1,2 @@ -1743 +1776 Branch : trunk diff --git a/samba-doc.spec b/samba-doc.spec index ac78f8e..119ec7c 100644 --- a/samba-doc.spec +++ b/samba-doc.spec @@ -19,7 +19,7 @@ BuildRequires: ccache cracklib-devel cups-devel e2fsprogs-devel gdbm-devel krb5 License: GPL v3 or later Url: http://www.samba.org/ Version: 3.2.0 -Release: 10 +Release: 14 Summary: Samba Documentation Group: Documentation/Other AutoReqProv: on @@ -40,12 +40,6 @@ Source3: build-source-timestamp %define make_utils 0 %define make_vscan 0 %define make_ldapsmb 1 -%if %{suse_version} < 1021 -# requires: libxml2 libxml2-devel mysql-devel mysql-shared -%define make_pdb 1 -%else -%define make_pdb 0 -%endif # Define some global directories ################################ %define DOCDIR %{_defaultdocdir}/samba @@ -58,10 +52,10 @@ Source3: build-source-timestamp %define PIDDIR %{_localstatedir}/run/samba %define idmap_modules idmap_ad,idmap_ldap,idmap_rid %define vfs_modules vfs_cacheprime,vfs_readahead -%if %ul_version >= 1 +%if 0%{?ul_version} >= 1 %define VENDOR UL %else -%if "%{_vendor}" == "suse" +%if "%{_vendor}" == "suse" || "%{_vendor}" == "redhat" %define VENDOR SUSE %else %define VENDOR %_vendor @@ -98,18 +92,25 @@ vendor_tag=$( grep ^Release: ${RPM_SOURCE_DIR}/samba.spec | \ echo -n "${SAMBA_PACKAGE_SVN_VERSION:+${SAMBA_PACKAGE_SVN_VERSION}-}"; \ test %{make_devel} -eq 1 && echo -n "devel-" || :) # Create product suffix -major_version=$((%{suse_version}/100)) -minor_version=$((%{suse_version}/10)) +test 0%{?centos_version} -gt 0 && product_version=%{?centos_version} +test 0%{?fedora_version} -gt 0 && product_version=%{?fedora_version} +test 0%{?mandriva_version} -gt 0 && product_version=%{?mandriva_version} +test 0%{?rhel_version} -gt 0 && product_version=%{?rhel_version} +test 0%{?suse_version} -gt 0 && product_version=%{?suse_version} +major_version=$((${product_version}/100)) +minor_version=$((${product_version}/10)) minor_version="${minor_version#$major_version}" product_version="${major_version}.${minor_version}" product_suffix="" if test "%{VENDOR}" != "UL"; then - if test "%{sles_version}" -gt 0; then + if test 0%{?sles_version} -gt 0; then product_suffix="-SLES%{sles_version}" - else + elif test 0%{?suse_version} -gt 0; then product_suffix="-SL${product_version}" + else + product_suffix="-OBS" fi - case "%{suse_version}" in + case "0%{?suse_version}" in 1010) product_suffix="-CODE${major_version}" ;; esac fi @@ -118,7 +119,7 @@ mv VERSION VERSION.orig sed -e s/^SAMBA_VERSION_VENDOR_SUFFIX=$/SAMBA_VERSION_VENDOR_SUFFIX=\"${vendor_tag}%{VENDOR}${product_suffix}\"/ VERSION.orig >VERSION %build samba-%{samba_ver_full} -%if %{suse_version} < 911 +%if 0%{?suse_version} && 0%{?suse_version} < 911 OPTIMIZATION="-O" %else # use the default optimization @@ -298,7 +299,7 @@ Authors: -------- The Samba Team -Source Timestamp: 1743 +Source Timestamp: 1776 Branch : trunk %changelog diff --git a/samba.changes b/samba.changes index 030ddd3..9378204 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Fri May 16 16:10:14 CEST 2008 - lmuelle@suse.de + +- Remove obsoletes and provides 3 for all packages and systems. + +------------------------------------------------------------------- +Fri May 16 14:55:02 CEST 2008 - lmuelle@suse.de + +- Cleanup the use of the suse_version macro to achieve consistent defaults. + +------------------------------------------------------------------- +Fri May 16 13:28:53 CEST 2008 - lmuelle@suse.de + +- Set CODEPAGEDIR while make to fit the install location. + +------------------------------------------------------------------- +Thu May 15 00:16:13 CEST 2008 - lmuelle@suse.de + +- Package man page files independent of the used compression method (gz,lzma). + +------------------------------------------------------------------- +Wed May 14 18:08:26 CEST 2008 - lmuelle@suse.de + +- Rewrite spec file to build packages for Fedora, Redhat, CentOS, and Mandriva + in the OBS too. + +------------------------------------------------------------------- +Wed May 14 17:27:52 CEST 2008 - anschneider@suse.de + +- Add a script to restart smbfs if NetworkMangaer gets an IP address; + [bnc#373075]. + +------------------------------------------------------------------- +Tue May 13 17:30:00 CEST 2008 - lmuelle@suse.de + +- Remove all references to the obsoleted samba-pdb package. + +------------------------------------------------------------------- +Fri May 9 18:19:17 CEST 2008 - lmuelle@suse.de + +- Compose the BuildRequires in a more flexible way to fit the openSUSE build + service (OBS) requirements to support different operating system targets. + ------------------------------------------------------------------- Mon Apr 28 16:55:00 CEST 2008 - lmuelle@suse.de diff --git a/samba.spec b/samba.spec index 972fc5f..537f957 100644 --- a/samba.spec +++ b/samba.spec @@ -12,7 +12,28 @@ Name: samba -BuildRequires: ccache cracklib-devel cups-devel e2fsprogs-devel gdbm-devel krb5-devel libacl-devel libiniparser-devel libnscd-devel openldap2-devel pam-devel popt-devel pwdutils python-devel readline-devel +BuildRequires: cups-devel e2fsprogs-devel libacl-devel pam-devel popt-devel python-devel readline-devel +%if 0%{?suse_version} +BuildRequires: ccache cracklib-devel openldap2-devel +%endif +%if 0%{?suse_version} > 1030 +BuildRequires: gdbm-devel pwdutils +%endif +%if 0%{?suse_version} > 930 +BuildRequires: krb5-devel libiniparser-devel libnscd-devel +%endif +%if 0%{?suse_version} > 930 && 0%{?suse_version} < 1031 +BuildRequires: dmapi-devel libnscd-devel libxml2-devel mysql-devel postgresql-devel xfsprogs-devel +%endif +%if 0%{?suse_version} > 830 && 0%{?suse_version} < 931 +BuildRequires: heimdal-devel +%endif +%if 0%{?fedora_version} +BuildRequires: ccache cracklib-devel +%endif +%if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} || 0%{?mandriva_version} +BuildRequires: krb5-devel openldap-devel +%endif %define samba_ver 3.2.0 %define samba_ver_suffix pre3 %define samba_ver_full %{samba_ver}%{samba_ver_suffix} @@ -23,11 +44,7 @@ Group: Productivity/Networking/Samba Url: http://www.samba.org/ AutoReqProv: on Version: 3.2.0 -Release: 10 -%if %{suse_version} < 1031 -Provides: samba3 = %{version}-%{release} -Obsoletes: samba3 < %{version} -%endif +Release: 14 Requires: samba-client >= %{version} PreReq: /bin/cp /bin/mkdir /bin/mv /bin/rm /bin/touch /usr/bin/dirname /usr/bin/grep /usr/sbin/groupadd /usr/bin/tr Summary: A SMB/CIFS File, Print, and Authentication Server @@ -46,12 +63,6 @@ Source11: http://www.hhrm.de/~gd/ldapsmb/ldapsmb-%{ldapsmb_ver}.tar.bz2 %define make_utils 0 %define make_vscan 0 %define make_ldapsmb 1 -%if %{suse_version} < 1021 -# requires: libxml2 libxml2-devel mysql-devel mysql-shared -%define make_pdb 1 -%else -%define make_pdb 0 -%endif # Define some global directories ################################ %define DOCDIR %{_defaultdocdir}/samba @@ -64,10 +75,10 @@ Source11: http://www.hhrm.de/~gd/ldapsmb/ldapsmb-%{ldapsmb_ver}.tar.bz2 %define PIDDIR %{_localstatedir}/run/samba %define idmap_modules idmap_ad,idmap_ldap,idmap_rid %define vfs_modules vfs_cacheprime,vfs_readahead -%if %ul_version >= 1 +%if 0%{?ul_version} >= 1 %define VENDOR UL %else -%if "%{_vendor}" == "suse" +%if "%{_vendor}" == "suse" || "%{_vendor}" == "redhat" %define VENDOR SUSE %else %define VENDOR %_vendor @@ -75,6 +86,31 @@ Source11: http://www.hhrm.de/~gd/ldapsmb/ldapsmb-%{ldapsmb_ver}.tar.bz2 %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build +%description +Samba is a suite of programs that allows SMB/CIFS clients to use the +Unix file space, printers, and authentication subsystem. + +The package named samba contains all programs that are needed to act as +a server. The binaries expect the configuration file to be found in +/etc/samba/smb.conf + +For a more detailed description of Samba, check the samba-doc package +or the Samba.org Web page at http://www.Samba.org/ + +Please check http://en.openSUSE.org/Samba for general information on +Samba as part of SUSE Linux Enterprise or openSUSE products, links to +binary packages of the most current Samba version, and a bug reporting +how to. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + %package client License: GPL v3 or later Summary: Samba Client Utilities @@ -82,19 +118,59 @@ Group: Productivity/Networking/Samba AutoReqProv: on Provides: smbfs samba3-client = %{version}-%{release} Obsoletes: samba3-client < %{version} -PreReq: %insserv_prereq %fillup_prereq /bin/ln /bin/mkdir /bin/touch /sbin/ldconfig /usr/bin/dirname -%if %{suse_version} > 920 +PreReq: %{?insserv_prereq} %{?fillup_prereq} /bin/ln /bin/mkdir /bin/touch /sbin/ldconfig /usr/bin/dirname +%if 0%{?suse_version} == 0 || 0%{?suse_version} > 920 Requires: cifs-mount %endif -%if %{suse_version} > 1020 + +%description client +Samba is a suite of programs that allows SMB/CIFS clients to use the +Unix file space, printers, and authentication subsystem. + +The package named samba-client contains all programs that are needed to +act as a Samba client. The binaries expect the configuration file to +be found in /etc/samba/smb.conf + +For a more detailed description of Samba, check the samba-doc package +or the Samba.org Web page at http://www.Samba.org/ + +Please check http://en.openSUSE.org/Samba for general information on +Samba as part of SUSE Linux Enterprise or openSUSE products, links to +binary packages of the most current Samba version, and a bug reporting +how to. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + +%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020 %package devel License: GPL v3 or later Summary: Libraries and Header Files to Develop Programs with Samba Support Group: Development/Libraries/C and C++ AutoReqProv: on + +%description devel +This package contains the static libraries and header files needed to +develop programs which make use of Samba. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + %endif -%if %{suse_version} < 1001 +%if 0%{?suse_version} && 0%{?suse_version} < 1001 %package doc License: GPL v3 or later @@ -104,6 +180,25 @@ AutoReqProv: on Provides: samba3-doc = %{version}-%{release} Obsoletes: samba3-doc < %{version} PreReq: /bin/rm /usr/bin/find /usr/bin/xargs + +%description doc +This package contains all the Samba documentation as it is not part of +the man pages. + +Please check http://en.openSUSE.org/Samba for general information on +Samba as part of SUSE Linux Enterprise or openSUSE products, links to +binary packages of the most current Samba version, and a bug reporting +how to. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + %endif %package krb-printing @@ -113,20 +208,23 @@ Group: Productivity/Networking/Samba AutoReqProv: on Provides: samba3-krb-printing = %{version}-%{release} Obsoletes: samba3-krb-printing -%if %{suse_version} > 1000 +%if 0%{?suse_version} > 1000 PreReq: /sbin/conf.d/SuSEconfig.permissions /bin/ln %endif Requires: samba-client >= %{version} -%if %{make_pdb} -%package pdb -License: GPL v2 or later -Summary: PDB-Modules -Group: Productivity/Networking/Samba -AutoReqProv: on -Provides: samba3-pdb = %{version}-%{release} -Obsoletes: samba3-pdb -%endif +%description krb-printing +A wrapper binary to run smbspool with the original calling UID. + + + +Authors: +-------- + Jeremy Allison + +Source Timestamp: 1776 +Branch : trunk + %if %{make_utils} %package utils @@ -136,6 +234,16 @@ Group: Productivity/Networking/Samba AutoReqProv: on Provides: samba3-utils = %{version}-%{release} Obsoletes: samba3-utils + +%description utils +Some of the debug-tools for developpers. + + + +Authors: +-------- + The Samba Team + %endif %package winbind @@ -147,12 +255,23 @@ Provides: samba3-winbind = %{version}-%{release} samba-client:/usr/sbin/wi Obsoletes: samba3-winbind Requires: samba-client >= %{version} PreReq: /bin/ln /sbin/ldconfig /sbin/insserv /bin/rm -%if %{suse_version} < 1031 + +%description winbind +This is the winbind-daemon and the wbinfo-tool. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + +%if 0%{?suse_version} && 0%{?suse_version} < 1031 %package -n libsmbclient License: GPL v2 or later -Provides: libsmbclient3 = %{version}-%{release} -Obsoletes: libsmbclient3 %else %package -n libsmbclient0 @@ -164,17 +283,73 @@ Summary: Samba Client Library Group: System/Libraries AutoReqProv: on PreReq: /sbin/ldconfig +%if 0%{?suse_version} && 0%{?suse_version} < 1031 + +%description -n libsmbclient +This package includes the libsmbclient library. + +libsmbclient is provided by the libsmbclient0 package. + +This entry is required to allow a samba.spec file providing +libsmbclient for SUSE version < 11.0 while versions > 10.0 will have +libsmbclient0. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + +%else + +%description -n libsmbclient0 +This package includes the libsmbclient library. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + +%endif +This package includes the smbclient library. +Authors: +-------- + The Samba Team %package -n libsmbclient-devel License: GPL v2 or later Summary: Libraries and Header Files to Develop Programs with smbclient Support Group: Development/Libraries/C and C++ AutoReqProv: on -%if %{suse_version} < 1031 +%if 0%{?suse_version} && 0%{?suse_version} < 921 +Requires: libsmbclient = %{version} heimdal-devel +%else +%if 0%{?suse_version} && 0%{?suse_version} < 1031 Requires: libsmbclient = %{version} krb5-devel %else Requires: libsmbclient0 = %{version} krb5-devel %endif +%endif + +%description -n libsmbclient-devel +This package contains the static libraries and header files needed to +develop programs which make use of the smbclient programming interface. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk %package -n libnetapi0 License: GPL v3 or later @@ -183,13 +358,39 @@ Group: Productivity/Networking/Samba AutoReqProv: on PreReq: /sbin/ldconfig +%description -n libnetapi0 +This package includes the netapi library. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + %package -n libnetapi-devel License: GPL v3 or later Summary: Libraries and Header Files to Develop Programs with netapi Support Group: Productivity/Networking/Samba AutoReqProv: on Requires: libnetapi0 = %{version} -%if %{suse_version} < 1031 + +%description -n libnetapi-devel +This package contains the static libraries and header files needed to +develop programs which make use of the netapi programming interface. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + +%if 0%{?suse_version} && 0%{?suse_version} < 1031 %package -n libsmbsharemodes License: GPL v3 or later @@ -202,17 +403,65 @@ Summary: Samba smbsharemodes Library Group: System/Libraries AutoReqProv: on PreReq: /sbin/ldconfig +%if 0%{?suse_version} && 0%{?suse_version} < 1031 + +%description -n libsmbsharemodes +This package includes the smbsharemodes library. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + +%else + +%description -n libsmbsharemodes0 +This package includes the smbsharemodes library. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + +%endif +This package includes the smbsharemodes library. +Authors: +-------- + The Samba Team %package -n libsmbsharemodes-devel License: GPL v3 or later Summary: Samba smbsharemodes Library Group: System/Libraries AutoReqProv: on -%if %{suse_version} < 1031 +%if 0%{?suse_version} && 0%{?suse_version} < 1031 Requires: libsmbsharemodes = %{version} %else Requires: libsmbsharemodes0 = %{version} %endif + +%description -n libsmbsharemodes-devel +This package contains the static libraries and header files needed to +develop programs which make use of the smbsharemodes programming +interface. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + %if %{make_ldapsmb} %package -n libtalloc1 @@ -222,6 +471,18 @@ Group: Productivity/Networking/Samba AutoReqProv: on PreReq: /sbin/ldconfig +%description -n libtalloc1 +This package includes the talloc library. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + %package -n libtalloc-devel License: GPL v3 or later Summary: Libraries and Header Files to Develop Programs with talloc Support @@ -229,6 +490,19 @@ Group: Productivity/Networking/Samba AutoReqProv: on Requires: libtalloc1 = %{version} +%description -n libtalloc-devel +This package contains the static libraries and header files needed to +develop programs which make use of the talloc programming interface. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + %package -n libtdb0 License: GPL v3 or later Summary: Samba tdb Library @@ -236,6 +510,18 @@ Group: Productivity/Networking/Samba AutoReqProv: on PreReq: /sbin/ldconfig +%description -n libtdb0 +This package includes the tdb library. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + %package -n libtdb-devel License: GPL v3 or later Summary: Libraries and Header Files to Develop Programs with tdb Support @@ -243,6 +529,19 @@ Group: Productivity/Networking/Samba AutoReqProv: on Requires: libtdb0 = %{version} +%description -n libtdb-devel +This package contains the static libraries and header files needed to +develop programs which make use of the tdb programming interface. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + %package -n libwbclient0 License: GPL v3 or later Summary: Samba libwbclient Library @@ -250,6 +549,18 @@ Group: Productivity/Networking/Samba AutoReqProv: on PreReq: /sbin/ldconfig +%description -n libwbclient0 +This package includes the wbclient library. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + %package -n libwbclient-devel License: GPL v3 or later Summary: Libraries and Header Files to Develop Programs with wbclient Support @@ -257,22 +568,63 @@ Group: Productivity/Networking/Samba AutoReqProv: on Requires: libwbclient0 = %{version} +%description -n libwbclient-devel +This package contains the static libraries and header files needed to +develop programs which make use of the wbclient programming interface. + + + +Authors: +-------- + The Samba Team + +Source Timestamp: 1776 +Branch : trunk + %package -n ldapsmb License: GPL v2 or later Summary: Tool to administer Samba's LDAP backend Group: Productivity/Networking/Samba AutoReqProv: on Version: 1.34b -Release: 183 +Release: 187 Requires: perl-ldap + +%description -n ldapsmb +This tool aims to simplify the administration of a Samba Domain +Controller that uses the ldapsam passdb backend. + + + +Authors: +-------- + Guenther Deschner + +Source Timestamp: 1776 +Branch : trunk + %endif -%if %{suse_version} > 920 +%if 0%{?suse_version} == 0 || 0%{?suse_version} > 920 %package -n cifs-mount License: GPL v2 or later Summary: Mount using the Common Internet File System (CIFS) Group: System/Filesystems AutoReqProv: on + +%description -n cifs-mount +mount.cifs mounts a CIFS filesystem. It is usually invoked indirectly +by the mount command when using the "-t cifs" option. + + + +Authors: +-------- + Steve French + +Source Timestamp: 1776 +Branch : trunk + %endif %if %{make_vscan} @@ -287,6 +639,22 @@ Provides: samba3-vscan = 0.3.6b Obsoletes: samba3-vscan Requires: samba = %{samba_ver} Url: http://www.openantivirus.org/ + +%description vscan +samba-vscan provides on-access scanning of Samba shares with ClamAV, +FRISK F-Prot, F-Secure AV, Kaspersky Anti-Virus, mks32, OAV +ScannerDaemon, Sophos Sweep, Symantec AntiVirus Engine (via ICAP) and +Trend Micro. + + + +Authors: +-------- + Rainer Link + +Source Timestamp: 1776 +Branch : trunk + %endif %prep @@ -334,18 +702,25 @@ vendor_tag=$( grep ^Release: ${RPM_SOURCE_DIR}/samba.spec | \ echo -n "${SAMBA_PACKAGE_SVN_VERSION:+${SAMBA_PACKAGE_SVN_VERSION}-}"; \ test %{make_devel} -eq 1 && echo -n "devel-" || :) # Create product suffix -major_version=$((%{suse_version}/100)) -minor_version=$((%{suse_version}/10)) +test 0%{?centos_version} -gt 0 && product_version=%{?centos_version} +test 0%{?fedora_version} -gt 0 && product_version=%{?fedora_version} +test 0%{?mandriva_version} -gt 0 && product_version=%{?mandriva_version} +test 0%{?rhel_version} -gt 0 && product_version=%{?rhel_version} +test 0%{?suse_version} -gt 0 && product_version=%{?suse_version} +major_version=$((${product_version}/100)) +minor_version=$((${product_version}/10)) minor_version="${minor_version#$major_version}" product_version="${major_version}.${minor_version}" product_suffix="" if test "%{VENDOR}" != "UL"; then - if test "%{sles_version}" -gt 0; then + if test 0%{?sles_version} -gt 0; then product_suffix="-SLES%{sles_version}" - else + elif test 0%{?suse_version} -gt 0; then product_suffix="-SL${product_version}" + else + product_suffix="-OBS" fi - case "%{suse_version}" in + case "0%{?suse_version}" in 1010) product_suffix="-CODE${major_version}" ;; esac fi @@ -353,8 +728,8 @@ fi mv VERSION VERSION.orig sed -e s/^SAMBA_VERSION_VENDOR_SUFFIX=$/SAMBA_VERSION_VENDOR_SUFFIX=\"${vendor_tag}%{VENDOR}${product_suffix}\"/ VERSION.orig >VERSION -%build samba-%{samba_ver_full} -%if %{suse_version} < 911 +%build +%if 0%{?suse_version} && 0%{?suse_version} < 911 OPTIMIZATION="-O" %else # use the default optimization @@ -418,12 +793,13 @@ CONFIGURE_OPTIONS_DEVEL="--enable-debug --enable-developer" %endif ./configure ${CONFIGURE_OPTIONS} ${CONFIGURE_OPTIONS_DEVEL} ./script/mkversion.sh -%if %{suse_version} > 930 +%if 0%{?suse_version} == 0 || 0%{?suse_version} > 930 %{__make} pch %else %{__make} proto %endif %{__make} %{?jobs:-j%jobs} \ + CODEPAGEDIR=%{_libdir}/samba \ everything #%{__make} %{?jobs:-j%jobs} -C tdb tdbtest tdbtorture %if %{make_vscan} @@ -463,7 +839,7 @@ mkdir -p \ ${RPM_BUILD_ROOT}/sbin \ ${RPM_BUILD_ROOT}/%{_includedir} \ ${RPM_BUILD_ROOT}/%{_libdir}/python/lib-dynload \ - ${RPM_BUILD_ROOT}/%{_libdir}/samba/{config,vfs,pdb,rpc,auth,charset,idmap} \ + ${RPM_BUILD_ROOT}/%{_libdir}/samba/{config,vfs,rpc,auth,charset,idmap} \ ${RPM_BUILD_ROOT}/%{_datadir}/omc/svcinfo.d \ ${RPM_BUILD_ROOT}/%{_datadir}/samba/{LDAP,templates} \ ${RPM_BUILD_ROOT}/%{_localstatedir}/adm \ @@ -510,11 +886,13 @@ for file in config/templates/*; do done # start scripts scriptSuffix="" -if test %{suse_version} -lt 901; then +%if 0%{?suse_version} +if test 0%{?suse_version} -lt 901; then scriptSuffix="-900" -elif test %{suse_version} -lt 1011; then +elif test 0%{?suse_version} -lt 1011; then scriptSuffix="-1010" fi +%endif startScripts="smb nmb smbfs winbind" for script in ${startScripts}; do cp -p "init/${script}${scriptSuffix}" \ @@ -536,7 +914,9 @@ cp -p tools/smbprngenpdf ${RPM_BUILD_ROOT}/%{_bindir}/ touch ${RPM_BUILD_ROOT}/var/lock/subsys/smbfs cp -p config/swat.xinetd ${RPM_BUILD_ROOT}/%{_sysconfdir}/xinetd.d/swat cp -p config/samba.reg ${RPM_BUILD_ROOT}/%{_sysconfdir}/slp.reg.d/ -%if %{suse_version} < 921 +install -d -m 0755 ${RPM_BUILD_ROOT}/%{_sysconfdir}/NetworkManager/dispatcher.d/ +cp -p tools/smbfs ${RPM_BUILD_ROOT}/%{_sysconfdir}/NetworkManager/dispatcher.d/smbfs +%if 0%{?suse_version} && 0%{?suse_version} < 921 cp -p config/samba.pamd ${RPM_BUILD_ROOT}/%{_sysconfdir}/pam.d/samba %else cp -p config/samba.pamd-common ${RPM_BUILD_ROOT}/%{_sysconfdir}/pam.d/samba @@ -551,7 +931,7 @@ for script in 21-dhcpcd-hook-samba 55-samba-winbindd; do touch ${RPM_BUILD_ROOT}/%{_sysconfdir}/sysconfig/network/if-{down,up}.d/${script} done # Add logrotate settings for nmbd and smbd only on systems newer than 8.1. -%if %{suse_version} < 811 +%if 0%{?suse_version} && 0%{?suse_version} < 811 LOGROTATE_FILES="samba-winbind" rm -f "${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba" touch "${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba" @@ -616,7 +996,8 @@ install -m 0755 source/bin/vfstest ${RPM_BUILD_ROOT}/%{_bindir}/ %if %{make_vscan} # install VSCAN-vfs-modules %{__make} -C examples/VFS/samba-vscan-%{vscan_ver} install \ - DESTDIR="${RPM_BUILD_ROOT}" + DESTDIR="${RPM_BUILD_ROOT}" \ + LIBDIR=%{_libdir}/samba %endif %if %{make_ldapsmb} install -m 0700 ldapsmb-%{ldapsmb_ver}/ldapsmb ${RPM_BUILD_ROOT}/%{_sbindir}/ @@ -628,8 +1009,7 @@ touch ${RPM_BUILD_ROOT}/%{_libdir}/cups/backend/smb # make examples clean VFS="${RPM_BUILD_DIR}/samba-%{samba_ver_full}/examples/VFS" VSCAN="$VFS/samba-vscan-%{vscan_ver}" -PDB="${RPM_BUILD_DIR}/samba-%{samba_ver_full}/examples/pdb" -dirs="$PDB $SAM $VFS" +dirs="$SAM $VFS" (for i in $dirs; do make -C "${i}" clean; done) # add docs %if %{make_vscan} @@ -689,7 +1069,7 @@ done cp -p examples/LDAP/samba.schema ${RPM_BUILD_ROOT}/%{_sysconfdir}/openldap/schema/samba3.schema cp -p examples/LDAP/samba-nds.schema ${RPM_BUILD_ROOT}/%{_datadir}/samba/LDAP # Clean up installed doc if we have a noarch doc package -%if %{suse_version} > 1000 +%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1000 while read file; do rm -r "${RPM_BUILD_ROOT}/${file#%* }" done <"${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba-doc" @@ -704,7 +1084,7 @@ done popd %endif # Workaround bug 380693 by relocating the CIFS helper apps to /usr -%if %{suse_version} < 1030 +%if 0%{?suse_version} && 0%{?suse_version} < 1030 mv ${RPM_BUILD_ROOT}/sbin/{,u}mount.cifs ${RPM_BUILD_ROOT}/usr/sbin/ ln -fs /usr/sbin/mount.cifs ${RPM_BUILD_ROOT}/sbin/ ln -fs /usr/sbin/umount.cifs ${RPM_BUILD_ROOT}/sbin/ @@ -727,7 +1107,7 @@ ln -fs /usr/sbin/umount.cifs ${RPM_BUILD_ROOT}/sbin/ /sbin/ldconfig if [ ${1:-0} -eq 1 ]; then # Only insserv smbfs if we're not in update mode. -%if %{suse_version} < 1001 +%if 0%{?suse_version} && 0%{?suse_version} < 1001 %{fillup_and_insserv -fy smbfs} || : %else %fillup_and_insserv -fy smbfs @@ -774,7 +1154,7 @@ fi %postun -n libtdb0 /sbin/ldconfig -%if %{suse_version} < 1001 +%if 0%{?suse_version} && 0%{?suse_version} < 1001 %pre doc # Remove all directories and files from usr/share/samba/swat/help expect welcome-*.html @@ -800,7 +1180,7 @@ fi if test -e %{_bindir}/smbspool -a -d %{_libdir}/cups/backend; then ln -fs %{_bindir}/smbspool %{_libdir}/cups/backend/smb fi -%if %{suse_version} > 1000 +%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1000 %verifyscript krb-printing %verify_permissions -e %{_bindir}/get_printing_ticket %endif @@ -826,7 +1206,7 @@ fi /sbin/ldconfig %restart_on_update nscd winbind %insserv_cleanup -%if %{suse_version} < 1031 +%if 0%{?suse_version} && 0%{?suse_version} < 1031 %post -n libsmbclient %else @@ -834,7 +1214,7 @@ fi %post -n libsmbclient0 %endif /sbin/ldconfig -%if %{suse_version} < 1031 +%if 0%{?suse_version} && 0%{?suse_version} < 1031 %postun -n libsmbclient %else @@ -842,7 +1222,7 @@ fi %postun -n libsmbclient0 %endif /sbin/ldconfig -%if %{suse_version} < 1031 +%if 0%{?suse_version} && 0%{?suse_version} < 1031 %post -n libsmbsharemodes %else @@ -850,7 +1230,7 @@ fi %post -n libsmbsharemodes0 %endif /sbin/ldconfig -%if %{suse_version} < 1031 +%if 0%{?suse_version} && 0%{?suse_version} < 1031 %postun -n libsmbsharemodes %else @@ -893,41 +1273,41 @@ fi %{_sbindir}/rcsmb %{_sbindir}/smbd %{_sbindir}/swat -%if %{suse_version} < 1100 +%if 0%{?suse_version} && 0%{?suse_version} < 1100 %dir %{_datadir}/omc %dir %{_datadir}/omc/svcinfo.d %endif %attr(0644,root,root) %{_datadir}/omc/svcinfo.d/nmb.xml %attr(0644,root,root) %{_datadir}/omc/svcinfo.d/smb.xml %dir %{_datadir}/samba -%doc %{_mandir}/man1/smbstatus.1.gz -%doc %{_mandir}/man5/smbpasswd.5.gz -%doc %{_mandir}/man8/nmbd.8.gz -%doc %{_mandir}/man8/smbd.8.gz -%doc %{_mandir}/man8/swat.8.gz -%doc %{_mandir}/man8/vfs_audit.8.gz -%doc %{_mandir}/man8/vfs_cacheprime.8.gz -%doc %{_mandir}/man8/vfs_cap.8.gz -%doc %{_mandir}/man8/vfs_catia.8.gz -%doc %{_mandir}/man8/vfs_commit.8.gz -%doc %{_mandir}/man8/vfs_default_quota.8.gz -%doc %{_mandir}/man8/vfs_extd_audit.8.gz -%doc %{_mandir}/man8/vfs_fake_perms.8.gz -%doc %{_mandir}/man8/vfs_full_audit.8.gz -%doc %{_mandir}/man8/vfs_gpfs.8.gz -%doc %{_mandir}/man8/vfs_netatalk.8.gz -%doc %{_mandir}/man8/vfs_notify_fam.8.gz -%doc %{_mandir}/man8/vfs_prealloc.8.gz -%doc %{_mandir}/man8/vfs_readahead.8.gz -%doc %{_mandir}/man8/vfs_readonly.8.gz -%doc %{_mandir}/man8/vfs_recycle.8.gz -%doc %{_mandir}/man8/vfs_shadow_copy.8.gz -%doc %{_mandir}/man8/vfs_xattr_tdb.8.gz -%if %{suse_version} < 1021 +%doc %{_mandir}/man1/smbstatus.1.* +%doc %{_mandir}/man5/smbpasswd.5.* +%doc %{_mandir}/man8/nmbd.8.* +%doc %{_mandir}/man8/smbd.8.* +%doc %{_mandir}/man8/swat.8.* +%doc %{_mandir}/man8/vfs_audit.8.* +%doc %{_mandir}/man8/vfs_cacheprime.8.* +%doc %{_mandir}/man8/vfs_cap.8.* +%doc %{_mandir}/man8/vfs_catia.8.* +%doc %{_mandir}/man8/vfs_commit.8.* +%doc %{_mandir}/man8/vfs_default_quota.8.* +%doc %{_mandir}/man8/vfs_extd_audit.8.* +%doc %{_mandir}/man8/vfs_fake_perms.8.* +%doc %{_mandir}/man8/vfs_full_audit.8.* +%doc %{_mandir}/man8/vfs_gpfs.8.* +%doc %{_mandir}/man8/vfs_netatalk.8.* +%doc %{_mandir}/man8/vfs_notify_fam.8.* +%doc %{_mandir}/man8/vfs_prealloc.8.* +%doc %{_mandir}/man8/vfs_readahead.8.* +%doc %{_mandir}/man8/vfs_readonly.8.* +%doc %{_mandir}/man8/vfs_recycle.8.* +%doc %{_mandir}/man8/vfs_shadow_copy.8.* +%doc %{_mandir}/man8/vfs_xattr_tdb.8.* +%if 0%{?suse_version} && 0%{?suse_version} < 1021 %{_includedir}/samba %{_includedir}/*.h %endif -%if %{suse_version} > 1020 +%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020 %files devel %defattr(-,root,root) @@ -946,6 +1326,9 @@ fi %attr(0444,root,root) %config %{_sysconfdir}/openldap/schema/samba3.schema %ghost %{_sysconfdir}/sysconfig/network/if-down.d/21-dhcpcd-hook-samba %ghost %{_sysconfdir}/sysconfig/network/if-up.d/21-dhcpcd-hook-samba +%dir %{_sysconfdir}/NetworkManager +%dir %{_sysconfdir}/NetworkManager/dispatcher.d +%{_sysconfdir}/NetworkManager/dispatcher.d/smbfs %{_sysconfdir}/sysconfig/network/scripts/dhcpcd-hook-samba %{_sysconfdir}/sysconfig/network/scripts/dhcpcd-hook-samba-functions %{_bindir}/eventlogadm @@ -990,37 +1373,37 @@ fi %{_libdir}/samba/nss_info/rfc2307.so %{_libdir}/samba/nss_info/sfu.so %{_libdir}/samba/nss_info/sfu20.so -%doc %{_mandir}/man1/findsmb.1.gz -%doc %{_mandir}/man1/ldbadd.1.gz -%doc %{_mandir}/man1/ldbdel.1.gz -%doc %{_mandir}/man1/ldbedit.1.gz -%doc %{_mandir}/man1/ldbmodify.1.gz -%doc %{_mandir}/man1/ldbsearch.1.gz -%doc %{_mandir}/man1/nmblookup.1.gz -%doc %{_mandir}/man1/nmbstatus.1.gz -%doc %{_mandir}/man1/profiles.1.gz -%doc %{_mandir}/man1/rpcclient.1.gz -%doc %{_mandir}/man1/smbcacls.1.gz -%doc %{_mandir}/man1/smbcontrol.1.gz -%doc %{_mandir}/man1/smbclient.1.gz -%doc %{_mandir}/man1/smbcquotas.1.gz -%doc %{_mandir}/man1/smbget.1.gz -%doc %{_mandir}/man1/smbtar.1.gz -%doc %{_mandir}/man1/smbtree.1.gz -%doc %{_mandir}/man1/testparm.1.gz -%doc %{_mandir}/man5/lmhosts.5.gz -%doc %{_mandir}/man5/smb.conf.5.gz -%doc %{_mandir}/man5/smbgetrc.5.gz -%doc %{_mandir}/man7/samba.7.gz -%doc %{_mandir}/man8/eventlogadm.8.gz -%doc %{_mandir}/man8/net.8.gz -%doc %{_mandir}/man8/pdbedit.8.gz -%doc %{_mandir}/man8/smbpasswd.8.gz -%doc %{_mandir}/man8/smbspool.8.gz -%doc %{_mandir}/man8/tdbbackup.8.gz -%doc %{_mandir}/man8/tdbdump.8.gz -%doc %{_mandir}/man8/tdbtool.8.gz -%if %{suse_version} < 1100 +%doc %{_mandir}/man1/findsmb.1.* +%doc %{_mandir}/man1/ldbadd.1.* +%doc %{_mandir}/man1/ldbdel.1.* +%doc %{_mandir}/man1/ldbedit.1.* +%doc %{_mandir}/man1/ldbmodify.1.* +%doc %{_mandir}/man1/ldbsearch.1.* +%doc %{_mandir}/man1/nmblookup.1.* +%doc %{_mandir}/man1/nmbstatus.1.* +%doc %{_mandir}/man1/profiles.1.* +%doc %{_mandir}/man1/rpcclient.1.* +%doc %{_mandir}/man1/smbcacls.1.* +%doc %{_mandir}/man1/smbcontrol.1.* +%doc %{_mandir}/man1/smbclient.1.* +%doc %{_mandir}/man1/smbcquotas.1.* +%doc %{_mandir}/man1/smbget.1.* +%doc %{_mandir}/man1/smbtar.1.* +%doc %{_mandir}/man1/smbtree.1.* +%doc %{_mandir}/man1/testparm.1.* +%doc %{_mandir}/man5/lmhosts.5.* +%doc %{_mandir}/man5/smb.conf.5.* +%doc %{_mandir}/man5/smbgetrc.5.* +%doc %{_mandir}/man7/samba.7.* +%doc %{_mandir}/man8/eventlogadm.8.* +%doc %{_mandir}/man8/net.8.* +%doc %{_mandir}/man8/pdbedit.8.* +%doc %{_mandir}/man8/smbpasswd.8.* +%doc %{_mandir}/man8/smbspool.8.* +%doc %{_mandir}/man8/tdbbackup.8.* +%doc %{_mandir}/man8/tdbdump.8.* +%doc %{_mandir}/man8/tdbtool.8.* +%if 0%{?suse_version} && 0%{?suse_version} < 1100 %dir %{_datadir}/omc %dir %{_datadir}/omc/svcinfo.d %endif @@ -1037,13 +1420,13 @@ fi %dir %{LOCKDIR} %attr(0750,root,root) %dir %{LOGDIR} %dir %{PIDDIR} -%if %{suse_version} < 921 +%if 0%{?suse_version} && 0%{?suse_version} < 921 /sbin/mount.cifs /sbin/umount.cifs %{_sbindir}/mount.cifs %{_sbindir}/umount.cifs -%doc %{_mandir}/man8/mount.cifs.8.gz -%doc %{_mandir}/man8/umount.cifs.8.gz +%doc %{_mandir}/man8/mount.cifs.8.* +%doc %{_mandir}/man8/umount.cifs.8.* %endif %files winbind -f filelist-samba-winbind @@ -1053,9 +1436,9 @@ fi %ghost %{_sysconfdir}/sysconfig/network/if-down.d/55-samba-winbindd %ghost %{_sysconfdir}/sysconfig/network/if-up.d/55-samba-winbindd %{_sysconfdir}/sysconfig/network/scripts/samba-winbindd -%doc %{_mandir}/man1/ntlm_auth.1.gz -%doc %{_mandir}/man1/wbinfo.1.gz -%doc %{_mandir}/man8/winbindd.8.gz +%doc %{_mandir}/man1/ntlm_auth.1.* +%doc %{_mandir}/man1/wbinfo.1.* +%doc %{_mandir}/man8/winbindd.8.* %{_bindir}/ntlm_auth %{_bindir}/wbinfo %{_sbindir}/rcwinbind @@ -1063,13 +1446,13 @@ fi /%{_lib}/libnss_winbind.so.2 /%{_lib}/security/pam_winbind.so %{_libdir}/samba/idmap -%doc %{_mandir}/man7/pam_winbind.7.gz -%doc %{_mandir}/man8/idmap_ad.8.gz -%doc %{_mandir}/man8/idmap_ldap.8.gz -%doc %{_mandir}/man8/idmap_nss.8.gz -%doc %{_mandir}/man8/idmap_rid.8.gz -%doc %{_mandir}/man8/idmap_tdb.8.gz -%if %{suse_version} < 1100 +%doc %{_mandir}/man7/pam_winbind.7.* +%doc %{_mandir}/man8/idmap_ad.8.* +%doc %{_mandir}/man8/idmap_ldap.8.* +%doc %{_mandir}/man8/idmap_nss.8.* +%doc %{_mandir}/man8/idmap_rid.8.* +%doc %{_mandir}/man8/idmap_tdb.8.* +%if 0%{?suse_version} && 0%{?suse_version} < 1100 %dir %{_datadir}/omc %dir %{_datadir}/omc/svcinfo.d %endif @@ -1090,10 +1473,10 @@ fi #%{_bindir}/tdbtest #%{_bindir}/tdbtorture %{_bindir}/vfstest -%doc %{_mandir}/man1/log2pcap.1.gz -%doc %{_mandir}/man1/vfstest.1.gz +%doc %{_mandir}/man1/log2pcap.1.* +%doc %{_mandir}/man1/vfstest.1.* %endif -%if %{suse_version} < 1001 +%if 0%{?suse_version} && 0%{?suse_version} < 1001 %files doc -f filelist-samba-doc %defattr(-,root,root) @@ -1107,7 +1490,7 @@ fi %files krb-printing %defattr(-,root,root) -%if %{suse_version} > 1000 +%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1000 %verify(not mode) %attr(4750,root,lp) %{_bindir}/get_printing_ticket %else %attr(0750,root,lp) %{_bindir}/get_printing_ticket @@ -1115,13 +1498,6 @@ fi %dir %{_libdir}/cups %dir %{_libdir}/cups/backend %ghost %{_libdir}/cups/backend/smb -%if %{make_pdb} - -%files pdb -%defattr(-,root,root) -%{_libdir}/samba/pdb -%doc examples/pdb/{Makefile,README,test.c} -%endif %if %{make_vscan} %files vscan @@ -1140,7 +1516,7 @@ fi %defattr(-,root,root) %{_libdir}/libnetapi.a %{_libdir}/libnetapi.so -%if %{suse_version} < 1031 +%if 0%{?suse_version} && 0%{?suse_version} < 1031 %files -n libsmbclient %else @@ -1149,14 +1525,14 @@ fi %endif %defattr(-,root,root) %{_libdir}/libsmbclient.so.* -%doc %{_mandir}/man7/libsmbclient.7.gz +%doc %{_mandir}/man7/libsmbclient.7.* %files -n libsmbclient-devel %defattr(-,root,root) %{_includedir}/libsmbclient.h %{_libdir}/libsmbclient.a %{_libdir}/libsmbclient.so -%if %{suse_version} < 1031 +%if 0%{?suse_version} && 0%{?suse_version} < 1031 %files -n libsmbsharemodes %else @@ -1203,416 +1579,42 @@ fi %files -n ldapsmb %defattr(-,root,root) %{_sbindir}/ldapsmb -%{_mandir}/man5/ldapsmb.5.gz +%{_mandir}/man5/ldapsmb.5.* %endif -%if %{suse_version} > 920 +%if 0%{?suse_version} == 0 || 0%{?suse_version} > 920 %files -n cifs-mount %defattr(-,root,root) -%if %{suse_version} < 1030 +%if 0%{?suse_version} && 0%{?suse_version} < 1030 %{_sbindir}/mount.cifs %{_sbindir}/umount.cifs %endif /sbin/mount.cifs /sbin/umount.cifs -%doc %{_mandir}/man8/mount.cifs.8.gz -%doc %{_mandir}/man8/umount.cifs.8.gz -%endif - -%description -Samba is a suite of programs that allows SMB/CIFS clients to use the -Unix file space, printers, and authentication subsystem. - -The package named samba contains all programs that are needed to act as -a server. The binaries expect the configuration file to be found in -/etc/samba/smb.conf - -For a more detailed description of Samba, check the samba-doc package -or the Samba.org Web page at http://www.Samba.org/ - -Please check http://en.openSUSE.org/Samba for general information on -Samba as part of SUSE Linux Enterprise or openSUSE products, links to -binary packages of the most current Samba version, and a bug reporting -how to. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%if %{suse_version} > 1020 - -%description devel -This package contains the static libraries and header files needed to -develop programs which make use of Samba. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%endif - -%description client -Samba is a suite of programs that allows SMB/CIFS clients to use the -Unix file space, printers, and authentication subsystem. - -The package named samba-client contains all programs that are needed to -act as a Samba client. The binaries expect the configuration file to -be found in /etc/samba/smb.conf - -For a more detailed description of Samba, check the samba-doc package -or the Samba.org Web page at http://www.Samba.org/ - -Please check http://en.openSUSE.org/Samba for general information on -Samba as part of SUSE Linux Enterprise or openSUSE products, links to -binary packages of the most current Samba version, and a bug reporting -how to. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%description winbind -This is the winbind-daemon and the wbinfo-tool. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%if %{make_utils} - -%description utils -Some of the debug-tools for developpers. - - - -Authors: --------- - The Samba Team - -%endif -%if %{suse_version} < 1001 - -%description doc -This package contains all the Samba documentation as it is not part of -the man pages. - -Please check http://en.openSUSE.org/Samba for general information on -Samba as part of SUSE Linux Enterprise or openSUSE products, links to -binary packages of the most current Samba version, and a bug reporting -how to. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%endif - -%description krb-printing -A wrapper binary to run smbspool with the original calling UID. - - - -Authors: --------- - Jeremy Allison - -Source Timestamp: 1743 -Branch : trunk - -%if %{make_pdb} - -%description pdb -The Samba PDB-Modules. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%endif -%if %{make_vscan} - -%description vscan -samba-vscan provides on-access scanning of Samba shares with ClamAV, -FRISK F-Prot, F-Secure AV, Kaspersky Anti-Virus, mks32, OAV -ScannerDaemon, Sophos Sweep, Symantec AntiVirus Engine (via ICAP) and -Trend Micro. - - - -Authors: --------- - Rainer Link - -Source Timestamp: 1743 -Branch : trunk - -%endif - -%description -n libnetapi0 -This package includes the netapi library. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%description -n libnetapi-devel -This package contains the static libraries and header files needed to -develop programs which make use of the netapi programming interface. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%if %{suse_version} < 1031 - -%description -n libsmbclient -This package includes the libsmbclient library. - -libsmbclient is provided by the libsmbclient0 package. - -This entry is required to allow a samba.spec file providing -libsmbclient for SUSE version < 11.0 while versions > 10.0 will have -libsmbclient0. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%else - -%description -n libsmbclient0 -This package includes the libsmbclient library. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%endif -This package includes the smbclient library. -Authors: --------- - The Samba Team - -%description -n libsmbclient-devel -This package contains the static libraries and header files needed to -develop programs which make use of the smbclient programming interface. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%if %{suse_version} < 1031 - -%description -n libsmbsharemodes -This package includes the smbsharemodes library. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%else - -%description -n libsmbsharemodes0 -This package includes the smbsharemodes library. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%endif -This package includes the smbsharemodes library. -Authors: --------- - The Samba Team - -%description -n libsmbsharemodes-devel -This package contains the static libraries and header files needed to -develop programs which make use of the smbsharemodes programming -interface. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%description -n libtalloc1 -This package includes the talloc library. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%description -n libtalloc-devel -This package contains the static libraries and header files needed to -develop programs which make use of the talloc programming interface. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%description -n libtdb0 -This package includes the tdb library. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%description -n libtdb-devel -This package contains the static libraries and header files needed to -develop programs which make use of the tdb programming interface. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%description -n libwbclient0 -This package includes the wbclient library. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%description -n libwbclient-devel -This package contains the static libraries and header files needed to -develop programs which make use of the wbclient programming interface. - - - -Authors: --------- - The Samba Team - -Source Timestamp: 1743 -Branch : trunk - -%if %{make_ldapsmb} - -%description -n ldapsmb -This tool aims to simplify the administration of a Samba Domain -Controller that uses the ldapsam passdb backend. - - - -Authors: --------- - Guenther Deschner - -Source Timestamp: 1743 -Branch : trunk - -%endif -%if %{suse_version} > 920 - -%description -n cifs-mount -mount.cifs mounts a CIFS filesystem. It is usually invoked indirectly -by the mount command when using the "-t cifs" option. - - - -Authors: --------- - Steve French - -Source Timestamp: 1743 -Branch : trunk - +%doc %{_mandir}/man8/mount.cifs.8.* +%doc %{_mandir}/man8/umount.cifs.8.* %endif %changelog +* Fri May 16 2008 lmuelle@suse.de +- Remove obsoletes and provides 3 for all packages and systems. +* Fri May 16 2008 lmuelle@suse.de +- Cleanup the use of the suse_version macro to achieve consistent defaults. +* Fri May 16 2008 lmuelle@suse.de +- Set CODEPAGEDIR while make to fit the install location. +* Thu May 15 2008 lmuelle@suse.de +- Package man page files independent of the used compression method (gz,lzma). +* Wed May 14 2008 lmuelle@suse.de +- Rewrite spec file to build packages for Fedora, Redhat, CentOS, and Mandriva + in the OBS too. +* Wed May 14 2008 anschneider@suse.de +- Add a script to restart smbfs if NetworkMangaer gets an IP address; + [bnc#373075]. +* Tue May 13 2008 lmuelle@suse.de +- Remove all references to the obsoleted samba-pdb package. +* Fri May 09 2008 lmuelle@suse.de +- Compose the BuildRequires in a more flexible way to fit the openSUSE build + service (OBS) requirements to support different operating system targets. * Mon Apr 28 2008 lmuelle@suse.de - Use _libdir macro instead of a local define of LIBDIR. * Mon Apr 28 2008 lmuelle@suse.de diff --git a/vendor-files.tar.bz2 b/vendor-files.tar.bz2 index 5b75e64..f632aa9 100644 --- a/vendor-files.tar.bz2 +++ b/vendor-files.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d200dbf2f2d7c5bf4d7633c22a6b963770de4b2152f76a906d3f97af72076cb1 -size 21914 +oid sha256:7c946a09edec7816defc845caed7145e6e12cbb6315f1a12eb3938f645cc9c4a +size 22001