]> git.pld-linux.org Git - SPECS.git/blob - cifs-utils.spec
SPECS updated Sun 1 Aug 15:50:02 CEST 2021
[SPECS.git] / cifs-utils.spec
1 Summary:        Utilities for mounting and managing CIFS mounts
2 Summary(pl.UTF-8):      Narzędzia do montowania i zarządzania montowaniami CIFS
3 Name:           cifs-utils
4 Version:        6.12
5 Release:        1
6 License:        GPL v3+
7 Group:          Daemons
8 Source0:        http://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2
9 # Source0-md5:  b49b10692bcae7f28669173a472077dd
10 Patch0:         %{name}-heimdal.patch
11 URL:            http://linux-cifs.samba.org/cifs-utils/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  heimdal-devel >= 1.5.1-3
15 BuildRequires:  keyutils-devel
16 BuildRequires:  libcap-ng-devel
17 BuildRequires:  libsmbclient-devel >= 1:4
18 BuildRequires:  libtalloc-devel
19 BuildRequires:  pam-devel
20 Requires:       keyutils
21 Obsoletes:      mount-cifs
22 Conflicts:      samba-client < 1:3.6.0
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 The SMB/CIFS protocol is a standard file sharing protocol widely
27 deployed on Microsoft Windows machines. This package contains tools
28 for mounting shares on Linux using the SMB/CIFS protocol. The tools in
29 this package work in conjunction with support in the kernel to allow
30 one to mount a SMB/CIFS share onto a client and use it as if it were a
31 standard Linux file system.
32
33 %description -l pl.UTF-8
34 Protokół SMB/CIFS to standardowy protokół współdzielenia plików
35 szeroko wykorzystywany na komputerach z systemem Microsoft Windows.
36 Ten pakiet zawiera narzędzia do montowania pod Linuksem udziałów
37 udostępnionych poprzez protokół SMB/CIFS. Narzędzia z tego pakietu
38 współpracując z obsługą w jądrze pozwalają na montowanie udziałów
39 SMB/CIFS na systemie klienckim tak, jakby był to standardowy
40 linuksowy system plików.
41
42 %package devel
43 Summary:        Header file for cifs-utils ID Mapping Plugin interface
44 Summary(pl.UTF-8):      Plik nagłówkowy interfejsu wtyczek ID Mapping cifs-utils
45 Group:          Development/Libraries
46 # doesn't require base
47
48 %description devel
49 Header file for cifs-utils ID Mapping Plugin interface.
50
51 %description devel -l pl.UTF-8
52 Plik nagłówkowy interfejsu wtyczek ID Mapping cifs-utils.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57
58 %{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' \
59       smb2-quota \
60       smb2-secdesc
61
62 %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' \
63       checkopts \
64       smbinfo
65
66 %build
67 %{__aclocal}
68 %{__automake}
69 %{__autoconf}
70 %configure \
71         --with-libcap-ng \
72         --enable-cifsacl \
73         --enable-cifsidmap \
74         --enable-cifsupcall
75
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT \
83         pamdir=/%{_lib}/security
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files
89 %defattr(644,root,root,755)
90 %doc AUTHORS README
91 %attr(755,root,root) /sbin/mount.cifs
92 %attr(755,root,root) /sbin/mount.smb3
93 %attr(755,root,root) %{_bindir}/cifscreds
94 %attr(755,root,root) %{_bindir}/getcifsacl
95 %attr(755,root,root) %{_bindir}/setcifsacl
96 %attr(755,root,root) %{_bindir}/smb2-quota
97 %attr(755,root,root) %{_bindir}/smbinfo
98 %attr(755,root,root) %{_sbindir}/cifs.upcall
99 %attr(755,root,root) %{_sbindir}/cifs.idmap
100 %attr(755,root,root) /%{_lib}/security/pam_cifscreds.so
101 %dir %{_libdir}/%{name}
102 %attr(755,root,root) %{_libdir}/%{name}/idmapwb.so
103 %{_mandir}/man1/cifscreds.1*
104 %{_mandir}/man1/getcifsacl.1*
105 %{_mandir}/man1/setcifsacl.1*
106 %{_mandir}/man1/smb2-quota.1*
107 %{_mandir}/man1/smbinfo.1*
108 %{_mandir}/man8/cifs.upcall.8*
109 %{_mandir}/man8/cifs.idmap.8*
110 %{_mandir}/man8/idmapwb.8*
111 %{_mandir}/man8/mount.cifs.8*
112 %{_mandir}/man8/mount.smb3.8*
113 %{_mandir}/man8/pam_cifscreds.8*
114
115 %files devel
116 %defattr(644,root,root,755)
117 %{_includedir}/cifsidmap.h
This page took 2.039762 seconds and 3 git commands to generate.