2008-01-24 13:21:25 +01:00
|
|
|
#
|
2012-04-11 16:01:03 +02:00
|
|
|
# spec file for package samba
|
2008-01-24 13:21:25 +01:00
|
|
|
#
|
2012-04-11 16:01:03 +02:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-01-24 13:21:25 +01:00
|
|
|
#
|
2008-08-16 02:33:14 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-02-29 23:49:40 +01:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
Name: samba
|
2012-01-02 14:45:41 +01:00
|
|
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
|
|
|
BuildRequires: autoconf
|
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
BuildRequires: cups-devel
|
|
|
|
BuildRequires: e2fsprogs-devel
|
|
|
|
BuildRequires: fam-devel
|
|
|
|
BuildRequires: libacl-devel
|
2012-02-28 00:22:41 +01:00
|
|
|
%if 0%{?centos_version} > 599 ||0%{?fedora_version} > 11 || 0%{?mandriva_version} > 2009 || 0%{?rhel_version} > 599 || 0%{?suse_version} > 1100
|
2012-02-27 19:58:29 +01:00
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: popt-devel
|
|
|
|
BuildRequires: readline-devel
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version}
|
2011-09-09 15:14:31 +02:00
|
|
|
BuildRequires: cracklib-devel
|
|
|
|
BuildRequires: openldap2-devel
|
2008-05-17 02:11:23 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} > 1030
|
2011-09-09 15:14:31 +02:00
|
|
|
BuildRequires: gdbm-devel
|
|
|
|
BuildRequires: pwdutils
|
2008-05-17 02:11:23 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} > 930
|
2011-09-09 15:14:31 +02:00
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: libiniparser-devel
|
|
|
|
BuildRequires: libnscd-devel
|
|
|
|
BuildRequires: python-devel
|
2008-05-17 02:11:23 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} > 930 && 0%{?suse_version} < 1031
|
2011-09-09 15:14:31 +02:00
|
|
|
BuildRequires: dmapi-devel
|
|
|
|
BuildRequires: libnscd-devel
|
2011-09-09 15:53:54 +02:00
|
|
|
BuildRequires: libxml2-devel
|
2011-09-09 15:14:31 +02:00
|
|
|
BuildRequires: mysql-devel
|
|
|
|
BuildRequires: postgresql-devel
|
|
|
|
BuildRequires: xfsprogs-devel
|
2008-05-17 02:11:23 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} > 830 && 0%{?suse_version} < 931
|
|
|
|
BuildRequires: heimdal-devel
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora_version}
|
2009-02-08 03:31:22 +01:00
|
|
|
BuildRequires: cracklib-devel
|
2008-05-17 02:11:23 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} || 0%{?mandriva_version}
|
2011-09-09 15:14:31 +02:00
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: openldap-devel
|
|
|
|
BuildRequires: python-devel
|
2008-05-17 02:11:23 +02:00
|
|
|
%endif
|
2010-05-25 12:57:29 +02:00
|
|
|
%if 0%{?suse_version} > 1000
|
2009-06-08 01:56:37 +02:00
|
|
|
BuildRequires: keyutils-devel
|
|
|
|
%endif
|
2010-05-25 12:57:29 +02:00
|
|
|
%if 0%{?fedora_version} || 0%{?rhel_version} > 500
|
|
|
|
BuildRequires: keyutils-libs-devel
|
|
|
|
%endif
|
2009-05-15 22:13:32 +02:00
|
|
|
%if 0%{?suse_version} > 1000 || 0%{?fedora_version} || 0%{?rhel_version} || 0%{?mandriva_version}
|
2011-10-10 17:15:19 +02:00
|
|
|
BuildRequires: ctdb-devel > 1.0.105
|
2009-05-15 22:13:32 +02:00
|
|
|
%endif
|
2009-11-23 11:16:32 +01:00
|
|
|
%if 0%{?suse_version} > 1110
|
|
|
|
BuildRequires: fdupes
|
|
|
|
%endif
|
2010-05-25 12:57:29 +02:00
|
|
|
%if 0%{?suse_version} > 1020
|
2010-02-18 16:51:01 +01:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
%else
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
%endif
|
2012-05-15 12:58:22 +02:00
|
|
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1210
|
2012-05-31 16:28:27 +02:00
|
|
|
BuildRequires: libldb-devel
|
|
|
|
BuildRequires: libtalloc-devel
|
|
|
|
BuildRequires: libtdb-devel
|
|
|
|
BuildRequires: libtevent-devel
|
2012-05-15 12:58:22 +02:00
|
|
|
%endif
|
2012-04-30 18:56:10 +02:00
|
|
|
%define samba_ver 3.6.5
|
2011-08-09 14:45:29 +02:00
|
|
|
%define samba_ver_suffix %nil
|
2008-01-24 13:21:25 +01:00
|
|
|
%define samba_ver_full %{samba_ver}%{samba_ver_suffix}
|
2009-07-14 23:06:34 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1111
|
|
|
|
%define guards_symbols pre_1111
|
|
|
|
%endif
|
2012-05-15 12:58:22 +02:00
|
|
|
%if 0%{?suse_version} > 1130 && 0%{?suse_version} < 1211
|
2011-07-21 22:14:33 +02:00
|
|
|
%define libldb_ver 1.0.2
|
|
|
|
%define libtalloc_ver 2.0.5
|
|
|
|
%define libtdb_ver 1.2.9
|
|
|
|
%define libtevent_ver 0.9.11
|
2011-02-10 00:52:17 +01:00
|
|
|
%else
|
2012-05-15 12:58:22 +02:00
|
|
|
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1131
|
2011-02-10 00:52:17 +01:00
|
|
|
%define libldb_ver %{version}
|
2011-02-10 15:51:27 +01:00
|
|
|
%define libtalloc_ver %{version}
|
|
|
|
%define libtdb_ver %{version}
|
|
|
|
%define libtevent_ver %{version}
|
2011-02-10 00:52:17 +01:00
|
|
|
%endif
|
2012-05-15 12:58:22 +02:00
|
|
|
%endif
|
2011-03-18 17:25:03 +01:00
|
|
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
|
|
|
%define build_make_smp_mflags %{?_smp_mflags}
|
|
|
|
%else
|
|
|
|
%define build_make_smp_mflags %{?jobs:-j%jobs}
|
|
|
|
%endif
|
2012-04-30 18:56:10 +02:00
|
|
|
Version: 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
Release: 1
|
2008-01-24 13:21:25 +01:00
|
|
|
%define ldapsmb_ver 1.34b
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Url: http://www.samba.org/
|
2011-09-09 15:14:31 +02:00
|
|
|
Group: Productivity/Networking/Samba
|
2011-09-08 22:00:21 +02:00
|
|
|
Provides: samba-gplv3 = %{version}
|
2010-11-12 14:33:55 +01:00
|
|
|
Obsoletes: samba-gplv3 < %{version}
|
2009-01-09 02:18:16 +01:00
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: samba-64bit
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
Requires: samba-client >= %{version}
|
2008-07-11 23:15:18 +02:00
|
|
|
%if 0%{?suse_version} > 1030
|
2011-09-09 15:14:31 +02:00
|
|
|
Recommends: cron
|
|
|
|
Recommends: logrotate
|
2008-07-11 23:15:18 +02:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
Summary: A SMB/CIFS File, Print, and Authentication Server
|
|
|
|
Source: http://samba.org/samba/ftp/samba-%{version}%{samba_ver_suffix}.tar.bz2
|
|
|
|
Source1: vendor-files.tar.bz2
|
|
|
|
Source2: patches.tar.bz2
|
|
|
|
Source3: build-source-timestamp
|
2010-01-21 10:54:48 +01:00
|
|
|
Source4: baselibs.conf
|
2011-12-20 01:03:37 +01:00
|
|
|
Source11: http://www.samba.org/~gd/ldapsmb/ldapsmb-%{ldapsmb_ver}.tar.bz2
|
2011-09-09 15:14:31 +02:00
|
|
|
PreReq: /usr/bin/getent
|
|
|
|
PreReq: /usr/sbin/groupadd
|
|
|
|
PreReq: coreutils
|
|
|
|
PreReq: grep
|
2008-01-24 13:21:25 +01:00
|
|
|
# Choose some features / extra packages here
|
|
|
|
############################################
|
|
|
|
%define make_devel 0
|
|
|
|
%define use_ccache 0
|
2009-02-08 03:31:22 +01:00
|
|
|
%if 0%{?use_ccache} > 0
|
|
|
|
BuildRequires: ccache
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
# requires: docbook-utils docbook-xsl-stylesheets docbook_4 freetype2 ghostscript-fonts-std ghostscript-library ghostscript-x11 libxslt sgml-skel te_etex te_latex te_pdf tetex xmlcharent
|
|
|
|
%define make_doc 0
|
|
|
|
%define make_utils 0
|
|
|
|
%define make_ldapsmb 1
|
2010-03-19 08:25:40 +01:00
|
|
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1120
|
2010-01-08 17:32:57 +01:00
|
|
|
%define cifs_init_script cifs
|
2010-03-19 08:25:40 +01:00
|
|
|
%else
|
|
|
|
%define cifs_init_script smbfs
|
2010-01-08 17:32:57 +01:00
|
|
|
%endif
|
2009-08-01 11:43:53 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1111
|
|
|
|
%define link_static_libs 1
|
2012-02-27 19:58:29 +01:00
|
|
|
%else
|
|
|
|
%define link_static_libs 0
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1111
|
2011-07-21 22:14:33 +02:00
|
|
|
# pre-11.2 doesn't know the python_* macros
|
|
|
|
%define python_sitelib %py_sitedir
|
|
|
|
%define python_sitearch %py_sitedir
|
2012-02-27 19:58:29 +01:00
|
|
|
%else (%if 0%{?centos_version} && 0%{?centos_version} < 600) || (0%{rhel_version} && 0%{rhel_version} < 600)
|
|
|
|
# CentOS and RHEL pre-6 don't know them either
|
|
|
|
%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())")
|
|
|
|
%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1))")
|
2009-08-01 11:43:53 +02:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
# Define some global directories
|
|
|
|
################################
|
|
|
|
%define DOCDIR %{_defaultdocdir}/samba
|
|
|
|
%define DOCBOOKDIR %{_defaultdocdir}/%{name}/docbook
|
|
|
|
%define SWATDIR %{_datadir}/samba/swat
|
|
|
|
%define LOGDIR %{_localstatedir}/log/samba
|
|
|
|
%define LOCKDIR %{_localstatedir}/lib/samba
|
|
|
|
%define CONFIGDIR %{_sysconfdir}/samba
|
|
|
|
%define INITDIR %{_sysconfdir}/init.d
|
|
|
|
%define PIDDIR %{_localstatedir}/run/samba
|
2008-10-06 16:19:18 +02:00
|
|
|
%if "%{_vendor}" == "suse"
|
|
|
|
%define NET_CFGDIR network
|
|
|
|
%else
|
|
|
|
%define NET_CFGDIR network-scripts
|
|
|
|
%endif
|
2010-05-25 12:57:29 +02:00
|
|
|
%define idmap_modules idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_rid,idmap_tdb2
|
2008-04-24 09:21:53 +02:00
|
|
|
%define vfs_modules vfs_cacheprime,vfs_readahead
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?ul_version} >= 1
|
2008-01-24 13:21:25 +01:00
|
|
|
%define VENDOR UL
|
|
|
|
%else
|
2008-05-17 02:11:23 +02:00
|
|
|
%if "%{_vendor}" == "suse" || "%{_vendor}" == "redhat"
|
2008-01-24 13:21:25 +01:00
|
|
|
%define VENDOR SUSE
|
|
|
|
%else
|
|
|
|
%define VENDOR %_vendor
|
|
|
|
%endif
|
|
|
|
%endif
|
2010-04-24 17:27:08 +02:00
|
|
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1120
|
|
|
|
%define cups_lib_dir %{_prefix}/lib/cups
|
|
|
|
%else
|
|
|
|
%define cups_lib_dir %{_libdir}/cups
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%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.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%package client
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Summary: Samba Client Utilities
|
|
|
|
Group: Productivity/Networking/Samba
|
2011-09-09 15:14:31 +02:00
|
|
|
Provides: samba-gplv3-client = %{version}
|
|
|
|
Provides: smbfs
|
2010-11-12 14:33:55 +01:00
|
|
|
Obsoletes: samba-gplv3-client < %{version}
|
2011-09-08 22:00:21 +02:00
|
|
|
Provides: samba-client-gplv2 = %{version}
|
2010-12-01 14:43:54 +01:00
|
|
|
Obsoletes: samba-client-gplv2 < %{version}
|
2009-01-09 02:18:16 +01:00
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: samba-client-64bit
|
|
|
|
%endif
|
2012-02-27 19:58:29 +01:00
|
|
|
%if 0%{?suse_version} > 0
|
2011-09-09 15:14:31 +02:00
|
|
|
PreReq: %{?fillup_prereq}
|
|
|
|
PreReq: %{?insserv_prereq}
|
2012-02-27 19:58:29 +01:00
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
PreReq: /sbin/chkconfig
|
|
|
|
PreReq: /sbin/ldconfig
|
|
|
|
PreReq: coreutils
|
2010-03-19 08:25:40 +01:00
|
|
|
Requires: cifs-utils
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
%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
|
2009-07-14 23:06:34 +02:00
|
|
|
act as a Samba client. The binaries expect the configuration file to
|
2008-05-17 02:11:23 +02:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%package devel
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Summary: Libraries and Header Files to Develop Programs with Samba Support
|
|
|
|
Group: Development/Libraries/C and C++
|
2011-09-08 22:00:21 +02:00
|
|
|
Provides: samba-gplv3-devel = %{version}
|
2010-11-12 14:33:55 +01:00
|
|
|
Obsoletes: samba-gplv3-devel < %{version}
|
2009-01-09 02:18:16 +01:00
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: samba-devel-64bit
|
|
|
|
%endif
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the static libraries and header files needed to
|
|
|
|
develop programs which make use of Samba.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%endif
|
2009-11-23 11:16:32 +01:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1001 || 0%{?suse_version} > 1110
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%package doc
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Summary: Samba Documentation
|
|
|
|
Group: Documentation/Other
|
2011-09-09 15:14:31 +02:00
|
|
|
PreReq: coreutils
|
|
|
|
PreReq: findutils
|
2011-09-08 22:00:21 +02:00
|
|
|
Provides: samba-gplv3-doc = %{version}
|
2010-11-12 14:33:55 +01:00
|
|
|
Obsoletes: samba-gplv3-doc < %{version}
|
2011-09-08 22:00:21 +02:00
|
|
|
Provides: samba-doc-gplv2 = %{version}
|
2010-12-01 14:43:54 +01:00
|
|
|
Obsoletes: samba-doc-gplv2 < %{version}
|
2009-11-23 11:16:32 +01:00
|
|
|
%if 0%{?suse_version} > 1110
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains all the Samba documentation as it is not part of
|
|
|
|
the man pages.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%package krb-printing
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Summary: Wrapper binary for kerberized printing
|
|
|
|
Group: Productivity/Networking/Samba
|
2011-09-09 15:14:31 +02:00
|
|
|
PreReq: coreutils
|
2011-09-08 22:00:21 +02:00
|
|
|
Provides: samba-gplv3-krb-printing = %{version}
|
2010-11-12 14:33:55 +01:00
|
|
|
Obsoletes: samba-gplv3-krb-printing < %{version}
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} > 1000
|
2011-09-09 15:14:31 +02:00
|
|
|
PreReq: /sbin/conf.d/SuSEconfig.permissions
|
|
|
|
PreReq: permissions
|
2008-01-24 13:21:25 +01:00
|
|
|
%endif
|
|
|
|
Requires: samba-client >= %{version}
|
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%description krb-printing
|
|
|
|
A wrapper binary to run smbspool with the original calling UID.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%if %{make_utils}
|
|
|
|
|
|
|
|
%package utils
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
Summary: debug tools
|
|
|
|
Group: Productivity/Networking/Samba
|
2011-09-08 22:00:21 +02:00
|
|
|
Provides: samba-gplv3-utils = %{version}
|
2010-11-12 14:33:55 +01:00
|
|
|
Obsoletes: samba-gplv3-utils < %{version}
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
%description utils
|
|
|
|
Some of the debug-tools for developpers.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%package winbind
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Summary: Winbind Daemon and Tool
|
|
|
|
Group: Productivity/Networking/Samba
|
2011-09-08 22:00:21 +02:00
|
|
|
Provides: samba-gplv3-winbind = %{version}
|
2010-11-12 14:33:55 +01:00
|
|
|
Obsoletes: samba-gplv3-winbind < %{version}
|
2010-06-22 10:18:30 +02:00
|
|
|
Provides: samba-client:/usr/sbin/winbindd
|
2009-01-09 02:18:16 +01:00
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: samba-winbind-64bit
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
Requires: samba-client >= %{version}
|
2008-07-11 23:15:18 +02:00
|
|
|
%if 0%{?suse_version} > 1030
|
2011-09-09 15:14:31 +02:00
|
|
|
Recommends: cron
|
|
|
|
Recommends: logrotate
|
|
|
|
Recommends: samba-krb-printing
|
2008-07-11 23:15:18 +02:00
|
|
|
%endif
|
2012-05-02 16:36:13 +02:00
|
|
|
PreReq: /etc/init.d/nscd
|
2012-02-27 19:58:29 +01:00
|
|
|
%if 0%{?suse_version} > 0
|
2011-09-09 15:14:31 +02:00
|
|
|
PreReq: %{?insserv_prereq}
|
2012-02-27 19:58:29 +01:00
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
PreReq: /sbin/ldconfig
|
|
|
|
PreReq: /usr/sbin/groupadd
|
|
|
|
PreReq: coreutils
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
%description winbind
|
|
|
|
This is the winbind-daemon and the wbinfo-tool.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1031
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%package -n libsmbclient
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2008-03-27 22:36:19 +01:00
|
|
|
%else
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-03-27 22:36:19 +01:00
|
|
|
%package -n libsmbclient0
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2011-09-08 22:00:21 +02:00
|
|
|
Provides: libsmbclient = %{version}
|
2008-03-27 22:36:19 +01:00
|
|
|
Obsoletes: libsmbclient
|
2009-01-12 18:19:50 +01:00
|
|
|
%endif
|
2009-01-09 02:18:16 +01:00
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libsmbclient-64bit
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
Summary: Samba Client Library
|
|
|
|
Group: System/Libraries
|
|
|
|
PreReq: /sbin/ldconfig
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1031
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%description -n libsmbclient
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%else
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%description -n libsmbclient0
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%endif
|
2009-07-14 23:06:34 +02:00
|
|
|
This package includes the libsmbclient library.
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2009-07-14 23:06:34 +02:00
|
|
|
libsmbclient is provided by the libsmbclient0 package.
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2009-07-14 23:06:34 +02:00
|
|
|
This entry is required to allow a samba.spec file providing
|
|
|
|
libsmbclient for SUSE version < 11.0 while versions > 10.0 will have
|
|
|
|
libsmbclient0.
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%package -n libsmbclient-devel
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Summary: Libraries and Header Files to Develop Programs with smbclient Support
|
|
|
|
Group: Development/Libraries/C and C++
|
2011-07-21 22:14:33 +02:00
|
|
|
%if 0%{?suse_version} > 1020
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
%else
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
%endif
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 921
|
2011-09-09 15:14:31 +02:00
|
|
|
Requires: heimdal-devel
|
|
|
|
Requires: libsmbclient = %{version}
|
2008-05-17 02:11:23 +02:00
|
|
|
%else
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1031
|
2011-09-09 15:14:31 +02:00
|
|
|
Requires: krb5-devel
|
|
|
|
Requires: libsmbclient = %{version}
|
2008-03-27 22:36:19 +01:00
|
|
|
%else
|
2011-09-09 15:14:31 +02:00
|
|
|
Requires: krb5-devel
|
|
|
|
Requires: libsmbclient0 = %{version}
|
2008-03-27 22:36:19 +01:00
|
|
|
%endif
|
2008-05-17 02:11:23 +02:00
|
|
|
%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.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-04-24 09:21:53 +02:00
|
|
|
%package -n libnetapi0
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2008-04-24 09:21:53 +02:00
|
|
|
Summary: Samba netapi Library
|
2009-07-14 23:06:34 +02:00
|
|
|
Group: System/Libraries
|
2008-01-24 13:21:25 +01:00
|
|
|
PreReq: /sbin/ldconfig
|
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%description -n libnetapi0
|
|
|
|
This package includes the netapi library.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-04-24 09:21:53 +02:00
|
|
|
%package -n libnetapi-devel
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2008-04-24 09:21:53 +02:00
|
|
|
Summary: Libraries and Header Files to Develop Programs with netapi Support
|
2008-07-11 23:15:18 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-07-21 22:14:33 +02:00
|
|
|
%if 0%{?suse_version} > 1020
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
%else
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
Requires: libnetapi0 = %{version}
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1031
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%package -n libsmbsharemodes
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2008-04-24 09:21:53 +02:00
|
|
|
%else
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-04-24 09:21:53 +02:00
|
|
|
%package -n libsmbsharemodes0
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2009-08-01 11:43:53 +02:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
Summary: Samba smbsharemodes Library
|
|
|
|
Group: System/Libraries
|
|
|
|
PreReq: /sbin/ldconfig
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1031
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%description -n libsmbsharemodes
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%else
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%description -n libsmbsharemodes0
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%endif
|
|
|
|
This package includes the smbsharemodes library.
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%package -n libsmbsharemodes-devel
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-3.0+
|
2009-07-14 23:06:34 +02:00
|
|
|
Summary: Libraries and Header Files to Develop Programs with smbsharemodes Support
|
2008-07-11 23:15:18 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-07-21 22:14:33 +02:00
|
|
|
%if 0%{?suse_version} > 1020
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
%else
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
%endif
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1031
|
2011-03-07 14:06:00 +01:00
|
|
|
Requires: libsmbsharemodes = %{version}
|
2008-04-26 11:40:18 +02:00
|
|
|
%else
|
2011-03-07 14:06:00 +01:00
|
|
|
Requires: libsmbsharemodes0 = %{version}
|
2008-04-26 11:40:18 +02:00
|
|
|
%endif
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
%description -n libsmbsharemodes-devel
|
|
|
|
This package contains the static libraries and header files needed to
|
2009-07-14 23:06:34 +02:00
|
|
|
develop programs which make use of the smbsharemodes programming interface.
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%package -n libwbclient0
|
2012-01-26 15:22:21 +01:00
|
|
|
License: LGPL-3.0+
|
2011-03-09 11:53:01 +01:00
|
|
|
Summary: Samba libwbclient Library
|
2009-07-14 23:06:34 +02:00
|
|
|
Group: System/Libraries
|
2008-04-24 09:21:53 +02:00
|
|
|
PreReq: /sbin/ldconfig
|
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%description -n libwbclient0
|
|
|
|
This package includes the wbclient library.
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%package -n libwbclient-devel
|
2012-01-26 15:22:21 +01:00
|
|
|
License: LGPL-3.0+
|
2011-03-09 11:53:01 +01:00
|
|
|
Summary: Libraries and Header Files to Develop Programs with wbclient Support
|
2008-07-11 23:15:18 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-07-21 22:14:33 +02:00
|
|
|
%if 0%{?suse_version} > 1020
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
%else
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
Requires: libwbclient0 = %{version}
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%description -n libwbclient-devel
|
2008-05-17 02:11:23 +02:00
|
|
|
This package contains the static libraries and header files needed to
|
2011-03-09 11:53:01 +01:00
|
|
|
develop programs which make use of the wbclient programming interface.
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
|
|
|
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1211
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%package -n libtalloc2
|
2011-09-09 15:14:31 +02:00
|
|
|
Version: %{libtalloc_ver}
|
2012-04-11 16:01:03 +02:00
|
|
|
Release: 5
|
2012-01-26 15:22:21 +01:00
|
|
|
License: LGPL-3.0+
|
2011-03-09 11:53:01 +01:00
|
|
|
Summary: Samba talloc Library
|
2009-07-14 23:06:34 +02:00
|
|
|
Group: System/Libraries
|
2008-04-24 09:21:53 +02:00
|
|
|
PreReq: /sbin/ldconfig
|
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%description -n libtalloc2
|
|
|
|
This package includes the talloc library.
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%package -n libtalloc-devel
|
2011-09-09 15:14:31 +02:00
|
|
|
Version: %{libtalloc_ver}
|
2012-04-11 16:01:03 +02:00
|
|
|
Release: 5
|
2012-01-26 15:22:21 +01:00
|
|
|
License: LGPL-3.0+
|
2011-03-09 11:53:01 +01:00
|
|
|
Summary: Libraries and Header Files to Develop Programs with talloc Support
|
2008-07-11 23:15:18 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-07-21 22:14:33 +02:00
|
|
|
%if 0%{?suse_version} > 1020
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
%else
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
Requires: libtalloc2 = %{libtalloc_ver}
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%description -n libtalloc-devel
|
2008-05-17 02:11:23 +02:00
|
|
|
This package contains the static libraries and header files needed to
|
2011-03-09 11:53:01 +01:00
|
|
|
develop programs which make use of the talloc programming interface.
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%package -n libtdb1
|
2011-09-09 15:14:31 +02:00
|
|
|
Version: %{libtdb_ver}
|
2012-04-11 16:01:03 +02:00
|
|
|
Release: 5
|
2012-01-26 15:22:21 +01:00
|
|
|
License: LGPL-3.0+
|
2011-03-09 11:53:01 +01:00
|
|
|
Summary: Samba tdb Library
|
2009-07-14 23:06:34 +02:00
|
|
|
Group: System/Libraries
|
2008-04-24 09:21:53 +02:00
|
|
|
PreReq: /sbin/ldconfig
|
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%description -n libtdb1
|
|
|
|
This package includes the tdb library.
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%package -n libtdb-devel
|
2011-09-09 15:14:31 +02:00
|
|
|
Version: %{libtdb_ver}
|
2012-04-11 16:01:03 +02:00
|
|
|
Release: 5
|
2012-01-26 15:22:21 +01:00
|
|
|
License: LGPL-3.0+
|
2011-03-09 11:53:01 +01:00
|
|
|
Summary: Libraries and Header Files to Develop Programs with tdb Support
|
2008-07-11 23:15:18 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-07-21 22:14:33 +02:00
|
|
|
#BuildRequires: pkg-config
|
2011-09-09 15:14:31 +02:00
|
|
|
Requires: libtdb1 = %{libtdb_ver}
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2011-03-09 11:53:01 +01:00
|
|
|
%description -n libtdb-devel
|
2008-05-17 02:11:23 +02:00
|
|
|
This package contains the static libraries and header files needed to
|
2011-03-09 11:53:01 +01:00
|
|
|
develop programs which make use of the tdb programming interface.
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2010-02-18 16:51:01 +01:00
|
|
|
%package -n libtevent0
|
2011-09-09 15:14:31 +02:00
|
|
|
Version: %{libtevent_ver}
|
2012-04-11 16:01:03 +02:00
|
|
|
Release: 5
|
2012-01-26 15:22:21 +01:00
|
|
|
License: LGPL-3.0+
|
2010-02-18 16:51:01 +01:00
|
|
|
Summary: Samba tevent Library
|
|
|
|
Group: System/Libraries
|
|
|
|
PreReq: /sbin/ldconfig
|
|
|
|
|
|
|
|
%description -n libtevent0
|
|
|
|
This package includes the tevent library.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2010-02-18 16:51:01 +01:00
|
|
|
%package -n libtevent-devel
|
2011-09-09 15:14:31 +02:00
|
|
|
Version: %{libtevent_ver}
|
2012-04-11 16:01:03 +02:00
|
|
|
Release: 5
|
2012-01-26 15:22:21 +01:00
|
|
|
License: LGPL-3.0+
|
2010-02-18 16:51:01 +01:00
|
|
|
Summary: Libraries and Header Files to Develop Programs with tevent Support
|
|
|
|
Group: Development/Libraries/C and C++
|
2011-07-21 22:14:33 +02:00
|
|
|
%if 0%{?suse_version} > 1020
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
%else
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
Requires: libtalloc-devel
|
|
|
|
Requires: libtevent0 = %{libtevent_ver}
|
2010-02-18 16:51:01 +01:00
|
|
|
|
|
|
|
%description -n libtevent-devel
|
|
|
|
This package contains the static libraries and header files needed to
|
|
|
|
develop programs which make use of the tevent programming interface.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2011-07-21 22:14:33 +02:00
|
|
|
%package -n libldb1
|
2011-09-09 15:14:31 +02:00
|
|
|
Version: %{libldb_ver}
|
2012-04-11 16:01:03 +02:00
|
|
|
Release: 5
|
2012-01-26 15:22:21 +01:00
|
|
|
License: LGPL-3.0+
|
2010-02-18 16:51:01 +01:00
|
|
|
Summary: Samba ldb Library
|
|
|
|
Group: System/Libraries
|
2011-07-21 22:14:33 +02:00
|
|
|
BuildRequires: popt-devel
|
2011-09-09 15:14:31 +02:00
|
|
|
PreReq: /sbin/ldconfig
|
2010-02-18 16:51:01 +01:00
|
|
|
|
2011-07-21 22:14:33 +02:00
|
|
|
%description -n libldb1
|
2010-02-18 16:51:01 +01:00
|
|
|
This package includes the ldb library.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2010-02-18 16:51:01 +01:00
|
|
|
%package -n libldb-devel
|
2011-09-09 15:14:31 +02:00
|
|
|
Version: %{libldb_ver}
|
2012-04-11 16:01:03 +02:00
|
|
|
Release: 5
|
2012-01-26 15:22:21 +01:00
|
|
|
License: LGPL-3.0+
|
2010-02-18 16:51:01 +01:00
|
|
|
Summary: Libraries and Header Files to Develop Programs with ldb Support
|
|
|
|
Group: Development/Libraries/C and C++
|
2011-07-21 22:14:33 +02:00
|
|
|
%if 0%{?suse_version} > 1020
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
%else
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
Requires: libldb1 = %{libldb_ver}
|
|
|
|
Requires: libtalloc-devel
|
2010-02-18 16:51:01 +01:00
|
|
|
|
|
|
|
%description -n libldb-devel
|
|
|
|
This package contains the static libraries and header files needed to
|
|
|
|
develop programs which make use of the tevent programming interface.
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2010-02-18 16:51:01 +01:00
|
|
|
|
2012-05-15 12:58:22 +02:00
|
|
|
%endif
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2010-09-21 23:44:55 +02:00
|
|
|
%if %{make_ldapsmb}
|
2008-05-17 02:11:23 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%package -n ldapsmb
|
2011-09-09 15:14:31 +02:00
|
|
|
Version: 1.34b
|
2012-04-11 16:01:03 +02:00
|
|
|
Release: 307
|
2012-01-26 15:22:21 +01:00
|
|
|
License: GPL-2.0+
|
2008-01-24 13:21:25 +01:00
|
|
|
Summary: Tool to administer Samba's LDAP backend
|
|
|
|
Group: Productivity/Networking/Samba
|
|
|
|
Requires: perl-ldap
|
2008-05-17 02:11:23 +02:00
|
|
|
|
|
|
|
%description -n ldapsmb
|
|
|
|
This tool aims to simplify the administration of a Samba Domain
|
|
|
|
Controller that uses the ldapsam passdb backend.
|
|
|
|
|
|
|
|
|
2012-05-31 16:28:27 +02:00
|
|
|
Source Timestamp: 2806
|
2012-05-15 12:58:22 +02:00
|
|
|
Branch : 3.6.5
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n samba-%{samba_ver_full} -q
|
2011-02-10 17:47:28 +01:00
|
|
|
# check if our library versions from the spec are still current
|
2012-05-15 12:58:22 +02:00
|
|
|
%if 0%{?suse_version} > 1130 && 0%{?suse_version} < 1211
|
2011-07-21 22:14:33 +02:00
|
|
|
grep "^VERSION = '%{libldb_ver}'$" source4/lib/ldb/wscript || \
|
2011-02-10 17:47:28 +01:00
|
|
|
exit 1
|
2011-07-21 22:14:33 +02:00
|
|
|
grep "^VERSION = '%{libtalloc_ver}'$" lib/talloc/wscript || \
|
2011-02-10 17:47:28 +01:00
|
|
|
exit 1
|
2011-07-21 22:14:33 +02:00
|
|
|
grep "^VERSION = '%{libtdb_ver}'$" lib/tdb/wscript || \
|
2011-02-10 17:47:28 +01:00
|
|
|
exit 1
|
2011-07-21 22:14:33 +02:00
|
|
|
grep "^VERSION = '%{libtevent_ver}'$" lib/tevent/wscript || \
|
2011-02-10 17:47:28 +01:00
|
|
|
exit 1
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
# ldapsmb
|
|
|
|
%if %{make_ldapsmb}
|
|
|
|
%setup -T -D -a 11 -n samba-%{samba_ver_full} -q
|
|
|
|
%endif
|
|
|
|
# patches
|
|
|
|
%setup -T -D -a 2 -n samba-%{samba_ver_full} -q
|
2009-07-14 23:06:34 +02:00
|
|
|
for patch in $( patches/tools/guards %{guards_symbols} <patches/series); do
|
2008-01-24 13:21:25 +01:00
|
|
|
if ! patch -s -E -p0 --no-backup-if-mismatch -i patches/$patch; then
|
|
|
|
echo "*** Patch $patch failed ***"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
# vendor-files (config, scripts, tools)
|
|
|
|
%setup -T -D -a 1 -n samba-%{samba_ver_full} -q
|
|
|
|
for file in docs/htmldocs/index.html vendor-files/docu/README.vendor; do
|
|
|
|
sed -e "s/VENDOR/%{VENDOR}/g" "${file}" >"${file}.new" && \
|
|
|
|
mv "${file}.new" "${file}"
|
|
|
|
done
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 vendor-files/tools/get_printing_ticket.c source3/client/get_printing_ticket.c
|
|
|
|
install -m 0644 -p vendor-files/docu/rfc3454.txt source4/heimdal/lib/wind/
|
2008-01-24 13:21:25 +01:00
|
|
|
# Create and add vendor suffix
|
|
|
|
test -f vendor-files/tools/package-data && \
|
|
|
|
. vendor-files/tools/package-data
|
2009-07-14 23:06:34 +02:00
|
|
|
pushd source3
|
2010-05-25 12:57:29 +02:00
|
|
|
if test "%{_project}" != "openSUSE:Factory"; then
|
|
|
|
vendor_tag_release=$( grep -m 1 ^Release: ${RPM_SOURCE_DIR}/samba.spec | \
|
|
|
|
while read tag release; do \
|
|
|
|
echo -n "${release:+${release}-}"; \
|
|
|
|
done)
|
|
|
|
else
|
|
|
|
vendor_tag_release=""
|
|
|
|
fi
|
|
|
|
vendor_tag=$( echo -n "${vendor_tag_release}"; \
|
2008-01-24 13:21:25 +01:00
|
|
|
echo -n "${SAMBA_PACKAGE_SVN_VERSION:+${SAMBA_PACKAGE_SVN_VERSION}-}"; \
|
|
|
|
test %{make_devel} -eq 1 && echo -n "devel-" || :)
|
|
|
|
# Create product suffix
|
2008-05-17 02:11:23 +02:00
|
|
|
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))
|
2008-01-24 13:21:25 +01:00
|
|
|
minor_version="${minor_version#$major_version}"
|
|
|
|
product_version="${major_version}.${minor_version}"
|
|
|
|
product_suffix=""
|
|
|
|
if test "%{VENDOR}" != "UL"; then
|
2008-05-17 02:11:23 +02:00
|
|
|
if test 0%{?sles_version} -gt 0; then
|
2008-01-24 13:21:25 +01:00
|
|
|
product_suffix="-SLES%{sles_version}"
|
2008-05-17 02:11:23 +02:00
|
|
|
elif test 0%{?suse_version} -gt 0; then
|
2008-01-24 13:21:25 +01:00
|
|
|
product_suffix="-SL${product_version}"
|
2008-05-17 02:11:23 +02:00
|
|
|
else
|
|
|
|
product_suffix="-OBS"
|
2008-01-24 13:21:25 +01:00
|
|
|
fi
|
2008-10-27 17:14:41 +01:00
|
|
|
case "%{?suse_version}" in
|
|
|
|
1010|1110) product_suffix="-CODE${major_version}" ;;
|
2008-01-24 13:21:25 +01:00
|
|
|
esac
|
|
|
|
fi
|
2010-11-12 14:33:55 +01:00
|
|
|
# Add the build architecture
|
|
|
|
test "%{_build_arch}" != "" && \
|
|
|
|
product_suffix="${product_suffix}-%{_build_arch}"
|
2008-01-24 13:21:25 +01:00
|
|
|
# Set SAMBA_VERSION_VENDOR_SUFFIX in the VERSION file
|
|
|
|
mv VERSION VERSION.orig
|
|
|
|
sed -e s/^SAMBA_VERSION_VENDOR_SUFFIX=$/SAMBA_VERSION_VENDOR_SUFFIX=\"${vendor_tag}%{VENDOR}${product_suffix}\"/ VERSION.orig >VERSION
|
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%build
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 911
|
2008-01-24 13:21:25 +01:00
|
|
|
OPTIMIZATION="-O"
|
|
|
|
%else
|
|
|
|
# use the default optimization
|
|
|
|
unset OPTIMIZATION
|
|
|
|
%endif
|
2009-08-22 03:36:34 +02:00
|
|
|
%if 0%{?suse_version} > 1110
|
2009-08-01 11:43:53 +02:00
|
|
|
export SUSE_ASNEEDED=0
|
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
export CFLAGS="%{optflags} -D_GNU_SOURCE ${OPTIMIZATION} -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS"
|
2008-01-24 13:21:25 +01:00
|
|
|
%if %{use_ccache}
|
|
|
|
export CC="ccache gcc"
|
|
|
|
%endif
|
2009-07-14 23:06:34 +02:00
|
|
|
pushd source3
|
2012-01-02 14:45:41 +01:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1141
|
2008-01-24 13:21:25 +01:00
|
|
|
%{?suse_update_config:%{suse_update_config -f}}
|
2012-01-02 14:45:41 +01:00
|
|
|
%endif
|
2009-07-14 23:06:34 +02:00
|
|
|
#ln -s m4/aclocal.m4 aclocal.m4
|
|
|
|
#autoreconf --force --install -I. -Im4 -I../lib/replace
|
2012-02-28 00:22:41 +01:00
|
|
|
%if 0%{?centos_version} > 599 || 0%{?fedora_version} > 11 || 0%{?mandriva_version} > 2009 || 0%{?rhel_version} > 599 || 0%{?suse_version} > 0
|
2012-04-22 01:32:25 +02:00
|
|
|
# Ensure all idl is recompiled, in case we are carrying pidl changes locally.
|
|
|
|
rm -f librpc/gen_ndr/*.[cho] ../librpc/gen_ndr/*.[cho]
|
2009-07-14 23:06:34 +02:00
|
|
|
./autogen.sh
|
2012-02-27 19:58:29 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
CONFIGURE_OPTIONS="\
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--localstatedir=%{LOCKDIR} \
|
|
|
|
--sysconfdir=%{CONFIGDIR} \
|
|
|
|
--with-configdir=%{CONFIGDIR} \
|
2009-05-06 18:53:12 +02:00
|
|
|
--libdir=%{_libdir} \
|
2008-01-24 13:21:25 +01:00
|
|
|
--with-lockdir=%{LOCKDIR} \
|
|
|
|
--with-logfilebase=%{LOGDIR} \
|
|
|
|
--with-mandir=%{_mandir} \
|
2009-05-06 18:53:12 +02:00
|
|
|
--with-modulesdir=%{_libdir}/samba \
|
2008-01-24 13:21:25 +01:00
|
|
|
--with-rootsbindir=/sbin \
|
2011-07-21 22:14:33 +02:00
|
|
|
--with-nmbdsocketdir=%{LOCKDIR} \
|
2008-01-24 13:21:25 +01:00
|
|
|
--enable-cups \
|
2008-08-02 05:35:22 +02:00
|
|
|
--enable-debug \
|
2009-08-01 11:43:53 +02:00
|
|
|
%if %{link_static_libs}
|
2008-09-05 20:40:17 +02:00
|
|
|
--enable-static \
|
2009-08-01 11:43:53 +02:00
|
|
|
%else
|
|
|
|
--disable-static \
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
--with-acl-support \
|
|
|
|
--with-automount \
|
|
|
|
--with-dnsupdate \
|
|
|
|
--with-pam \
|
|
|
|
--with-pammodulesdir=%{_lib}/security \
|
|
|
|
--with-pam_smbpass \
|
|
|
|
--with-piddir=%{PIDDIR} \
|
|
|
|
--with-privatedir=%{CONFIGDIR} \
|
|
|
|
%if %{make_devel}
|
|
|
|
--with-profiling-data \
|
|
|
|
%endif
|
|
|
|
--with-quotas \
|
|
|
|
--with-swatdir=%{SWATDIR} \
|
|
|
|
--with-syslog \
|
|
|
|
--with-utmp \
|
|
|
|
--with-winbind \
|
2008-04-24 09:21:53 +02:00
|
|
|
--with-shared-modules=%{vfs_modules},%{idmap_modules} \
|
2008-01-24 13:21:25 +01:00
|
|
|
%if %{make_devel}
|
|
|
|
--enable-developer \
|
|
|
|
--enable-krb5developer \
|
|
|
|
%endif
|
|
|
|
"
|
|
|
|
# make sure we have a chance to find krb5-config
|
|
|
|
for dir in /usr/lib/mit/bin /usr/lib/heimdal; do
|
|
|
|
test -d "${dir}" && export PATH="${PATH}:${dir}"
|
|
|
|
done
|
|
|
|
unset CONFIGURE_OPTIONS_DEVEL
|
|
|
|
%if %{make_devel}
|
|
|
|
CONFIGURE_OPTIONS_DEVEL="--enable-debug --enable-developer"
|
|
|
|
%endif
|
|
|
|
./configure ${CONFIGURE_OPTIONS} ${CONFIGURE_OPTIONS_DEVEL}
|
|
|
|
./script/mkversion.sh
|
2012-04-22 01:32:25 +02:00
|
|
|
make samba3-idl
|
2011-09-09 15:14:31 +02:00
|
|
|
make %{build_make_smp_mflags} \
|
2011-07-21 22:14:33 +02:00
|
|
|
all bin/smbfilter
|
2008-01-24 13:21:25 +01:00
|
|
|
%if %{make_ldapsmb}
|
|
|
|
pushd ../ldapsmb-%{ldapsmb_ver}
|
|
|
|
./autogen.sh
|
|
|
|
rm ldapsmb
|
2011-09-09 15:14:31 +02:00
|
|
|
make %{build_make_smp_mflags} all doc
|
2008-01-24 13:21:25 +01:00
|
|
|
popd
|
|
|
|
%endif
|
2010-02-18 16:51:01 +01:00
|
|
|
popd
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2012-05-15 12:58:22 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1211
|
|
|
|
|
2011-07-21 22:14:33 +02:00
|
|
|
for lib_dir in tdb talloc; do
|
|
|
|
pushd lib/${lib_dir}
|
|
|
|
./configure \
|
|
|
|
--disable-symbol-versions \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--libdir=%{_libdir}
|
2011-09-09 15:14:31 +02:00
|
|
|
make
|
2011-07-21 22:14:33 +02:00
|
|
|
popd
|
|
|
|
done
|
|
|
|
|
2010-02-18 16:51:01 +01:00
|
|
|
pushd lib/tevent
|
2010-03-05 02:13:04 +01:00
|
|
|
TALLOC_LIBS=../../source3/bin/libtalloc.so.2 TALLOC_CFLAGS=-I../talloc/ ./configure \
|
2011-07-21 22:14:33 +02:00
|
|
|
--disable-symbol-versions \
|
|
|
|
--bundled-libraries=!talloc,ALL \
|
2010-02-18 16:51:01 +01:00
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--localstatedir=%{LOCKDIR} \
|
|
|
|
--sysconfdir=%{CONFIGDIR} \
|
|
|
|
--libdir=%{_libdir} \
|
2011-07-21 22:14:33 +02:00
|
|
|
--mandir=%{_mandir}
|
2011-09-09 15:14:31 +02:00
|
|
|
make
|
2010-02-18 16:51:01 +01:00
|
|
|
popd
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2010-02-18 16:51:01 +01:00
|
|
|
pushd source4/lib/ldb
|
2010-03-05 02:13:04 +01:00
|
|
|
TALLOC_LIBS=../../../source3/bin/libtalloc.so.2 TALLOC_CFLAGS=-I../../../lib/talloc/ \
|
2011-07-21 22:14:33 +02:00
|
|
|
TEVENT_LIBS=../../../lib/tevent/bin/default/lib/tevent/libtevent.so TEVENT_CFLAGS=-I../../../lib/tevent/ \
|
2010-02-18 16:51:01 +01:00
|
|
|
TDB_LIBS=../../../source3/bin/libtdb.so.1 TDB_CFLAGS=-I../../../lib/tdb/include \
|
2011-07-21 22:14:33 +02:00
|
|
|
./configure \
|
|
|
|
--disable-symbol-versions \
|
|
|
|
--bundled-libraries=!popt \
|
|
|
|
--prefix=%{_prefix} \
|
2010-02-18 16:51:01 +01:00
|
|
|
--localstatedir=%{LOCKDIR} \
|
|
|
|
--sysconfdir=%{CONFIGDIR} \
|
|
|
|
--libdir=%{_libdir} \
|
2011-07-21 22:14:33 +02:00
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--with-modulesdir=%{_libdir}
|
2011-09-09 15:14:31 +02:00
|
|
|
make
|
2010-02-18 16:51:01 +01:00
|
|
|
popd
|
2008-07-11 23:15:18 +02:00
|
|
|
|
2012-05-15 12:58:22 +02:00
|
|
|
%endif
|
|
|
|
|
2008-07-11 23:15:18 +02:00
|
|
|
%check
|
2012-05-15 12:58:22 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1211
|
2011-07-21 22:14:33 +02:00
|
|
|
for lib_dir in tdb talloc tevent; do
|
|
|
|
pushd lib/${lib_dir}
|
2011-09-09 15:14:31 +02:00
|
|
|
make test
|
2011-07-21 22:14:33 +02:00
|
|
|
popd
|
|
|
|
done
|
2012-05-15 12:58:22 +02:00
|
|
|
%endif
|
2009-07-14 23:06:34 +02:00
|
|
|
pushd source3
|
2008-07-11 23:15:18 +02:00
|
|
|
make test_shlibs
|
|
|
|
make test_nss_modules
|
2008-01-24 13:21:25 +01:00
|
|
|
make test_pam_modules
|
2008-07-11 23:15:18 +02:00
|
|
|
popd
|
|
|
|
pushd testsuite/libsmbclient/src
|
2008-01-24 13:21:25 +01:00
|
|
|
make
|
2008-07-11 23:15:18 +02:00
|
|
|
popd
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%if %{make_devel}
|
|
|
|
export NO_BRP_STRIP_DEBUG="true"
|
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
install -d -m 0755 -p \
|
|
|
|
%{buildroot}/%{_sysconfdir}/{pam.d,xinetd.d,logrotate.d} \
|
|
|
|
%{buildroot}/%{_sysconfdir}/openldap/schema \
|
|
|
|
%{buildroot}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/{if-{down,up}.d,scripts} \
|
2008-11-18 13:37:00 +01:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} > 1020
|
2011-09-09 15:14:31 +02:00
|
|
|
%{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services \
|
|
|
|
%endif
|
|
|
|
%{buildroot}/%{_sysconfdir}/permissions.d \
|
|
|
|
%{buildroot}/%{_sysconfdir}/security \
|
|
|
|
%{buildroot}/%{_sysconfdir}/slp.reg.d \
|
|
|
|
%{buildroot}/%{CONFIGDIR} \
|
|
|
|
%{buildroot}/%{INITDIR} \
|
|
|
|
%{buildroot}/%{_lib}/security \
|
|
|
|
%{buildroot}/sbin \
|
|
|
|
%{buildroot}/%{_includedir} \
|
|
|
|
%{buildroot}/%{_libdir}/pkgconfig \
|
|
|
|
%{buildroot}/%{_libdir}/python/lib-dynload \
|
|
|
|
%{buildroot}/%{_libdir}/samba/{config,vfs,rpc,auth,charset,idmap} \
|
|
|
|
%{buildroot}/%{_datadir}/omc/svcinfo.d \
|
|
|
|
%{buildroot}/%{_datadir}/samba/{LDAP,templates} \
|
|
|
|
%{buildroot}/%{_localstatedir}/adm \
|
|
|
|
%{buildroot}/%{LOCKDIR}/{netlogon,drivers/{WIN40,W32X86,W32MIPS,W32ALPHA,W32PPC,IA64,x64},printing,profiles,winbindd_privileged} \
|
|
|
|
%{buildroot}/%{LOGDIR} \
|
|
|
|
%{buildroot}/%{PIDDIR} \
|
|
|
|
%{buildroot}/%{_var}/adm/fillup-templates \
|
|
|
|
%{buildroot}/%{_var}/run \
|
|
|
|
%{buildroot}/%{DOCDIR} \
|
|
|
|
%{buildroot}/%{DOCBOOKDIR} \
|
|
|
|
%{buildroot}/%{SWATDIR}/help \
|
|
|
|
%{buildroot}/%{_datadir}/susehelp/meta/Administration/System
|
2012-05-15 12:58:22 +02:00
|
|
|
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1211
|
|
|
|
|
2011-07-21 22:14:33 +02:00
|
|
|
for lib_dir in tdb talloc tevent; do
|
|
|
|
pushd lib/${lib_dir}
|
2011-09-09 15:14:31 +02:00
|
|
|
make install \
|
|
|
|
DESTDIR=%{buildroot}
|
2011-07-21 22:14:33 +02:00
|
|
|
popd
|
|
|
|
done
|
2010-02-18 16:51:01 +01:00
|
|
|
# libldb
|
2011-09-09 15:14:31 +02:00
|
|
|
make -C source4/lib/ldb/ install \
|
|
|
|
DESTDIR=%{buildroot} \
|
2010-02-18 16:51:01 +01:00
|
|
|
CONFIGDIR=%{CONFIGDIR}
|
2011-07-21 22:14:33 +02:00
|
|
|
# we prefer the s3 binaries of the tdbtools
|
2011-09-09 15:14:31 +02:00
|
|
|
rm %{buildroot}/%{_bindir}/tdb{backup,dump,restore,tool}
|
2012-05-15 12:58:22 +02:00
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
make -C source3/ install \
|
|
|
|
DESTDIR=%{buildroot} \
|
2011-07-21 22:14:33 +02:00
|
|
|
CONFIGDIR=%{CONFIGDIR}
|
2012-05-15 12:58:22 +02:00
|
|
|
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1211
|
|
|
|
|
2011-07-21 22:14:33 +02:00
|
|
|
# libtalloc
|
2011-09-09 15:14:31 +02:00
|
|
|
#rm %{buildroot}/%{_libdir}/*talloc*
|
|
|
|
make -C lib/talloc/ install \
|
|
|
|
DESTDIR=%{buildroot} \
|
2011-07-21 22:14:33 +02:00
|
|
|
CONFIGDIR=%{CONFIGDIR}
|
|
|
|
# libtevent
|
2011-09-09 15:14:31 +02:00
|
|
|
make -C lib/talloc/ install \
|
|
|
|
DESTDIR=%{buildroot} \
|
2011-07-21 22:14:33 +02:00
|
|
|
CONFIGDIR=%{CONFIGDIR}
|
2011-09-09 15:14:31 +02:00
|
|
|
rm -r %{buildroot}/%{python_sitearch} \
|
|
|
|
%{buildroot}/%{_libdir}/ldb/lib{t*,p*} \
|
|
|
|
%{buildroot}/%{_libdir}/tevent
|
2012-05-15 12:58:22 +02:00
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2011-07-21 22:14:33 +02:00
|
|
|
for file in source3/pkgconfig/*.pc; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 "${file}" %{buildroot}/%{_libdir}/pkgconfig
|
2011-07-21 22:14:33 +02:00
|
|
|
done
|
2010-04-24 17:27:08 +02:00
|
|
|
# utility scripts
|
|
|
|
scripts="creategroup mksmbpasswd.sh"
|
2011-09-09 15:14:31 +02:00
|
|
|
install -d -m 0755 examples/scripts
|
2010-04-24 17:27:08 +02:00
|
|
|
for i in $scripts; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0755 "source3/script/${i}" examples/scripts/${i}
|
2010-04-24 17:27:08 +02:00
|
|
|
done
|
2008-01-24 13:21:25 +01:00
|
|
|
# configuration files
|
|
|
|
pushd vendor-files
|
|
|
|
echo "# smb.conf is the main Samba configuration file. You find a full commented" >config/smb.conf
|
|
|
|
echo "# version at %{DOCDIR}/examples/smb.conf.%{VENDOR} if the" >>config/smb.conf
|
|
|
|
echo "# samba-doc package is installed." >>config/smb.conf
|
|
|
|
echo "# Date: $( date -I)" >>config/smb.conf
|
|
|
|
grep -v "\(^#\|^;\|^$\)" config/smb.conf.vendor >>config/smb.conf
|
2011-09-09 15:14:31 +02:00
|
|
|
install -p -m 0644 config/smb.conf.vendor ../examples/smb.conf.%{VENDOR}
|
2010-01-08 17:32:57 +01:00
|
|
|
for file in smb.conf lmhosts smbusers smbpasswd cifstab smbusers; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 "config/${file}" %{buildroot}/%{CONFIGDIR}/${file}
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2012-02-27 19:58:29 +01:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1121
|
2011-09-09 15:14:31 +02:00
|
|
|
mv %{buildroot}/%{CONFIGDIR}/cifstab %{buildroot}/%{CONFIGDIR}/smbfstab
|
2010-01-08 17:32:57 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
section_names=$( sed -ne 's/^\[\(.*\)\]$/\1/p' config/smb.conf)
|
|
|
|
for section in $section_names; do
|
2011-09-09 15:14:31 +02:00
|
|
|
../source3/bin/testparm -s --section-name "${section}" config/smb.conf >"%{buildroot}/%{_datadir}/samba/templates/default-${section}" || :
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
|
|
|
for file in config/templates/*; do
|
2011-09-09 15:14:31 +02:00
|
|
|
cp -a "${file}" "%{buildroot}/%{_datadir}/samba/templates/"
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
|
|
|
# start scripts
|
|
|
|
scriptSuffix=""
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
if test 0%{?suse_version} -lt 901; then
|
2008-01-24 13:21:25 +01:00
|
|
|
scriptSuffix="-900"
|
2008-05-17 02:11:23 +02:00
|
|
|
elif test 0%{?suse_version} -lt 1011; then
|
2008-01-24 13:21:25 +01:00
|
|
|
scriptSuffix="-1010"
|
2011-07-21 22:14:33 +02:00
|
|
|
elif test 0%{?suse_version} -lt 1111; then
|
|
|
|
scriptSuffix="-1110"
|
2011-01-14 19:26:07 +01:00
|
|
|
elif test 0%{?suse_version} -lt 1131; then
|
|
|
|
scriptSuffix="-1130"
|
2008-01-24 13:21:25 +01:00
|
|
|
fi
|
2008-05-17 02:11:23 +02:00
|
|
|
%endif
|
2010-01-08 17:32:57 +01:00
|
|
|
startScripts="smb nmb winbind %{cifs_init_script}"
|
2008-01-24 13:21:25 +01:00
|
|
|
for script in ${startScripts}; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0755 "init/${script}${scriptSuffix}" \
|
|
|
|
"%{buildroot}/%{INITDIR}/${script}"
|
|
|
|
ln -s "%{INITDIR}/${script}" "%{buildroot}/%{_sbindir}/rc${script}"
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
|
|
|
for script in ${startScripts}; do
|
|
|
|
SERVICE_NAME=$( echo "${script}" | tr [:lower:] [:upper:])
|
|
|
|
sed \
|
|
|
|
-e "s#__SERVICE_NAME#${SERVICE_NAME}#g" \
|
|
|
|
-e "s#__SERVICE_SCRIPT_NAME#${script}#g" \
|
|
|
|
init/template.xml \
|
2011-09-09 15:14:31 +02:00
|
|
|
>"%{buildroot}/%{_datadir}/omc/svcinfo.d/${script}.xml"
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0755 tools/nmbstatus %{buildroot}/%{_bindir}/nmbstatus
|
|
|
|
pod2man tools/nmbstatus >%{buildroot}/%{_mandir}/man1/nmbstatus.1
|
2011-10-18 23:41:59 +02:00
|
|
|
install -m 0755 tools/update-apparmor-samba-profile \
|
|
|
|
%{buildroot}/%{_datadir}/samba/
|
2008-01-24 13:21:25 +01:00
|
|
|
# PDF generator
|
2011-09-09 15:14:31 +02:00
|
|
|
install -p -m 0755 tools/smbprngenpdf %{buildroot}/%{_bindir}/smbprngenpdf
|
|
|
|
touch %{buildroot}/var/run/%{cifs_init_script}
|
|
|
|
install -m 0644 config/swat.xinetd %{buildroot}/%{_sysconfdir}/xinetd.d/swat
|
|
|
|
install -m 0644 config/samba.reg %{buildroot}/%{_sysconfdir}/slp.reg.d/samba.reg
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 921
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 config/samba.pamd %{buildroot}/%{_sysconfdir}/pam.d/samba
|
2008-01-24 13:21:25 +01:00
|
|
|
%else
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 config/samba.pamd-common %{buildroot}/%{_sysconfdir}/pam.d/samba
|
2008-01-24 13:21:25 +01:00
|
|
|
%endif
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 config/dhcp.conf %{buildroot}/%{_var}/adm/fillup-templates/samba-client-dhcp.conf
|
|
|
|
install -m 0644 config/sysconfig.dhcp-samba-client %{buildroot}/%{_var}/adm/fillup-templates/sysconfig.dhcp-samba-client
|
2010-01-08 17:32:57 +01:00
|
|
|
for script in dhcpcd-hook-samba dhcpcd-hook-samba-functions samba-winbindd %{cifs_init_script}; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0755 "tools/${script}" "%{buildroot}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/${script}"
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
|
|
|
# Create ghosts for the symlinks
|
2010-01-08 17:32:57 +01:00
|
|
|
for script in 21-dhcpcd-hook-samba 21-%{cifs_init_script} 55-samba-winbindd; do
|
2011-09-09 15:14:31 +02:00
|
|
|
touch %{buildroot}/%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-{down,up}.d/${script}
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2008-11-18 13:37:00 +01:00
|
|
|
# Install SuSEfirewall2 config files
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} > 1020
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 config/sysconfig.firewall.netbios-server \
|
2009-05-06 18:53:12 +02:00
|
|
|
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/netbios-server
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 config/sysconfig.firewall.samba-server \
|
2009-05-06 18:53:12 +02:00
|
|
|
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-server
|
2008-11-18 13:37:00 +01:00
|
|
|
%endif
|
2009-01-23 23:34:47 +01:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} > 1100
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 config/sysconfig.firewall.samba-client \
|
2009-05-06 18:53:12 +02:00
|
|
|
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-client
|
2009-01-23 23:34:47 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
# Add logrotate settings for nmbd and smbd only on systems newer than 8.1.
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 811
|
2008-01-24 13:21:25 +01:00
|
|
|
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"
|
|
|
|
%else
|
|
|
|
LOGROTATE_FILES="samba samba-winbind"
|
|
|
|
%endif
|
|
|
|
for file in ${LOGROTATE_FILES}; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 logrotate/${file} %{buildroot}/%{_sysconfdir}/logrotate.d/${file}
|
2008-01-24 13:21:25 +01:00
|
|
|
rm -f "${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-${file}"
|
|
|
|
touch "${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-${file}"
|
|
|
|
echo "%config(noreplace) %{_sysconfdir}/logrotate.d/${file}" >>${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-${file}
|
|
|
|
done
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 docu/README.vendor %{buildroot}/%{DOCDIR}/README.%{VENDOR}
|
2008-01-24 13:21:25 +01:00
|
|
|
# SuSEhelp files
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 docu/Samba.desktop %{buildroot}/%{_datadir}/susehelp/meta/Administration/System/Samba.desktop
|
|
|
|
install -m 0644 docu/manpages.html ../docs/htmldocs/manpages.html
|
2008-01-24 13:21:25 +01:00
|
|
|
popd
|
|
|
|
# libnss_wins.so
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0755 nsswitch/libnss_wins.so %{buildroot}/%{_lib}/libnss_wins.so.2
|
2008-01-24 13:21:25 +01:00
|
|
|
# winbind stuff
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 examples/pam_winbind/pam_winbind.conf %{buildroot}/%{_sysconfdir}/security/pam_winbind.conf
|
|
|
|
install -m 0755 nsswitch/libnss_winbind.so %{buildroot}/%{_lib}/libnss_winbind.so.2
|
2008-01-24 13:21:25 +01:00
|
|
|
# smbfilter
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0755 source3/bin/smbfilter %{buildroot}/%{_bindir}/smbfilter
|
2008-01-24 13:21:25 +01:00
|
|
|
# smbget
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0755 source3/bin/smbget %{buildroot}/%{_bindir}/smbget
|
2008-01-24 13:21:25 +01:00
|
|
|
# install nsswitch-headers (for squid, etc. #FIXME)
|
2011-09-09 15:14:31 +02:00
|
|
|
install -d -m 0755 \
|
|
|
|
%{buildroot}/%{_includedir}/samba/nsswitch \
|
|
|
|
%{buildroot}/%{_includedir}/samba/winbindd
|
2008-04-24 09:21:53 +02:00
|
|
|
for file in winbind_client.h winbind_nss_config.h winbind_nss_linux.h; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 "nsswitch/${file}" %{buildroot}/%{_includedir}/samba/nsswitch/${file}
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2008-04-24 09:21:53 +02:00
|
|
|
for file in winbindd.h winbindd_proto.h; do
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 "source3/winbindd/${file}" %{buildroot}/%{_includedir}/samba/winbindd/${file}
|
2008-04-24 09:21:53 +02:00
|
|
|
done
|
2008-01-24 13:21:25 +01:00
|
|
|
# install smbtorture and other test-programs
|
|
|
|
%if %{make_utils}
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0755 source3/bin/debug2html %{buildroot}/%{_bindir}/debug2html
|
|
|
|
install -m 0755 source3/bin/log2pcap %{buildroot}/%{_bindir}/log2pcap
|
|
|
|
install -m 0755 source3/bin/smbtorture %{buildroot}/%{_bindir}/smbtorture
|
|
|
|
install -m 0755 source3/bin/talloctort %{buildroot}/%{_bindir}/talloctort
|
|
|
|
install -m 0755 source3/bin/msgtest %{buildroot}/%{_bindir}/msgtest
|
|
|
|
install -m 0755 source3/bin/maketest %{buildroot}/%{_bindir}/maketest
|
|
|
|
install -m 0755 source3/bin/locktest %{buildroot}/%{_bindir}/locktest
|
|
|
|
install -m 0755 source3/bin/nsstest %{buildroot}/%{_bindir}/nsstest
|
|
|
|
install -m 0755 source3/bin/vfstest %{buildroot}/%{_bindir}/vfstest
|
2008-01-24 13:21:25 +01:00
|
|
|
%endif
|
|
|
|
%if %{make_ldapsmb}
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0700 ldapsmb-%{ldapsmb_ver}/ldapsmb %{buildroot}/%{_sbindir}/
|
|
|
|
cp -a ldapsmb-%{ldapsmb_ver}/ldapsmb.5 %{buildroot}/%{_mandir}/man5
|
2008-01-24 13:21:25 +01:00
|
|
|
%endif
|
|
|
|
# cups SMB support
|
2011-09-09 15:14:31 +02:00
|
|
|
mkdir -p %{buildroot}/%{cups_lib_dir}/backend/
|
|
|
|
touch %{buildroot}/%{cups_lib_dir}/backend/smb
|
2008-01-24 13:21:25 +01:00
|
|
|
# pam_smbpass is missing
|
2009-07-14 23:06:34 +02:00
|
|
|
cp -a source3/pam_smbpass/samples examples/pam_smbpass
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 source3/pam_smbpass/CHANGELOG examples/pam_smbpass/CHANGELOG
|
|
|
|
install -m 0644 source3/pam_smbpass/INSTALL examples/pam_smbpass/INSTALL
|
|
|
|
install -m 0644 source3/pam_smbpass/README examples/pam_smbpass/README
|
|
|
|
install -m 0644 source3/pam_smbpass/TODO examples/pam_smbpass/TODO
|
|
|
|
mv COPYING Manifest README Roadmap WHATSNEW.txt %{buildroot}/%{DOCDIR}/
|
2008-01-24 13:21:25 +01:00
|
|
|
# this is empty
|
|
|
|
rm -rf docs/yodldocs
|
|
|
|
rm -rf docs/manpages
|
2011-09-09 15:14:31 +02:00
|
|
|
cp -a docs/* %{buildroot}/%{DOCDIR}
|
|
|
|
rm -rf "%{buildroot}/%{DOCBOOKDIR}"
|
|
|
|
cp -a examples/ %{buildroot}/%{DOCDIR}
|
|
|
|
test -e "%{buildroot}/%{SWATDIR}/help/manpages" || \
|
|
|
|
ln -s "%{DOCDIR}/htmldocs/manpages" "%{buildroot}/%{SWATDIR}/help"
|
2008-01-24 13:21:25 +01:00
|
|
|
# Install HTML pages only in the samba-doc package
|
2011-09-09 15:14:31 +02:00
|
|
|
pushd %{buildroot}/%{SWATDIR}/help
|
2008-01-24 13:21:25 +01:00
|
|
|
for file in $( find -mindepth 1 -maxdepth 1); do
|
|
|
|
file="${file#./}"
|
|
|
|
case "${file}" in
|
|
|
|
welcome-no-samba-doc.html)
|
|
|
|
case "%{name}" in
|
|
|
|
samba*-doc) rm "${file}" ;;
|
|
|
|
esac
|
|
|
|
continue
|
|
|
|
;;
|
|
|
|
welcome.html) ;;
|
|
|
|
*)
|
|
|
|
rm -r "${file}"
|
|
|
|
ln -s "%{DOCDIR}/htmldocs/${file}" .
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
echo "%doc %{SWATDIR}/help/${file}" >>${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba-doc
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
# finally build filelist-samba-doc
|
2011-09-09 15:14:31 +02:00
|
|
|
for file in $( find %{buildroot}%{DOCDIR} -maxdepth 1); do
|
2008-09-05 20:40:17 +02:00
|
|
|
# exclude %{DOCDIR}, README, and docbook
|
2011-09-09 15:14:31 +02:00
|
|
|
case "${file#%{buildroot}}" in
|
2008-09-05 20:40:17 +02:00
|
|
|
%{DOCDIR}|%{DOCDIR}/README.%{VENDOR}|%{DOCDIR}/docbook) continue ;;
|
|
|
|
esac
|
2011-09-09 15:14:31 +02:00
|
|
|
echo "%doc ${file#%{buildroot}}" >>"${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba-doc"
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
|
|
|
%if ! %{make_utils}
|
|
|
|
# delete manpages if not packaged in utils-package
|
|
|
|
rm -f \
|
2011-09-09 15:14:31 +02:00
|
|
|
%{buildroot}/%{_mandir}/man1/log2pcap.1* \
|
|
|
|
%{buildroot}/%{_mandir}/man1/vfstest.1*
|
2008-01-24 13:21:25 +01:00
|
|
|
%endif
|
2009-05-06 18:53:12 +02:00
|
|
|
# find pam_winbind language files
|
|
|
|
%find_lang pam_winbind
|
|
|
|
cat pam_winbind.lang >> ${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba-winbind
|
2010-03-05 02:13:04 +01:00
|
|
|
%find_lang net
|
2011-09-09 15:14:31 +02:00
|
|
|
for file in $( find %{buildroot}%{_libdir}/samba/vfs/ -mindepth 1 ); do
|
|
|
|
echo "${file#%{buildroot}}" >>${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba
|
2011-08-08 18:19:05 +02:00
|
|
|
done
|
2008-01-24 13:21:25 +01:00
|
|
|
# copy the schema
|
2011-09-09 15:14:31 +02:00
|
|
|
install -m 0644 examples/LDAP/samba.schema %{buildroot}/%{_sysconfdir}/openldap/schema/samba3.schema
|
|
|
|
install -m 0644 examples/LDAP/samba-nds.schema %{buildroot}/%{_datadir}/samba/LDAP/samba-nds.schema
|
2008-01-24 13:21:25 +01:00
|
|
|
# Clean up installed doc if we have a noarch doc package
|
2009-11-23 11:16:32 +01:00
|
|
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1000 && 0%{?suse_version} < 1120
|
2008-01-24 13:21:25 +01:00
|
|
|
while read file; do
|
2011-09-09 15:14:31 +02:00
|
|
|
rm -r "%{buildroot}/${file#%* }"
|
2008-01-24 13:21:25 +01:00
|
|
|
done <"${RPM_BUILD_DIR}/samba-%{samba_ver_full}/filelist-samba-doc"
|
2010-03-05 02:13:04 +01:00
|
|
|
for file in %{_datadir}/susehelp; do
|
2011-09-09 15:14:31 +02:00
|
|
|
rm -r "%{buildroot}/${file}"
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
2011-09-09 15:14:31 +02:00
|
|
|
pushd "%{buildroot}/%{DOCDIR}"
|
2008-01-24 13:21:25 +01:00
|
|
|
for file in $( find . -mindepth 1 -maxdepth 1);do
|
|
|
|
test "${file}" = "./README.%{VENDOR}" && continue
|
|
|
|
rm -r "${file}"
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
%endif
|
2009-11-23 11:16:32 +01:00
|
|
|
# Hardlink duplicate files
|
|
|
|
%if 0%{?suse_version} > 1110
|
2011-09-09 15:14:31 +02:00
|
|
|
%fdupes %{buildroot}
|
2009-11-23 11:16:32 +01:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%pre
|
|
|
|
/usr/sbin/groupadd -g 71 -o -r ntadmin 2>/dev/null || :
|
|
|
|
|
|
|
|
%preun
|
2009-01-09 01:56:07 +01:00
|
|
|
%{?stop_on_removal:%{stop_on_removal smb nmb}}
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%postun
|
2009-01-09 01:56:07 +01:00
|
|
|
%{?restart_on_update:%{restart_on_update nmb smb}}
|
|
|
|
%{?insserv_cleanup:%{insserv_cleanup}}
|
2008-01-24 13:21:25 +01:00
|
|
|
|
2010-01-08 17:32:57 +01:00
|
|
|
%pre client
|
|
|
|
# non SUSE + 11.3 an newer, update, no cifstab, but smbfstab
|
|
|
|
if [ ! 0%{?suse_version} -lt 1121 -a \
|
|
|
|
${1:-0} -gt 1 -a \
|
|
|
|
! -e /etc/samba/cifstab -a \
|
|
|
|
-f /etc/samba/smbfstab ]; then
|
|
|
|
cp -a /etc/samba/smbfstab /var/adm/backup/etc_samba_smbfstab-move
|
|
|
|
chkconfig -c smbfs && >/var/adm/backup/etc_samba_smbfs-enabled || :
|
|
|
|
fi
|
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%preun client
|
2010-01-08 17:32:57 +01:00
|
|
|
%{?stop_on_removal:%{stop_on_removal %cifs_init_script}}
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%post client
|
|
|
|
/sbin/ldconfig
|
|
|
|
if [ ${1:-0} -eq 1 ]; then
|
2010-01-08 17:32:57 +01:00
|
|
|
# Only insserv cifs if we're not in update mode.
|
2011-01-14 19:26:07 +01:00
|
|
|
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1131
|
2012-02-02 22:37:34 +01:00
|
|
|
%{?insserv_force_if_yast:%{insserv_force_if_yast %{cifs_init_script}}}
|
2011-01-14 19:26:07 +01:00
|
|
|
%endif
|
2008-10-06 16:19:18 +02:00
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/21-dhcpcd-hook-samba
|
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/21-dhcpcd-hook-samba
|
2010-01-08 17:32:57 +01:00
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/%{cifs_init_script} %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/21-%{cifs_init_script}
|
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/%{cifs_init_script} %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/21-%{cifs_init_script}
|
2008-01-24 13:21:25 +01:00
|
|
|
else
|
|
|
|
for if_case in if-down.d if-up.d; do
|
2008-10-06 16:19:18 +02:00
|
|
|
test -h %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/dhcpcd-hook-samba || \
|
2008-01-24 13:21:25 +01:00
|
|
|
continue
|
2008-10-06 16:19:18 +02:00
|
|
|
rm -f %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/dhcpcd-hook-samba
|
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/21-dhcpcd-hook-samba
|
2010-01-08 17:32:57 +01:00
|
|
|
test -h %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/%{cifs_init_script} || \
|
2008-10-27 17:14:41 +01:00
|
|
|
continue
|
2010-01-08 17:32:57 +01:00
|
|
|
rm -f %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/%{cifs_init_script}
|
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/%{cifs_init_script} %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/21-%{cifs_init_script}
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
|
|
|
fi
|
2010-01-08 17:32:57 +01:00
|
|
|
if [ ${1:-0} -gt 1 -a -f /var/adm/backup/etc_samba_smbfstab-move ]; then
|
|
|
|
test -f /etc/samba/cifstab && \
|
|
|
|
mv /etc/samba/cifstab /etc/samba/cifstab.rpmnew
|
|
|
|
mv /var/adm/backup/etc_samba_smbfstab-move /etc/samba/cifstab
|
|
|
|
if [ -f /var/adm/backup/etc_samba_smbfs-enabled ]; then
|
|
|
|
chkconfig -a cifs >/dev/null
|
|
|
|
rm /var/adm/backup/etc_samba_smbfs-enabled
|
|
|
|
fi
|
|
|
|
fi
|
2008-01-24 13:21:25 +01:00
|
|
|
if ! test -e %{_bindir}/get_printing_ticket; then
|
2010-04-24 17:27:08 +02:00
|
|
|
ln -fs %{_bindir}/smbspool %{cups_lib_dir}/backend/smb
|
2008-01-24 13:21:25 +01:00
|
|
|
fi
|
2009-01-09 01:56:07 +01:00
|
|
|
%{?fillup_only:%{fillup_only -nsd dhcp samba-client network}}
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%postun client
|
|
|
|
/sbin/ldconfig
|
2009-01-09 01:56:07 +01:00
|
|
|
%{?insserv_cleanup:%{insserv_cleanup}}
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
%post -n libnetapi0 -p /sbin/ldconfig
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
%postun -n libnetapi0 -p /sbin/ldconfig
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2012-05-15 12:58:22 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1211
|
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
%post -n libtalloc2 -p /sbin/ldconfig
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
%postun -n libtalloc2 -p /sbin/ldconfig
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2012-05-15 12:58:22 +02:00
|
|
|
%endif
|
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
%post -n libwbclient0 -p /sbin/ldconfig
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
%postun -n libwbclient0 -p /sbin/ldconfig
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2012-05-15 12:58:22 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1211
|
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
%post -n libtdb1 -p /sbin/ldconfig
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
%postun -n libtdb1 -p /sbin/ldconfig
|
2010-02-18 16:51:01 +01:00
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
%post -n libtevent0 -p /sbin/ldconfig
|
2010-02-18 16:51:01 +01:00
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
%postun -n libtevent0 -p /sbin/ldconfig
|
2010-02-18 16:51:01 +01:00
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
%post -n libldb1 -p /sbin/ldconfig
|
2010-02-18 16:51:01 +01:00
|
|
|
|
2011-09-09 15:14:31 +02:00
|
|
|
%postun -n libldb1 -p /sbin/ldconfig
|
2012-05-15 12:58:22 +02:00
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2009-11-23 11:16:32 +01:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1001 || 0%{?suse_version} > 1110
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%pre doc
|
|
|
|
# Remove all directories and files from usr/share/samba/swat/help expect welcome-*.html
|
|
|
|
if [ -d usr/share/samba/swat/help ]; then
|
|
|
|
find usr/share/samba/swat/help -mindepth 1 -maxdepth 1 -type d -print0 | \
|
|
|
|
xargs -0 rm -rf
|
|
|
|
for file in $( find usr/share/samba/swat/help -maxdepth 1 -type f); do
|
|
|
|
case "${file}" in
|
|
|
|
usr/share/samba/swat/help/welcome*.html) continue ;;
|
|
|
|
*) rm -f "${file}" ;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%post krb-printing
|
2010-04-24 17:27:08 +02:00
|
|
|
if test ${1:-0} -eq 1 -a -d %{cups_lib_dir}/backend; then
|
|
|
|
ln -fs %{_bindir}/get_printing_ticket %{cups_lib_dir}/backend/smb
|
2008-01-24 13:21:25 +01:00
|
|
|
fi
|
2009-01-09 01:56:07 +01:00
|
|
|
%{?run_permissions:%{run_permissions}}
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%postun krb-printing
|
2010-04-24 17:27:08 +02:00
|
|
|
if test ${1:-0} -eq 0 -a -e %{_bindir}/smbspool -a -d %{cups_lib_dir}/backend; then
|
|
|
|
ln -fs %{_bindir}/smbspool %{cups_lib_dir}/backend/smb
|
2008-01-24 13:21:25 +01:00
|
|
|
fi
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1000
|
2008-01-24 13:21:25 +01:00
|
|
|
%verifyscript krb-printing
|
|
|
|
%verify_permissions -e %{_bindir}/get_printing_ticket
|
|
|
|
%endif
|
|
|
|
|
2009-10-21 17:36:57 +02:00
|
|
|
%pre winbind
|
|
|
|
# we need this group for squid (ntlmauth)
|
|
|
|
# read access to /var/lib/samba/winbindd_privileged
|
2009-12-04 10:43:00 +01:00
|
|
|
%{_bindir}/getent group winbind >/dev/null || \
|
|
|
|
%{_sbindir}/groupadd -r winbind
|
2009-10-21 17:36:57 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%post winbind
|
|
|
|
/sbin/ldconfig
|
|
|
|
if test ${1:-0} -eq 1; then
|
2008-10-06 16:19:18 +02:00
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/samba-winbindd %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/55-samba-winbindd
|
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/samba-winbindd %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/55-samba-winbindd
|
2008-01-24 13:21:25 +01:00
|
|
|
else
|
|
|
|
for if_case in if-down.d if-up.d; do
|
2008-10-06 16:19:18 +02:00
|
|
|
test -h %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/samba-winbindd || \
|
2008-01-24 13:21:25 +01:00
|
|
|
continue
|
2008-10-06 16:19:18 +02:00
|
|
|
rm -f %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/samba-winbindd
|
|
|
|
ln -fs %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/samba-winbindd %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/${if_case}/55-samba-winbindd
|
2008-01-24 13:21:25 +01:00
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun winbind
|
2009-01-09 01:56:07 +01:00
|
|
|
%{?stop_on_removal:%{stop_on_removal winbind}}
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%postun winbind
|
|
|
|
/sbin/ldconfig
|
2009-01-09 01:56:07 +01:00
|
|
|
%{?restart_on_update:%{restart_on_update nscd winbind}}
|
|
|
|
%{?insserv_cleanup:%{insserv_cleanup}}
|
2008-09-25 01:17:04 +02:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1031
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%post -n libsmbclient
|
2008-03-27 22:36:19 +01:00
|
|
|
%else
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-03-27 22:36:19 +01:00
|
|
|
%post -n libsmbclient0
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
/sbin/ldconfig
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1031
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%postun -n libsmbclient
|
2008-03-27 22:36:19 +01:00
|
|
|
%else
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-03-27 22:36:19 +01:00
|
|
|
%postun -n libsmbclient0
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
/sbin/ldconfig
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1031
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%post -n libsmbsharemodes
|
2008-04-24 09:21:53 +02:00
|
|
|
%else
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-04-24 09:21:53 +02:00
|
|
|
%post -n libsmbsharemodes0
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
/sbin/ldconfig
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1031
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%postun -n libsmbsharemodes
|
2008-04-24 09:21:53 +02:00
|
|
|
%else
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-04-24 09:21:53 +02:00
|
|
|
%postun -n libsmbsharemodes0
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
2011-09-09 15:14:31 +02:00
|
|
|
[ x"%{buildroot}" = x"/" ] && ( echo "your buildroot is /" && exit 0) || rm -rf "%{buildroot}"
|
2011-01-04 17:39:49 +01:00
|
|
|
if [ -e ${RPM_SOURCE_DIR}/baselibs.conf -a 0%{?suse_version} -gt 0 -a 0%{?suse_version} -lt 1110 ]; then
|
2009-10-21 17:36:57 +02:00
|
|
|
sed -i -e 's, supplements .*,,' ${RPM_SOURCE_DIR}/baselibs.conf
|
2011-01-04 17:39:49 +01:00
|
|
|
fi
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%files -f filelist-samba
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%attr(0754,root,root) %config %{INITDIR}/nmb
|
|
|
|
%attr(0754,root,root) %config %{INITDIR}/smb
|
2009-07-14 23:06:34 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1111
|
2008-01-24 13:21:25 +01:00
|
|
|
%attr(0600,root,root) %config(noreplace) %{CONFIGDIR}/smbpasswd
|
2009-07-14 23:06:34 +02:00
|
|
|
%else
|
|
|
|
%ghost %{CONFIGDIR}/smbpasswd
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
%config(noreplace) %{CONFIGDIR}/smbusers
|
|
|
|
%config %{_sysconfdir}/pam.d/samba
|
|
|
|
%{_sysconfdir}/slp.reg.d
|
|
|
|
%config(noreplace) %{_sysconfdir}/xinetd.d/swat
|
2008-11-18 13:37:00 +01:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} > 1020
|
|
|
|
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/netbios-server
|
|
|
|
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-server
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
/%{_lib}/security/pam_smbpass.so
|
2008-05-06 18:38:39 +02:00
|
|
|
%dir %{_libdir}/samba
|
|
|
|
%dir %{_libdir}/samba/vfs
|
|
|
|
%{_libdir}/samba/auth
|
|
|
|
%{_libdir}/samba/config
|
|
|
|
%{_libdir}/samba/rpc
|
|
|
|
%{_libdir}/samba/*.msg
|
2008-01-24 13:21:25 +01:00
|
|
|
%attr(0775,root,ntadmin) %{LOCKDIR}/drivers
|
|
|
|
%{LOCKDIR}/netlogon
|
|
|
|
%attr(0770,root,users) %dir %{LOCKDIR}/profiles
|
|
|
|
%dir %{SWATDIR}
|
|
|
|
%dir %{SWATDIR}/help
|
|
|
|
%{SWATDIR}/help/welcome-no-samba-doc.html
|
|
|
|
%{SWATDIR}/images
|
|
|
|
%{SWATDIR}/include
|
|
|
|
%{SWATDIR}/lang
|
|
|
|
%{_bindir}/smbstatus
|
|
|
|
%{_sbindir}/nmbd
|
|
|
|
%{_sbindir}/rcnmb
|
|
|
|
%{_sbindir}/rcsmb
|
|
|
|
%{_sbindir}/smbd
|
|
|
|
%{_sbindir}/swat
|
2010-04-07 17:57:43 +02:00
|
|
|
%{_bindir}/smbta-util
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1100
|
2008-01-24 13:21:25 +01:00
|
|
|
%dir %{_datadir}/omc
|
|
|
|
%dir %{_datadir}/omc/svcinfo.d
|
2008-04-06 08:10:12 +02:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
%attr(0644,root,root) %{_datadir}/omc/svcinfo.d/nmb.xml
|
|
|
|
%attr(0644,root,root) %{_datadir}/omc/svcinfo.d/smb.xml
|
|
|
|
%dir %{_datadir}/samba
|
2011-10-18 23:41:59 +02:00
|
|
|
%{_datadir}/samba/update-apparmor-samba-profile
|
2008-05-17 02:11:23 +02:00
|
|
|
%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.*
|
2011-10-20 23:08:53 +02:00
|
|
|
%doc %{_mandir}/man8/vfs_aio_fork.8.*
|
2009-05-06 18:53:12 +02:00
|
|
|
%doc %{_mandir}/man8/vfs_acl_tdb.8.*
|
|
|
|
%doc %{_mandir}/man8/vfs_acl_xattr.8.*
|
2008-05-17 02:11:23 +02:00
|
|
|
%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.*
|
2011-07-21 22:14:33 +02:00
|
|
|
%doc %{_mandir}/man8/vfs_crossrename.8.*
|
2008-05-17 02:11:23 +02:00
|
|
|
%doc %{_mandir}/man8/vfs_default_quota.8.*
|
2009-05-06 18:53:12 +02:00
|
|
|
%doc %{_mandir}/man8/vfs_dirsort.8.*
|
2010-03-05 02:13:04 +01:00
|
|
|
%doc %{_mandir}/man8/vfs_scannedonly.8.*
|
2008-08-16 02:33:14 +02:00
|
|
|
%doc %{_mandir}/man8/vfs_streams_depot.8.*
|
2008-05-17 02:11:23 +02:00
|
|
|
%doc %{_mandir}/man8/vfs_extd_audit.8.*
|
|
|
|
%doc %{_mandir}/man8/vfs_fake_perms.8.*
|
2009-02-09 01:13:06 +01:00
|
|
|
%doc %{_mandir}/man8/vfs_fileid.8.*
|
2008-05-17 02:11:23 +02:00
|
|
|
%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.*
|
2009-05-06 18:53:12 +02:00
|
|
|
%doc %{_mandir}/man8/vfs_preopen.8.*
|
2008-05-17 02:11:23 +02:00
|
|
|
%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.*
|
2009-02-09 01:13:06 +01:00
|
|
|
%doc %{_mandir}/man8/vfs_shadow_copy2.8.*
|
2009-05-06 18:53:12 +02:00
|
|
|
%doc %{_mandir}/man8/vfs_smb_traffic_analyzer.8.*
|
2008-08-16 02:33:14 +02:00
|
|
|
%doc %{_mandir}/man8/vfs_streams_xattr.8.*
|
2011-07-21 22:14:33 +02:00
|
|
|
%doc %{_mandir}/man8/vfs_time_audit.8.*
|
2008-05-17 02:11:23 +02:00
|
|
|
%doc %{_mandir}/man8/vfs_xattr_tdb.8.*
|
2010-04-07 17:57:43 +02:00
|
|
|
%doc %{_mandir}/man8/smbta-util.8.*
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1021
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_includedir}/samba
|
|
|
|
%endif
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/samba
|
|
|
|
%endif
|
|
|
|
|
2010-03-05 02:13:04 +01:00
|
|
|
%files client -f net.lang
|
2008-01-24 13:21:25 +01:00
|
|
|
%defattr(-,root,root)
|
2010-01-08 17:32:57 +01:00
|
|
|
%attr(0754,root,root) %config %{INITDIR}/%{cifs_init_script}
|
2008-01-24 13:21:25 +01:00
|
|
|
%dir %{CONFIGDIR}
|
|
|
|
%config(noreplace) %{CONFIGDIR}/lmhosts
|
|
|
|
%config(noreplace) %{CONFIGDIR}/smb.conf
|
2010-01-08 17:32:57 +01:00
|
|
|
%attr(0600,root,root) %config(noreplace) %{CONFIGDIR}/%{cifs_init_script}tab
|
2008-07-11 23:15:18 +02:00
|
|
|
%dir %{_sysconfdir}/openldap
|
2008-01-24 13:21:25 +01:00
|
|
|
%dir %{_sysconfdir}/openldap/schema
|
|
|
|
%attr(0444,root,root) %config %{_sysconfdir}/openldap/schema/samba3.schema
|
2008-10-06 16:19:18 +02:00
|
|
|
%ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/21-dhcpcd-hook-samba
|
|
|
|
%ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/21-dhcpcd-hook-samba
|
|
|
|
%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba
|
|
|
|
%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/dhcpcd-hook-samba-functions
|
2010-01-08 17:32:57 +01:00
|
|
|
%ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/21-%{cifs_init_script}
|
|
|
|
%ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/21-%{cifs_init_script}
|
|
|
|
%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/%{cifs_init_script}
|
2009-01-23 23:34:47 +01:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} > 1100
|
|
|
|
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/samba-client
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_bindir}/eventlogadm
|
|
|
|
%{_bindir}/findsmb
|
2008-04-24 09:21:53 +02:00
|
|
|
%{_bindir}/ldbadd
|
|
|
|
%{_bindir}/ldbdel
|
|
|
|
%{_bindir}/ldbedit
|
|
|
|
%{_bindir}/ldbmodify
|
2009-05-06 18:53:12 +02:00
|
|
|
%{_bindir}/ldbrename
|
2008-04-24 09:21:53 +02:00
|
|
|
%{_bindir}/ldbsearch
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_bindir}/net
|
|
|
|
%{_bindir}/nmblookup
|
|
|
|
%{_bindir}/nmbstatus
|
|
|
|
%{_bindir}/pdbedit
|
|
|
|
%{_bindir}/profiles
|
|
|
|
%{_bindir}/rpcclient
|
2009-05-06 18:53:12 +02:00
|
|
|
%{_bindir}/sharesec
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_bindir}/smbcacls
|
|
|
|
%{_bindir}/smbclient
|
|
|
|
%{_bindir}/smbcontrol
|
|
|
|
%{_bindir}/smbcquotas
|
|
|
|
%{_bindir}/smbfilter
|
|
|
|
%{_bindir}/smbget
|
|
|
|
%{_bindir}/smbpasswd
|
|
|
|
%{_bindir}/smbprngenpdf
|
|
|
|
%{_bindir}/smbspool
|
|
|
|
%{_bindir}/smbtar
|
|
|
|
%{_bindir}/smbtree
|
|
|
|
%{_bindir}/tdbbackup
|
|
|
|
%{_bindir}/tdbdump
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_bindir}/tdbrestore
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_bindir}/tdbtool
|
|
|
|
%{_bindir}/testparm
|
2010-01-08 17:32:57 +01:00
|
|
|
%{_sbindir}/rc%{cifs_init_script}
|
2008-01-24 13:21:25 +01:00
|
|
|
/%{_lib}/libnss_wins.so.2
|
2010-04-24 17:27:08 +02:00
|
|
|
%dir %{cups_lib_dir}
|
|
|
|
%dir %{cups_lib_dir}/backend
|
|
|
|
%ghost %{cups_lib_dir}/backend/smb
|
2008-05-06 18:38:39 +02:00
|
|
|
%dir %{_libdir}/samba
|
|
|
|
%{_libdir}/samba/charset
|
|
|
|
%{_libdir}/samba/lowcase.dat
|
|
|
|
%{_libdir}/samba/upcase.dat
|
|
|
|
%{_libdir}/samba/valid.dat
|
2008-05-17 02:11:23 +02:00
|
|
|
%doc %{_mandir}/man1/findsmb.1.*
|
|
|
|
%doc %{_mandir}/man1/nmblookup.1.*
|
|
|
|
%doc %{_mandir}/man1/nmbstatus.1.*
|
|
|
|
%doc %{_mandir}/man1/profiles.1.*
|
|
|
|
%doc %{_mandir}/man1/rpcclient.1.*
|
2009-05-06 18:53:12 +02:00
|
|
|
%doc %{_mandir}/man1/sharesec.1.*
|
2008-05-17 02:11:23 +02:00
|
|
|
%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
|
2008-01-24 13:21:25 +01:00
|
|
|
%dir %{_datadir}/omc
|
|
|
|
%dir %{_datadir}/omc/svcinfo.d
|
2008-04-06 08:10:12 +02:00
|
|
|
%endif
|
2010-01-08 17:32:57 +01:00
|
|
|
%attr(0644,root,root) %{_datadir}/omc/svcinfo.d/%{cifs_init_script}.xml
|
2008-01-24 13:21:25 +01:00
|
|
|
%dir %{_datadir}/samba
|
|
|
|
%dir %{_datadir}/samba/LDAP
|
|
|
|
%config %{_datadir}/samba/LDAP/samba-nds.schema
|
|
|
|
%{_datadir}/samba/templates
|
|
|
|
%dir %{DOCDIR}
|
|
|
|
%doc %{DOCDIR}/README.%{VENDOR}
|
2011-09-09 15:14:31 +02:00
|
|
|
%{_localstatedir}/adm/fillup-templates/samba-client-dhcp.conf
|
|
|
|
%{_localstatedir}/adm/fillup-templates/sysconfig.dhcp-samba-client
|
|
|
|
%ghost %{_localstatedir}/run/%{cifs_init_script}
|
2008-01-24 13:21:25 +01:00
|
|
|
%dir %{LOCKDIR}
|
|
|
|
%attr(0750,root,root) %dir %{LOGDIR}
|
2010-11-12 14:33:55 +01:00
|
|
|
%ghost %dir %{PIDDIR}
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%files winbind -f filelist-samba-winbind
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/pam_winbind.conf
|
|
|
|
%attr(0754,root,root) %config %{INITDIR}/winbind
|
2008-10-06 16:19:18 +02:00
|
|
|
%ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-down.d/55-samba-winbindd
|
|
|
|
%ghost %{_sysconfdir}/sysconfig/%{NET_CFGDIR}/if-up.d/55-samba-winbindd
|
|
|
|
%{_sysconfdir}/sysconfig/%{NET_CFGDIR}/scripts/samba-winbindd
|
2008-05-17 02:11:23 +02:00
|
|
|
%doc %{_mandir}/man1/ntlm_auth.1.*
|
|
|
|
%doc %{_mandir}/man1/wbinfo.1.*
|
2010-03-05 02:13:04 +01:00
|
|
|
%doc %{_mandir}/man5/pam_winbind.conf.5.*
|
2008-05-17 02:11:23 +02:00
|
|
|
%doc %{_mandir}/man8/winbindd.8.*
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_bindir}/ntlm_auth
|
|
|
|
%{_bindir}/wbinfo
|
|
|
|
%{_sbindir}/rcwinbind
|
|
|
|
%{_sbindir}/winbindd
|
|
|
|
/%{_lib}/libnss_winbind.so.2
|
|
|
|
/%{_lib}/security/pam_winbind.so
|
2008-05-06 18:38:39 +02:00
|
|
|
%{_libdir}/samba/idmap
|
2008-10-27 17:14:41 +01:00
|
|
|
%{_libdir}/samba/nss_info
|
2009-05-06 18:53:12 +02:00
|
|
|
%doc %{_mandir}/man7/winbind_krb5_locator.7.*
|
2008-05-17 02:11:23 +02:00
|
|
|
%doc %{_mandir}/man8/idmap_ad.8.*
|
2009-05-06 18:53:12 +02:00
|
|
|
%doc %{_mandir}/man8/idmap_adex.8.*
|
2011-07-21 22:14:33 +02:00
|
|
|
%doc %{_mandir}/man8/idmap_autorid.8.*
|
2009-05-06 18:53:12 +02:00
|
|
|
%doc %{_mandir}/man8/idmap_hash.8.*
|
2008-05-17 02:11:23 +02:00
|
|
|
%doc %{_mandir}/man8/idmap_ldap.8.*
|
|
|
|
%doc %{_mandir}/man8/idmap_nss.8.*
|
|
|
|
%doc %{_mandir}/man8/idmap_rid.8.*
|
|
|
|
%doc %{_mandir}/man8/idmap_tdb.8.*
|
2009-05-06 18:53:12 +02:00
|
|
|
%doc %{_mandir}/man8/idmap_tdb2.8.*
|
2009-06-20 06:10:37 +02:00
|
|
|
%doc %{_mandir}/man8/pam_winbind.8.*
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1100
|
2008-01-24 13:21:25 +01:00
|
|
|
%dir %{_datadir}/omc
|
|
|
|
%dir %{_datadir}/omc/svcinfo.d
|
2008-04-06 08:10:12 +02:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
%attr(0644,root,root) %{_datadir}/omc/svcinfo.d/winbind.xml
|
2009-10-21 17:36:57 +02:00
|
|
|
%attr(0750,root,winbind) %dir %{LOCKDIR}/winbindd_privileged
|
2008-01-24 13:21:25 +01:00
|
|
|
%if %{make_utils}
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/debug2html
|
|
|
|
%{_bindir}/log2pcap
|
|
|
|
%{_bindir}/locktest
|
|
|
|
%{_bindir}/locktest2
|
|
|
|
%{_bindir}/masktest
|
|
|
|
%{_bindir}/msgtest
|
|
|
|
%{_bindir}/nsstest
|
|
|
|
%{_bindir}/smbtorture
|
|
|
|
%{_bindir}/talloctort
|
|
|
|
%{_bindir}/vfstest
|
2008-05-17 02:11:23 +02:00
|
|
|
%doc %{_mandir}/man1/log2pcap.1.*
|
|
|
|
%doc %{_mandir}/man1/vfstest.1.*
|
2008-01-24 13:21:25 +01:00
|
|
|
%endif
|
2009-11-23 11:16:32 +01:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1001 || 0%{?suse_version} > 1110
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%files doc -f filelist-samba-doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{DOCDIR}
|
|
|
|
%dir %{_datadir}/samba
|
|
|
|
%dir %{SWATDIR}
|
|
|
|
%dir %{SWATDIR}/help
|
|
|
|
%doc %{_datadir}/susehelp
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%files krb-printing
|
|
|
|
%defattr(-,root,root)
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1000
|
2008-01-24 13:21:25 +01:00
|
|
|
%verify(not mode) %attr(4750,root,lp) %{_bindir}/get_printing_ticket
|
|
|
|
%else
|
|
|
|
%attr(0750,root,lp) %{_bindir}/get_printing_ticket
|
|
|
|
%endif
|
2010-04-24 17:27:08 +02:00
|
|
|
%dir %{cups_lib_dir}
|
|
|
|
%dir %{cups_lib_dir}/backend
|
|
|
|
%ghost %{cups_lib_dir}/backend/smb
|
2008-01-24 13:21:25 +01:00
|
|
|
|
2008-04-24 09:21:53 +02:00
|
|
|
%files -n libnetapi0
|
2008-01-24 13:21:25 +01:00
|
|
|
%defattr(-,root,root)
|
2008-04-24 09:21:53 +02:00
|
|
|
%{_libdir}/libnetapi.so.*
|
|
|
|
|
|
|
|
%files -n libnetapi-devel
|
|
|
|
%defattr(-,root,root)
|
2008-07-11 23:15:18 +02:00
|
|
|
%{_includedir}/netapi.h
|
2009-08-01 11:43:53 +02:00
|
|
|
%if %{link_static_libs}
|
2011-07-21 22:14:33 +02:00
|
|
|
%attr(0644,root,root) %{_libdir}/libnetapi.a
|
2009-08-01 11:43:53 +02:00
|
|
|
%endif
|
2008-04-24 09:21:53 +02:00
|
|
|
%{_libdir}/libnetapi.so
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_libdir}/pkgconfig/netapi.pc
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1031
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%files -n libsmbclient
|
2008-03-27 22:36:19 +01:00
|
|
|
%else
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-03-27 22:36:19 +01:00
|
|
|
%files -n libsmbclient0
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libsmbclient.so.*
|
2008-05-17 02:11:23 +02:00
|
|
|
%doc %{_mandir}/man7/libsmbclient.7.*
|
2008-01-24 13:21:25 +01:00
|
|
|
|
|
|
|
%files -n libsmbclient-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/libsmbclient.h
|
2009-08-01 11:43:53 +02:00
|
|
|
%if %{link_static_libs}
|
2011-07-21 22:14:33 +02:00
|
|
|
%attr(0644,root,root) %{_libdir}/libsmbclient.a
|
2009-08-01 11:43:53 +02:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_libdir}/libsmbclient.so
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_libdir}/pkgconfig/smbclient.pc
|
2010-02-25 11:13:29 +01:00
|
|
|
|
2008-05-17 02:11:23 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1031
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%files -n libsmbsharemodes
|
2008-04-24 09:21:53 +02:00
|
|
|
%else
|
2012-04-11 16:01:03 +02:00
|
|
|
|
2008-04-24 09:21:53 +02:00
|
|
|
%files -n libsmbsharemodes0
|
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libsmbsharemodes.so.*
|
|
|
|
|
|
|
|
%files -n libsmbsharemodes-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/smb_share_modes.h
|
2009-08-01 11:43:53 +02:00
|
|
|
%if %{link_static_libs}
|
2011-07-21 22:14:33 +02:00
|
|
|
%attr(0644,root,root) %{_libdir}/libsmbsharemodes.a
|
2009-08-01 11:43:53 +02:00
|
|
|
%endif
|
2008-01-24 13:21:25 +01:00
|
|
|
%{_libdir}/libsmbsharemodes.so
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_libdir}/pkgconfig/smbsharemodes.pc
|
2008-01-24 13:21:25 +01:00
|
|
|
|
2012-05-15 12:58:22 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1211
|
|
|
|
|
2010-03-05 02:13:04 +01:00
|
|
|
%files -n libtalloc2
|
2008-04-24 09:21:53 +02:00
|
|
|
%defattr(-,root,root)
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_libdir}/libpytalloc-util.so.*
|
2008-04-24 09:21:53 +02:00
|
|
|
%{_libdir}/libtalloc.so.*
|
|
|
|
|
|
|
|
%files -n libtalloc-devel
|
|
|
|
%defattr(-,root,root)
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_includedir}/pytalloc.h
|
2008-07-11 23:15:18 +02:00
|
|
|
%{_includedir}/talloc.h
|
2009-08-01 11:43:53 +02:00
|
|
|
%if %{link_static_libs}
|
2011-07-21 22:14:33 +02:00
|
|
|
%attr(0644,root,root) %{_libdir}/libtalloc.a
|
2009-08-01 11:43:53 +02:00
|
|
|
%endif
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_libdir}/libpytalloc-util.so
|
2008-04-24 09:21:53 +02:00
|
|
|
%{_libdir}/libtalloc.so
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_libdir}/pkgconfig/pytalloc-util.pc
|
|
|
|
%{_libdir}/pkgconfig/talloc.pc
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2008-05-26 18:52:30 +02:00
|
|
|
%files -n libtdb1
|
2008-04-24 09:21:53 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libtdb.so.*
|
|
|
|
|
|
|
|
%files -n libtdb-devel
|
|
|
|
%defattr(-,root,root)
|
2008-07-11 23:15:18 +02:00
|
|
|
%{_includedir}/tdb.h
|
2009-08-01 11:43:53 +02:00
|
|
|
%if %{link_static_libs}
|
2011-07-21 22:14:33 +02:00
|
|
|
%attr(0644,root,root) %{_libdir}/libtdb.a
|
2009-08-01 11:43:53 +02:00
|
|
|
%endif
|
2008-04-24 09:21:53 +02:00
|
|
|
%{_libdir}/libtdb.so
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_libdir}/pkgconfig/tdb.pc
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2012-05-15 12:58:22 +02:00
|
|
|
%endif
|
|
|
|
|
2008-04-24 09:21:53 +02:00
|
|
|
%files -n libwbclient0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libwbclient.so.*
|
|
|
|
|
|
|
|
%files -n libwbclient-devel
|
|
|
|
%defattr(-,root,root)
|
2008-07-11 23:15:18 +02:00
|
|
|
%{_includedir}/wbclient.h
|
2009-08-01 11:43:53 +02:00
|
|
|
%if %{link_static_libs}
|
|
|
|
%endif
|
2008-04-24 09:21:53 +02:00
|
|
|
%{_libdir}/libwbclient.so
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_libdir}/pkgconfig/wbclient.pc
|
2008-04-24 09:21:53 +02:00
|
|
|
|
2012-05-15 12:58:22 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1211
|
|
|
|
|
2010-02-18 16:51:01 +01:00
|
|
|
%files -n libtevent0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libtevent.so.*
|
|
|
|
|
|
|
|
%files -n libtevent-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/tevent.h
|
|
|
|
%{_libdir}/libtevent.so
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_libdir}/pkgconfig/tevent.pc
|
2010-02-18 16:51:01 +01:00
|
|
|
|
2011-07-21 22:14:33 +02:00
|
|
|
%files -n libldb1
|
2010-02-18 16:51:01 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libldb.so.*
|
2011-07-21 22:14:33 +02:00
|
|
|
%dir %{_libdir}/ldb
|
|
|
|
%{_libdir}/ldb/*.so
|
|
|
|
%{_libdir}/libpyldb-util.so.*
|
2010-02-18 16:51:01 +01:00
|
|
|
|
|
|
|
%files -n libldb-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/ldb*.h
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_includedir}/pyldb.h
|
2010-02-18 16:51:01 +01:00
|
|
|
%{_libdir}/libldb.so
|
2011-07-21 22:14:33 +02:00
|
|
|
%{_libdir}/libpyldb-util.so
|
|
|
|
%{_libdir}/pkgconfig/ldb.pc
|
|
|
|
%{_libdir}/pkgconfig/pyldb-util.pc
|
2012-05-15 12:58:22 +02:00
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2010-09-21 23:44:55 +02:00
|
|
|
%if %{make_ldapsmb}
|
2010-02-18 16:51:01 +01:00
|
|
|
|
2008-01-24 13:21:25 +01:00
|
|
|
%files -n ldapsmb
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sbindir}/ldapsmb
|
2008-05-17 02:11:23 +02:00
|
|
|
%{_mandir}/man5/ldapsmb.5.*
|
2008-01-24 13:21:25 +01:00
|
|
|
%endif
|
2012-04-11 16:01:03 +02:00
|
|
|
%changelog
|