]> git.pld-linux.org Git - packages/cifs-utils.git/blob - cifs-utils.spec
b139a87064405a08ed28dfcf90ebe426d933b9eb
[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.12
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:  b49b10692bcae7f28669173a472077dd
10 Patch0:         %{name}-heimdal.patch
11 URL:            http://linux-cifs.samba.org/cifs-utils/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  docutils
15 BuildRequires:  heimdal-devel >= 1.5.1-3
16 BuildRequires:  keyutils-devel
17 BuildRequires:  libcap-ng-devel
18 BuildRequires:  libsmbclient-devel >= 1:4
19 BuildRequires:  libtalloc-devel
20 BuildRequires:  pam-devel
21 Requires:       keyutils
22 Obsoletes:      mount-cifs
23 Conflicts:      samba-client < 1:3.6.0
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 The SMB/CIFS protocol is a standard file sharing protocol widely
28 deployed on Microsoft Windows machines. This package contains tools
29 for mounting shares on Linux using the SMB/CIFS protocol. The tools in
30 this package work in conjunction with support in the kernel to allow
31 one to mount a SMB/CIFS share onto a client and use it as if it were a
32 standard Linux file system.
33
34 %description -l pl.UTF-8
35 Protokół SMB/CIFS to standardowy protokół współdzielenia plików
36 szeroko wykorzystywany na komputerach z systemem Microsoft Windows.
37 Ten pakiet zawiera narzędzia do montowania pod Linuksem udziałów
38 udostępnionych poprzez protokół SMB/CIFS. Narzędzia z tego pakietu
39 współpracując z obsługą w jądrze pozwalają na montowanie udziałów
40 SMB/CIFS na systemie klienckim tak, jakby był to standardowy
41 linuksowy system plików.
42
43 %package devel
44 Summary:        Header file for cifs-utils ID Mapping Plugin interface
45 Summary(pl.UTF-8):      Plik nagłówkowy interfejsu wtyczek ID Mapping cifs-utils
46 Group:          Development/Libraries
47 # doesn't require base
48
49 %description devel
50 Header file for cifs-utils ID Mapping Plugin interface.
51
52 %description devel -l pl.UTF-8
53 Plik nagłówkowy interfejsu wtyczek ID Mapping cifs-utils.
54
55 %prep
56 %setup -q
57 %patch0 -p1
58
59 %{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' \
60       smb2-quota \
61       smb2-secdesc
62
63 %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' \
64       checkopts \
65       smbinfo
66
67 %build
68 %{__aclocal}
69 %{__automake}
70 %{__autoconf}
71 %configure \
72         --with-libcap-ng \
73         --enable-cifsacl \
74         --enable-cifsidmap \
75         --enable-cifsupcall
76
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT \
84         pamdir=/%{_lib}/security
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files
90 %defattr(644,root,root,755)
91 %doc AUTHORS README
92 %attr(755,root,root) /sbin/mount.cifs
93 %attr(755,root,root) /sbin/mount.smb3
94 %attr(755,root,root) %{_bindir}/cifscreds
95 %attr(755,root,root) %{_bindir}/getcifsacl
96 %attr(755,root,root) %{_bindir}/setcifsacl
97 %attr(755,root,root) %{_bindir}/smb2-quota
98 %attr(755,root,root) %{_bindir}/smbinfo
99 %attr(755,root,root) %{_sbindir}/cifs.upcall
100 %attr(755,root,root) %{_sbindir}/cifs.idmap
101 %attr(755,root,root) /%{_lib}/security/pam_cifscreds.so
102 %dir %{_libdir}/%{name}
103 %attr(755,root,root) %{_libdir}/%{name}/idmapwb.so
104 %{_mandir}/man1/cifscreds.1*
105 %{_mandir}/man1/getcifsacl.1*
106 %{_mandir}/man1/setcifsacl.1*
107 %{_mandir}/man1/smb2-quota.1*
108 %{_mandir}/man1/smbinfo.1*
109 %{_mandir}/man8/cifs.upcall.8*
110 %{_mandir}/man8/cifs.idmap.8*
111 %{_mandir}/man8/idmapwb.8*
112 %{_mandir}/man8/mount.cifs.8*
113 %{_mandir}/man8/mount.smb3.8*
114 %{_mandir}/man8/pam_cifscreds.8*
115
116 %files devel
117 %defattr(644,root,root,755)
118 %{_includedir}/cifsidmap.h
This page took 0.041531 seconds and 2 git commands to generate.