cifs-utils/cifs-utils.spec

121 lines
4.4 KiB
RPMSpec
Raw Normal View History

Name: cifs-utils
Version: 6.7
Release: 1mamba
Summary: A set of user-space tools to manage the in-kernel CIFS filesystem
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://wiki.samba.org/index.php/LinuxCIFS_utils
Source: http://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcap-ng-devel
BuildRequires: libkeyutils-devel
BuildRequires: libkrb5-devel
BuildRequires: libpam-devel
BuildRequires: libtalloc-devel
BuildRequires: libwbclient-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The in-kernel CIFS filesystem is generally the preferred method for mounting SMB/CIFS shares on Linux. More information on Linux CIFS is available at the Linux CIFS VFS site.
The in-kernel CIFS filesystem relies on a set of user-space tools. That package of tools is called cifs-utils. Although not really part of Samba proper, these tools were originally part of the Samba package. For several reasons, shipping these tools as part of Samba was problematic and it was deemed better to split them off into their own package.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The in-kernel CIFS filesystem is generally the preferred method for mounting SMB/CIFS shares on Linux. More information on Linux CIFS is available at the Linux CIFS VFS site.
The in-kernel CIFS filesystem relies on a set of user-space tools. That package of tools is called cifs-utils. Although not really part of Samba proper, these tools were originally part of the Samba package. For several reasons, shipping these tools as part of Samba was problematic and it was deemed better to split them off into their own package.
This package contains static libraries and header files needed for development.
%prep
%setup -q
%build
autoreconf -i
%configure \
--enable-cifsidmap
%make pamdir=/%{_lib}/security
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall pamdir=/%{_lib}/security
ln -sf mount.cifs %{buildroot}/sbin/mount.smbfs
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%attr(4750,root,sysadmin) /sbin/mount.cifs
/sbin/mount.smbfs
%{_bindir}/cifscreds
%{_bindir}/getcifsacl
%{_bindir}/setcifsacl
%{_libdir}/cifs-utils/idmapwb.so
/%{_lib}/security/pam_cifscreds.so
%{_sbindir}/cifs.idmap
%{_sbindir}/cifs.upcall
%{_mandir}/man1/cifscreds.1*
%{_mandir}/man1/getcifsacl.1*
%{_mandir}/man1/setcifsacl.1*
%{_mandir}/man8/cifs.idmap.8*
%{_mandir}/man8/cifs.upcall.8*
%{_mandir}/man8/idmapwb.8*
%{_mandir}/man8/mount.cifs.8*
%{_mandir}/man8/pam_cifscreds.8*
%doc AUTHORS COPYING
# ChangeLog NEWS README
%files devel
%defattr(-,root,root)
%{_includedir}/cifsidmap.h
%changelog
* Fri Apr 14 2017 Automatic Build System <autodist@mambasoft.it> 6.7-1mamba
- automatic version update by autodist
* Sat Sep 17 2016 Automatic Build System <autodist@mambasoft.it> 6.6-1mamba
- automatic update by autodist
* Tue Apr 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 6.5-1mamba
- update to 6.5
* Fri Jul 25 2014 Automatic Build System <autodist@mambasoft.it> 6.4-1mamba
- automatic update by autodist
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 6.3-1mamba
- automatic update by autodist
* Sat Oct 05 2013 Automatic Build System <autodist@mambasoft.it> 6.2-1mamba
- automatic update by autodist
* Wed Jul 03 2013 Automatic Build System <autodist@mambasoft.it> 6.1-1mamba
- automatic version update by autodist
* Wed Mar 27 2013 Automatic Build System <autodist@mambasoft.it> 6.0-1mamba
- automatic version update by autodist
* Fri Jan 11 2013 Automatic Build System <autodist@mambasoft.it> 5.9-1mamba
- automatic version update by autodist
* Fri Nov 16 2012 Automatic Build System <autodist@mambasoft.it> 5.8-1mamba
- automatic version update by autodist
* Thu Oct 11 2012 Automatic Build System <autodist@mambasoft.it> 5.7-1mamba
- automatic version update by autodist
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 5.6-1mamba
- automatic version update by autodist
* Sun Oct 23 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1-1mamba
- package created by autospec