1 |
ennael |
76059 |
Summary: Tools for Managing Linux CIFS Client Filesystems |
2 |
|
|
Name: cifs-utils |
3 |
tv |
141526 |
Version: 4.9 |
4 |
ennael |
76059 |
License: GPLv3 |
5 |
|
|
Group: Networking/Other |
6 |
|
|
Release: %mkrel 1 |
7 |
|
|
URL: http://www.samba.org/linux-cifs/cifs-utils/ |
8 |
|
|
Source0: ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2 |
9 |
|
|
#BuildRequires: talloc-devel >= 4.0 |
10 |
|
|
BuildRequires: pkgconfig(talloc) |
11 |
|
|
BuildRequires: keyutils-devel |
12 |
|
|
BuildRequires: krb5-devel |
13 |
|
|
BuildRequires: cap-devel |
14 |
|
|
Suggests: sudo nss_wins |
15 |
|
|
Provides: mount-cifs = %{version} |
16 |
|
|
Obsoletes: mount-cifs <= 4.0 |
17 |
|
|
|
18 |
|
|
%description |
19 |
|
|
Tools for Managing Linux CIFS Client Filesystems. |
20 |
|
|
|
21 |
|
|
%prep |
22 |
|
|
|
23 |
|
|
%setup -q |
24 |
|
|
|
25 |
|
|
%build |
26 |
|
|
%serverbuild |
27 |
|
|
rm -rf autom4te.cache |
28 |
|
|
%configure2_5x \ |
29 |
|
|
--sbindir=/sbin |
30 |
|
|
|
31 |
|
|
%make |
32 |
|
|
|
33 |
|
|
%install |
34 |
|
|
rm -rf %{buildroot} |
35 |
|
|
|
36 |
|
|
%makeinstall_std |
37 |
|
|
mkdir %{buildroot}/bin |
38 |
|
|
ln -s ../sbin/mount.cifs %{buildroot}/bin/mount.cifs |
39 |
|
|
# Hack for smb4k |
40 |
|
|
ln -s umount %{buildroot}/bin/umount.cifs |
41 |
|
|
|
42 |
|
|
%clean |
43 |
|
|
rm -rf %{buildroot} |
44 |
|
|
|
45 |
|
|
%files |
46 |
|
|
%defattr(-,root,root) |
47 |
|
|
%doc AUTHORS README doc/linux-cifs-client-guide.odt |
48 |
|
|
/sbin/cifs.upcall |
49 |
|
|
/sbin/mount.cifs |
50 |
|
|
/bin/mount.cifs |
51 |
|
|
/bin/umount.cifs |
52 |
|
|
%{_mandir}/man8/cifs.upcall.8* |
53 |
|
|
%{_mandir}/man8/mount.cifs.8* |
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|