]>
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 |
bb386497 | 4 | Version: 6.7 |
c17d5f62 | 5 | Release: 1 |
f145a480 | 6 | License: GPL v3+ |
8ccc4429 | 7 | Group: Daemons |
31590dfe | 8 | Source0: http://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2 |
bb386497 | 9 | # Source0-md5: af3ae1d27aca624c4daac5bf3eb0d4c1 |
79bd9cf2 JB |
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 | |
0d8bfa6e | 15 | BuildRequires: libsmbclient-devel >= 1:4 |
8ccc4429 | 16 | BuildRequires: libtalloc-devel |
0d8bfa6e | 17 | BuildRequires: pam-devel |
8ccc4429 AM |
18 | Requires: keyutils |
19 | Obsoletes: mount-cifs | |
c17d5f62 | 20 | Conflicts: samba-client < 1:3.6.0 |
8ccc4429 AM |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | The SMB/CIFS protocol is a standard file sharing protocol widely | |
25 | deployed on Microsoft Windows machines. This package contains tools | |
26 | for mounting shares on Linux using the SMB/CIFS protocol. The tools in | |
27 | this package work in conjunction with support in the kernel to allow | |
28 | one to mount a SMB/CIFS share onto a client and use it as if it were a | |
29 | standard Linux file system. | |
30 | ||
79bd9cf2 JB |
31 | %description -l pl.UTF-8 |
32 | Protokół SMB/CIFS to standardowy protokół współdzielenia plików | |
33 | szeroko wykorzystywany na komputerach z systemem Microsoft Windows. | |
34 | Ten pakiet zawiera narzędzia do montowania pod Linuksem udziałów | |
35 | udostępnionych poprzez protokół SMB/CIFS. Narzędzia z tego pakietu | |
36 | współpracując z obsługą w jądrze pozwalają na montowanie udziałów | |
37 | SMB/CIFS na systemie klienckim tak, jakby był to standardowy | |
38 | linuksowy system plików. | |
39 | ||
0d8bfa6e JB |
40 | %package devel |
41 | Summary: Header file for cifs-utils ID Mapping Plugin interface | |
42 | Summary(pl.UTF-8): Plik nagłówkowy interfejsu wtyczek ID Mapping cifs-utils | |
43 | Group: Development/Libraries | |
44 | # doesn't require base | |
45 | ||
46 | %description devel | |
47 | Header file for cifs-utils ID Mapping Plugin interface. | |
48 | ||
49 | %description devel -l pl.UTF-8 | |
50 | Plik nagłówkowy interfejsu wtyczek ID Mapping cifs-utils. | |
51 | ||
8ccc4429 AM |
52 | %prep |
53 | %setup -q | |
79bd9cf2 | 54 | %patch0 -p1 |
8ccc4429 AM |
55 | |
56 | %build | |
bb386497 AM |
57 | %{__aclocal} |
58 | %{__automake} | |
59 | %{__autoconf} | |
c17d5f62 | 60 | %configure \ |
0d8bfa6e | 61 | --with-libcap-ng \ |
c17d5f62 AM |
62 | --enable-cifsupcall \ |
63 | --enable-cifsidmap \ | |
64 | --enable-cifsacl | |
8ccc4429 AM |
65 | |
66 | %{__make} | |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %{__make} install \ | |
0d8bfa6e JB |
72 | DESTDIR=$RPM_BUILD_ROOT \ |
73 | pamdir=/%{_lib}/security | |
8ccc4429 AM |
74 | |
75 | %clean | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %files | |
79 | %defattr(644,root,root,755) | |
f145a480 | 80 | %doc AUTHORS README |
8ccc4429 | 81 | %attr(755,root,root) /sbin/mount.cifs |
79bd9cf2 | 82 | %attr(755,root,root) %{_bindir}/cifscreds |
8ccc4429 AM |
83 | %attr(755,root,root) %{_bindir}/getcifsacl |
84 | %attr(755,root,root) %{_bindir}/setcifsacl | |
85 | %attr(755,root,root) %{_sbindir}/cifs.upcall | |
86 | %attr(755,root,root) %{_sbindir}/cifs.idmap | |
0d8bfa6e | 87 | %attr(755,root,root) /%{_lib}/security/pam_cifscreds.so |
2b4a66ff AM |
88 | %dir %{_libdir}/%{name} |
89 | %attr(755,root,root) %{_libdir}/%{name}/idmapwb.so | |
79bd9cf2 | 90 | %{_mandir}/man1/cifscreds.1* |
8ccc4429 AM |
91 | %{_mandir}/man1/getcifsacl.1* |
92 | %{_mandir}/man1/setcifsacl.1* | |
93 | %{_mandir}/man8/cifs.upcall.8* | |
94 | %{_mandir}/man8/cifs.idmap.8* | |
2b4a66ff | 95 | %{_mandir}/man8/idmapwb.8* |
8ccc4429 | 96 | %{_mandir}/man8/mount.cifs.8* |
0d8bfa6e JB |
97 | %{_mandir}/man8/pam_cifscreds.8* |
98 | ||
99 | %files devel | |
100 | %defattr(644,root,root,755) | |
101 | %{_includedir}/cifsidmap.h |