]> git.pld-linux.org Git - packages/samba.git/blobdiff - samba.spec
- liburing rebuild
[packages/samba.git] / samba.spec
index f36b690d32151bac150a0104d800999350515c91..8268841236e354ddfc4d8e6765528bc2037ed37b 100644 (file)
@@ -11,6 +11,7 @@
 %bcond_without ads             # ActiveDirectory support
 %bcond_without ceph            # Ceph (RADOS) storage support
 %bcond_without cups            # CUPS support
+%bcond_without glusterfs       # GlusterFS storage support
 %bcond_without ldap            # LDAP support
 %bcond_without avahi           # Avahi support
 %bcond_without dmapi           # DMAPI support
@@ -24,7 +25,7 @@
 %bcond_with    replace
 
 %if %{with system_libs}
-%define                ldb_ver         2.1.3
+%define                ldb_ver         2.2.0
 %define                talloc_ver      2:2.3.1
 %define                tdb_ver         2:1.4.3
 %define                tevent_ver      0.10.2
 Summary:       Samba Active Directory and SMB server
 Summary(pl.UTF-8):     Serwer Samba Active Directory i SMB
 Name:          samba
-Version:       4.12.6
-Release:       2
+Version:       4.13.3
+Release:       4
 Epoch:         1
 License:       GPL v3
 Group:         Networking/Daemons
 Source0:       https://download.samba.org/pub/samba/stable/%{name}-%{version}.tar.gz
-# Source0-md5: 0fa8bdd6826659c642bf1d255545d78d
+# Source0-md5: 8a412bc5b58f35cd4721fa6ec4629ce0
 Source1:       smb.init
 Source2:       samba.pamd
 Source4:       samba.sysconfig
@@ -61,7 +62,7 @@ Source10:     https://bitbucket.org/fumiyas/samba-virusfilter/downloads/samba-virusf
 Patch0:                system-heimdal.patch
 Patch1:                %{name}-c++-nofail.patch
 Patch2:                %{name}-lprng-no-dot-printers.patch
-
+Patch3:                samba-force-user.patch
 Patch4:                unicodePwd-nthash-values-over-LDAP.patch
 Patch5:                %{name}-heimdal.patch
 Patch6:                server-role.patch
@@ -87,7 +88,7 @@ BuildRequires:        flex
 BuildRequires: gamin-devel
 BuildRequires: gettext-tools
 BuildRequires: glib2-devel >= 2.0
-BuildRequires: glusterfs-devel >= 4
+%{?with_glusterfs:BuildRequires:       glusterfs-devel >= 4}
 BuildRequires: gnutls-devel >= 3.4.7
 BuildRequires: gpgme-devel
 %{?with_system_heimdal:BuildRequires:  heimdal-devel >= 1.5.3-1}
@@ -129,9 +130,10 @@ BuildRequires:     python3-modules >= 1:3.5
 BuildRequires: python3-subunit
 BuildRequires: python3-testtools
 BuildRequires: readline-devel >= 4.2
+BuildRequires: rpcsvc-proto
 BuildRequires: rpm-perlprov
 BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.745
+BuildRequires: rpmbuild(macros) >= 1.752
 BuildRequires: sed >= 4.0
 BuildRequires: socket_wrapper >= 1.1.2
 BuildRequires: subunit-devel
@@ -141,7 +143,7 @@ BuildRequires:      xfsprogs-devel
 BuildRequires: zlib-devel >= 1.2.3
 %if %{with system_libs}
 BuildRequires: ldb-devel >= %{ldb_ver}
-BuildRequires: ldb-devel < 2.2
+BuildRequires: ldb-devel < 2.3
 BuildRequires: python3-ldb-devel >= %{ldb_ver}
 BuildRequires: python3-talloc-devel >= %{talloc_ver}
 BuildRequires: python3-tdb >= %{tdb_ver}
@@ -489,9 +491,7 @@ Group:              Networking/Daemons
 Requires(post,postun): sed >= 4.0
 Requires:      openldap-servers
 Obsoletes:     openldap-schema-samba3
-%if "%{_rpmversion}" >= "4.6"
 BuildArch:     noarch
-%endif
 
 %description -n openldap-schema-samba
 This package contains samba.schema for OpenLDAP.
@@ -559,7 +559,7 @@ wyeksportowania do PMCD.
 %{?with_system_heimdal:%patch0 -p1}
 %patch1 -p1
 %patch2 -p1
-
+%patch3 -p1
 %patch4 -p1
 %{?with_system_heimdal:%patch5 -p1}
 %patch6 -p1
@@ -634,6 +634,7 @@ CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \
        --with-winbind \
        --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \
        --enable-cups \
