]> git.pld-linux.org Git - packages/cifs-utils.git/blob - cifs-utils.spec
c28a160bc95c7773624ac9499d6db2dd69d81b9a
[packages/cifs-utils.git] / cifs-utils.spec
1 Summary:        Utilities for mounting and managing CIFS mounts
2 Name:           cifs-utils
3 Version:        5.2
4 Release:        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:  2ca839553cccd0c3042f7dd8737cc9de
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  heimdal-devel >= 1.5.1-3
13 BuildRequires:  keyutils-devel
14 BuildRequires:  libcap-ng-devel
15 BuildRequires:  libtalloc-devel
16 BuildRequires:  samba-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 %prep
31 %setup -q
32
33 %build
34 %configure \
35         --with-libcap-ng=yes \
36         --enable-cifsupcall \
37         --enable-cifsidmap \
38         --enable-cifsacl
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*
This page took 0.056186 seconds and 2 git commands to generate.