#%define pre_release rc1 %define pre_release %nil Name: cifs-utils Version: 4.0 Release: 1%{pre_release}%{?dist} Summary: Utilities for mounting and managing CIFS mounts Group: System Environment/Daemons License: GPLv3 URL: http://linux-cifs.samba.org/ Source0: ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}%{pre_release}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}%{pre_release}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtalloc-devel krb5-devel keyutils-libs-devel autoconf automake Requires: keyutils %description The SMB/CIFS protocol is a standard file sharing protocol widely deployed on Microsoft Windows machines. This package contains tools for mounting shares on Linux using the SMB/CIFS protocol. The tools in this package work in conjunction with support in the kernel to allow one to mount a SMB/CIFS share onto a client and use it as if it were a standard Linux file system. %prep %setup -q -n %{name}-%{version}%{pre_release} %build %configure --prefix=/usr make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc /sbin/mount.cifs %{_sbindir}/cifs.upcall %{_mandir}/man8/cifs.upcall.8.gz %{_mandir}/man8/mount.cifs.8.gz %changelog * Wed Mar 03 2010 Jeff Layton 4.0-1 - update to 4.0 - minor specfile fixes * Fri Feb 26 2010 Jeff Layton 4.0-1rc1 - update to 4.0rc1 - fix prerelease version handling * Mon Feb 08 2010 Jeff Layton 4.0a1-1 - first RPM package build