]> git.pld-linux.org Git - packages/cifs-utils.git/blob - cifs-utils.spec
932cc6be8ef0091b09a1385443120abd0e9228f2
[packages/cifs-utils.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:        5.5
5 Release:        1
6 License:        GPL v3
7 Group:          Daemons
8 Source0:        ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2
9 # Source0-md5:  4de6c660ccdb9506d0e2cff4f37b8707
10 Patch0:         %{name}-heimdal.patch
11 URL:            http://linux-cifs.samba.org/cifs-utils/
12 BuildRequires:  heimdal-devel >= 1.5.1-3
13 BuildRequires:  keyutils-devel
14 BuildRequires:  libcap-ng-devel
15 BuildRequires:  libsmbclient-devel
16 BuildRequires:  libtalloc-devel
17 Requires:       keyutils
18 Obsoletes:      mount-cifs
19 Conflicts:      samba-client < 1:3.6.0
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 %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
39 %prep
40 %setup -q
41 %patch0 -p1
42
43 %build
44 %configure \
45         WBCLIENT_CFLAGS=" " \
46         WBCLIENT_LIBS="-lwbclient" \
47         --with-libcap-ng=yes \
48         --enable-cifsupcall \
49         --enable-cifsidmap \
50         --enable-cifsacl
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)
65 %attr(755,root,root) /sbin/mount.cifs
66 %attr(755,root,root) %{_bindir}/cifscreds
67 %attr(755,root,root) %{_bindir}/getcifsacl
68 %attr(755,root,root) %{_bindir}/setcifsacl
69 %attr(755,root,root) %{_sbindir}/cifs.upcall
70 %attr(755,root,root) %{_sbindir}/cifs.idmap
71 %{_mandir}/man1/cifscreds.1*
72 %{_mandir}/man1/getcifsacl.1*
73 %{_mandir}/man1/setcifsacl.1*
74 %{_mandir}/man8/cifs.upcall.8*
75 %{_mandir}/man8/cifs.idmap.8*
76 %{_mandir}/man8/mount.cifs.8*
This page took 0.050734 seconds and 2 git commands to generate.