]>
Commit | Line | Data |
---|---|---|
8ccc4429 AM |
1 | Summary: Utilities for mounting and managing CIFS mounts |
2 | Name: cifs-utils | |
3 | Version: 5.1 | |
4 | Release: 0.1 | |
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 | |
9 | # Source0-md5: b1b232adc042fd157d2f9848f4650fad | |
10 | Patch0: %{name}-install-cifsacl-tools-in-usrbin.patch | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: heimdal-devel | |
14 | BuildRequires: keyutils-devel | |
15 | BuildRequires: libcap-ng-devel | |
16 | BuildRequires: libtalloc-devel | |
17 | BuildRequires: samba-devel | |
18 | Requires: keyutils | |
19 | Obsoletes: mount-cifs | |
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 | |
32 | %patch0 -p1 | |
33 | ||
34 | %build | |
35 | %configure | |
36 | ||
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %{__make} install \ | |
43 | DESTDIR=$RPM_BUILD_ROOT | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %attr(755,root,root) /sbin/mount.cifs | |
51 | %attr(755,root,root) %{_bindir}/getcifsacl | |
52 | %attr(755,root,root) %{_bindir}/setcifsacl | |
53 | %attr(755,root,root) %{_sbindir}/cifs.upcall | |
54 | %attr(755,root,root) %{_sbindir}/cifs.idmap | |
55 | %{_mandir}/man1/getcifsacl.1* | |
56 | %{_mandir}/man1/setcifsacl.1* | |
57 | %{_mandir}/man8/cifs.upcall.8* | |
58 | %{_mandir}/man8/cifs.idmap.8* | |
59 | %{_mandir}/man8/mount.cifs.8* |