]>
Commit | Line | Data |
---|---|---|
8ccc4429 | 1 | Summary: Utilities for mounting and managing CIFS mounts |
79bd9cf2 | 2 | Summary(pl.UTF-8): Narzędzia do montowania i zarządzania montowaniami CIFS |
8ccc4429 | 3 | Name: cifs-utils |
79bd9cf2 | 4 | Version: 5.5 |
c17d5f62 | 5 | Release: 1 |
f145a480 | 6 | License: GPL v3+ |
8ccc4429 | 7 | Group: Daemons |
8ccc4429 | 8 | Source0: ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2 |
79bd9cf2 JB |
9 | # Source0-md5: 4de6c660ccdb9506d0e2cff4f37b8707 |
10 | Patch0: %{name}-heimdal.patch | |
11 | URL: http://linux-cifs.samba.org/cifs-utils/ | |
c17d5f62 | 12 | BuildRequires: heimdal-devel >= 1.5.1-3 |
8ccc4429 AM |
13 | BuildRequires: keyutils-devel |
14 | BuildRequires: libcap-ng-devel | |
79bd9cf2 | 15 | BuildRequires: libsmbclient-devel |
8ccc4429 | 16 | BuildRequires: libtalloc-devel |
8ccc4429 AM |
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 | ||
79bd9cf2 JB |
30 | %description -l pl.UTF-8 |
31 | Protokół SMB/CIFS to standardowy protokół współdzielenia plików | |
32 | szeroko wykorzystywany na komputerach z systemem Microsoft Windows. | |
33 | Ten pakiet zawiera narzędzia do montowania pod Linuksem udziałów | |
34 | udostępnionych poprzez protokół SMB/CIFS. Narzędzia z tego pakietu | |
35 | współpracując z obsługą w jądrze pozwalają na montowanie udziałów | |
36 | SMB/CIFS na systemie klienckim tak, jakby był to standardowy | |
37 | linuksowy system plików. | |
38 | ||
8ccc4429 AM |
39 | %prep |
40 | %setup -q | |
79bd9cf2 | 41 | %patch0 -p1 |
8ccc4429 AM |
42 | |
43 | %build | |
c17d5f62 | 44 | %configure \ |
79bd9cf2 JB |
45 | WBCLIENT_CFLAGS=" " \ |
46 | WBCLIENT_LIBS="-lwbclient" \ | |
c17d5f62 AM |
47 | --with-libcap-ng=yes \ |
48 | --enable-cifsupcall \ | |
49 | --enable-cifsidmap \ | |
50 | --enable-cifsacl | |
8ccc4429 AM |
51 | |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
f145a480 | 65 | %doc AUTHORS README |
8ccc4429 | 66 | %attr(755,root,root) /sbin/mount.cifs |
79bd9cf2 | 67 | %attr(755,root,root) %{_bindir}/cifscreds |
8ccc4429 AM |
68 | %attr(755,root,root) %{_bindir}/getcifsacl |
69 | %attr(755,root,root) %{_bindir}/setcifsacl | |
70 | %attr(755,root,root) %{_sbindir}/cifs.upcall | |
71 | %attr(755,root,root) %{_sbindir}/cifs.idmap | |
79bd9cf2 | 72 | %{_mandir}/man1/cifscreds.1* |
8ccc4429 AM |
73 | %{_mandir}/man1/getcifsacl.1* |
74 | %{_mandir}/man1/setcifsacl.1* | |
75 | %{_mandir}/man8/cifs.upcall.8* | |
76 | %{_mandir}/man8/cifs.idmap.8* | |
77 | %{_mandir}/man8/mount.cifs.8* |