1 Summary: Utilities for mounting and managing CIFS mounts
2 Summary(pl.UTF-8): Narzędzia do montowania i zarządzania montowaniami CIFS
8 Source0: https://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2
9 # Source0-md5: 518431bf43f23e6aacd97e80e2060df7
10 Patch0: %{name}-heimdal.patch
12 URL: https://wiki.samba.org/index.php/LinuxCIFS_utils
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake
15 BuildRequires: docutils
16 BuildRequires: heimdal-devel >= 1.5.1-3
17 BuildRequires: keyutils-devel
18 BuildRequires: libcap-ng-devel
19 BuildRequires: libsmbclient-devel >= 1:4
20 BuildRequires: libtalloc-devel
21 BuildRequires: pam-devel
24 Conflicts: samba-client < 1:3.6.0
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 The SMB/CIFS protocol is a standard file sharing protocol widely
29 deployed on Microsoft Windows machines. This package contains tools
30 for mounting shares on Linux using the SMB/CIFS protocol. The tools in
31 this package work in conjunction with support in the kernel to allow
32 one to mount a SMB/CIFS share onto a client and use it as if it were a
33 standard Linux file system.
35 %description -l pl.UTF-8
36 Protokół SMB/CIFS to standardowy protokół współdzielenia plików
37 szeroko wykorzystywany na komputerach z systemem Microsoft Windows.
38 Ten pakiet zawiera narzędzia do montowania pod Linuksem udziałów
39 udostępnionych poprzez protokół SMB/CIFS. Narzędzia z tego pakietu
40 współpracując z obsługą w jądrze pozwalają na montowanie udziałów
41 SMB/CIFS na systemie klienckim tak, jakby był to standardowy
42 linuksowy system plików.
45 Summary: Header file for cifs-utils ID Mapping Plugin interface
46 Summary(pl.UTF-8): Plik nagłówkowy interfejsu wtyczek ID Mapping cifs-utils
47 Group: Development/Libraries
48 # doesn't require base
51 Header file for cifs-utils ID Mapping Plugin interface.
53 %description devel -l pl.UTF-8
54 Plik nagłówkowy interfejsu wtyczek ID Mapping cifs-utils.
61 %{__sed} -i -e '1s,/usr/bin/env python$,%{__python3},' \
62 -e '1s,/usr/bin/env python3,%{__python3},' \
81 rm -rf $RPM_BUILD_ROOT
84 DESTDIR=$RPM_BUILD_ROOT \
85 pamdir=/%{_lib}/security
88 rm -rf $RPM_BUILD_ROOT
91 %defattr(644,root,root,755)
93 %attr(755,root,root) /sbin/mount.cifs
94 %attr(755,root,root) /sbin/mount.smb3
95 %attr(755,root,root) %{_bindir}/cifscreds
96 %attr(755,root,root) %{_bindir}/getcifsacl
97 %attr(755,root,root) %{_bindir}/setcifsacl
98 %attr(755,root,root) %{_bindir}/smb2-quota
99 %attr(755,root,root) %{_bindir}/smbinfo
100 %attr(755,root,root) %{_sbindir}/cifs.upcall
101 %attr(755,root,root) %{_sbindir}/cifs.idmap
102 %attr(755,root,root) /%{_lib}/security/pam_cifscreds.so
103 %dir %{_libdir}/%{name}
104 %attr(755,root,root) %{_libdir}/%{name}/idmapwb.so
105 %{_mandir}/man1/cifscreds.1*
106 %{_mandir}/man1/getcifsacl.1*
107 %{_mandir}/man1/setcifsacl.1*
108 %{_mandir}/man1/smb2-quota.1*
109 %{_mandir}/man1/smbinfo.1*
110 %{_mandir}/man8/cifs.upcall.8*
111 %{_mandir}/man8/cifs.idmap.8*
112 %{_mandir}/man8/idmapwb.8*
113 %{_mandir}/man8/mount.cifs.8*
114 %{_mandir}/man8/mount.smb3.8*
115 %{_mandir}/man8/pam_cifscreds.8*
118 %defattr(644,root,root,755)
119 %{_includedir}/cifsidmap.h