]> git.pld-linux.org Git - packages/cifs-utils.git/blob - cifs-utils.spec
- up to 6.7
[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:        6.7
5 Release:        1
6 License:        GPL v3+
7 Group:          Daemons
8 Source0:        http://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2
9 # Source0-md5:  af3ae1d27aca624c4daac5bf3eb0d4c1
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 >= 1:4
16 BuildRequires:  libtalloc-devel
17 BuildRequires:  pam-devel
18 Requires:       keyutils
19 Obsoletes:      mount-cifs
20 Conflicts:      samba-client < 1:3.6.0
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
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
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
52 %prep
53 %setup -q
54 %patch0 -p1
55
56 %build
57 %{__aclocal}
58 %{__automake}
59 %{__autoconf}
60 %configure \
61         --with-libcap-ng \
62         --enable-cifsupcall \
63         --enable-cifsidmap \
64         --enable-cifsacl
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT \
73         pamdir=/%{_lib}/security
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %doc AUTHORS README
81 %attr(755,root,root) /sbin/mount.cifs
82 %attr(755,root,root) %{_bindir}/cifscreds
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
87 %attr(755,root,root) /%{_lib}/security/pam_cifscreds.so
88 %dir %{_libdir}/%{name}
89 %attr(755,root,root) %{_libdir}/%{name}/idmapwb.so
90 %{_mandir}/man1/cifscreds.1*
91 %{_mandir}/man1/getcifsacl.1*
92 %{_mandir}/man1/setcifsacl.1*
93 %{_mandir}/man8/cifs.upcall.8*
94 %{_mandir}/man8/cifs.idmap.8*
95 %{_mandir}/man8/idmapwb.8*
96 %{_mandir}/man8/mount.cifs.8*
97 %{_mandir}/man8/pam_cifscreds.8*
98
99 %files devel
100 %defattr(644,root,root,755)
101 %{_includedir}/cifsidmap.h
This page took 1.692558 seconds and 3 git commands to generate.