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