]>
Commit | Line | Data |
---|---|---|
8ccc4429 AM |
1 | Summary: Utilities for mounting and managing CIFS mounts |
2 | Name: cifs-utils | |
110d560a | 3 | Version: 5.2 |
c17d5f62 | 4 | Release: 1 |
8ccc4429 AM |
5 | License: GPL v3 |
6 | Group: Daemons | |
7 | URL: http://linux-cifs.samba.org/cifs-utils/ | |
8 | Source0: ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2 | |
110d560a | 9 | # Source0-md5: 2ca839553cccd0c3042f7dd8737cc9de |
8ccc4429 AM |
10 | BuildRequires: autoconf |
11 | BuildRequires: automake | |
c17d5f62 | 12 | BuildRequires: heimdal-devel >= 1.5.1-3 |
8ccc4429 AM |
13 | BuildRequires: keyutils-devel |
14 | BuildRequires: libcap-ng-devel | |
15 | BuildRequires: libtalloc-devel | |
16 | BuildRequires: samba-devel | |
17 | Requires: keyutils | |
18 | Obsoletes: mount-cifs | |
c17d5f62 | 19 | Conflicts: samba-client < 1:3.6.0 |
8ccc4429 AM |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | The SMB/CIFS protocol is a standard file sharing protocol widely | |
24 | deployed on Microsoft Windows machines. This package contains tools | |
25 | for mounting shares on Linux using the SMB/CIFS protocol. The tools in | |
26 | this package work in conjunction with support in the kernel to allow | |
27 | one to mount a SMB/CIFS share onto a client and use it as if it were a | |
28 | standard Linux file system. | |
29 | ||
30 | %prep | |
31 | %setup -q | |
8ccc4429 AM |
32 | |
33 | %build | |
c17d5f62 AM |
34 | %configure \ |
35 | --with-libcap-ng=yes \ | |
36 | --enable-cifsupcall \ | |
37 | --enable-cifsidmap \ | |
38 | --enable-cifsacl | |
8ccc4429 AM |
39 | |
40 | %{__make} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %attr(755,root,root) /sbin/mount.cifs | |
54 | %attr(755,root,root) %{_bindir}/getcifsacl | |
55 | %attr(755,root,root) %{_bindir}/setcifsacl | |
56 | %attr(755,root,root) %{_sbindir}/cifs.upcall | |
57 | %attr(755,root,root) %{_sbindir}/cifs.idmap | |
58 | %{_mandir}/man1/getcifsacl.1* | |
59 | %{_mandir}/man1/setcifsacl.1* | |
60 | %{_mandir}/man8/cifs.upcall.8* | |
61 | %{_mandir}/man8/cifs.idmap.8* | |
62 | %{_mandir}/man8/mount.cifs.8* |