/[packages]/cauldron/cifs-utils/current/SPECS/cifs-utils.spec
ViewVC logotype

Contents of /cauldron/cifs-utils/current/SPECS/cifs-utils.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 217424 - (show annotations) (download)
Sat Mar 3 18:52:10 2012 UTC (8 years, 4 months ago) by dams
File size: 1569 byte(s)
- sync with fedora and mandriva

1 Summary: Tools for Managing Linux CIFS Client Filesystems
2 Name: cifs-utils
3 Version: 5.3
4 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: pkgconfig(talloc)
10 BuildRequires: pkgconfig(libcap-ng)
11 BuildRequires: keyutils-devel
12 BuildRequires: krb5-devel
13 Suggests: sudo nss_wins
14 Provides: mount-cifs = %{version}
15 Obsoletes: mount-cifs <= 4.0
16 Requires: keyutils
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 %makeinstall_std
35 mkdir %{buildroot}/bin
36 ln -s ../sbin/mount.cifs %{buildroot}/bin/mount.cifs
37 # Hack for smb4k
38 ln -s umount %{buildroot}/bin/umount.cifs
39
40 mkdir -p %{buildroot}%{_sysconfdir}/request-key.d
41 install -m 644 contrib/request-key.d/cifs.idmap.conf %{buildroot}%{_sysconfdir}/request-key.d
42 install -m 644 contrib/request-key.d/cifs.spnego.conf %{buildroot}%{_sysconfdir}/request-key.d
43 cp contrib/request-key.d/README contrib/request-key.d/README.keyutils-1.5.5
44
45 %files
46 %doc AUTHORS README doc/linux-cifs-client-guide.odt contrib/request-key.d/README.keyutils-1.5.5
47 %config(noreplace) %{_sysconfdir}/request-key.d/cifs.idmap.conf
48 %config(noreplace) %{_sysconfdir}/request-key.d/cifs.spnego.conf
49 %{_bindir}/cifscreds
50 /sbin/cifs.upcall
51 /sbin/mount.cifs
52 /bin/mount.cifs
53 /bin/umount.cifs
54 %{_mandir}/man8/cifs.upcall.8*
55 %{_mandir}/man8/mount.cifs.8*
56 %{_mandir}/man1/cifscreds.1*

  ViewVC Help
Powered by ViewVC 1.1.28