+       %{__enable_disable glusterfs} \
        --enable-iprint
 
 %{__make} V=1
@@ -879,6 +880,8 @@ fi
 %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_10.so
 %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_11.so
 %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_12.so
+%attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_14.so
+%attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_16.so
 %dir %{_libdir}/samba/gensec
 %attr(755,root,root) %{_libdir}/samba/gensec/krb5.so
 %if %{with system_heimdal}
@@ -992,8 +995,12 @@ fi
 %attr(755,root,root) %{_libdir}/samba/vfs/time_audit.so
 %attr(755,root,root) %{_libdir}/samba/vfs/unityed_media.so
 %attr(755,root,root) %{_libdir}/samba/vfs/virusfilter.so
+%attr(755,root,root) %{_libdir}/samba/vfs/widelinks.so
 %attr(755,root,root) %{_libdir}/samba/vfs/worm.so
 %attr(755,root,root) %{_libdir}/samba/vfs/xattr_tdb.so
+%dir %{_datadir}/samba/admx
+%{_datadir}/samba/admx/samba.admx
+%lang(en) %{_datadir}/samba/admx/en-US
 %{_datadir}/samba/mdssvc
 %{_datadir}/samba/setup
 %{_mandir}/man1/oLschema2ldif.1*
@@ -1048,6 +1055,7 @@ fi
 %{_mandir}/man8/vfs_shell_snap.8*
 %{_mandir}/man8/vfs_unityed_media.8*
 %{_mandir}/man8/vfs_virusfilter.8*
+%{_mandir}/man8/vfs_widelinks.8*
 
 %dir %{_sambahome}
 %dir /var/lib/samba
@@ -1070,14 +1078,16 @@ fi
 
 %files vfs-glusterfs
 %defattr(644,root,root,755)
+%if %{with glusterfs}
 %attr(755,root,root) %{_libdir}/samba/vfs/glusterfs.so
-%attr(755,root,root) %{_libdir}/samba/vfs/glusterfs_fuse.so
 %{_mandir}/man8/vfs_glusterfs.8*
+%endif
+%attr(755,root,root) %{_libdir}/samba/vfs/glusterfs_fuse.so
 %{_mandir}/man8/vfs_glusterfs_fuse.8*
 
 %files common
 %defattr(644,root,root,755)
-%doc BUILD_SYSTEMS.txt PFIF.txt README.cifs-utils README.Coding README.contributing README.md WHATSNEW.txt
+%doc PFIF.txt README.cifs-utils README.md SECURITY.md WHATSNEW.txt
 %dir %{_sysconfdir}/samba
 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
@@ -1139,6 +1149,9 @@ fi
 %{_mandir}/man1/smbcquotas.1*
 %{_mandir}/man1/smbtar.1*
 %{_mandir}/man1/smbtree.1*
+%if %{with winexe}
+%attr(755,root,root) %{_mandir}/man1/winexe.1*
+%endif
 %{_mandir}/man8/cifsdd.8*
 
 %files winbind
@@ -1448,7 +1461,6 @@ fi
 %dir %{_includedir}/samba-4.0/util
 %{_includedir}/samba-4.0/util/attr.h
 %{_includedir}/samba-4.0/util/blocking.h
-%{_includedir}/samba-4.0/util/byteorder.h
 %{_includedir}/samba-4.0/util/data_blob.h
 %{_includedir}/samba-4.0/util/debug.h
 %{_includedir}/samba-4.0/util/discard.h
@@ -1560,6 +1572,9 @@ fi
 %dir %{py3_sitedir}/samba/tests/kcc
 %{py3_sitedir}/samba/tests/kcc/*.py
 %{py3_sitedir}/samba/tests/kcc/__pycache__
+%dir %{py3_sitedir}/samba/tests/krb5
+%{py3_sitedir}/samba/tests/krb5/*.py
+%{py3_sitedir}/samba/tests/krb5/__pycache__
 %dir %{py3_sitedir}/samba/tests/samba_tool
 %{py3_sitedir}/samba/tests/samba_tool/*.py
 %{py3_sitedir}/samba/tests/samba_tool/__pycache__
@@ -1663,6 +1678,7 @@ fi
 %{_datadir}/ctdb/events/legacy/31.clamd.script
 %{_datadir}/ctdb/events/legacy/40.vsftpd.script
 %{_datadir}/ctdb/events/legacy/41.httpd.script
+%{_datadir}/ctdb/events/legacy/48.netbios.script
 %{_datadir}/ctdb/events/legacy/49.winbind.script
 %{_datadir}/ctdb/events/legacy/50.samba.script
 %{_datadir}/ctdb/events/legacy/60.nfs.script
This page took 0.084032 seconds and 4 git commands to generate.