Browse code

Adding cifs-utils package

Change-Id: I75d637aefea72a235cad5495525f0a133261f067
Reviewed-on: http://photon-jenkins.eng.vmware.com/420
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: suezzelur <anishs@vmware.com>

dthaluru authored on 2016/01/26 04:04:13
Showing 3 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,47 @@
0
+Summary:	cifs client utils
1
+Name:		cifs-utils
2
+Version:	6.4
3
+Release:	1%{?dist}
4
+License:	GPLv3
5
+URL:		http://wiki.samba.org/index.php/LinuxCIFS_utils
6
+Group:		Applications/Nfs-utils-client
7
+Source0:    https://ftp.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-6.4.tar.bz2
8
+%define sha1 cifs-utils=aa7067fe7b68aaa9725d368725c5c1cf081d5364
9
+Vendor:		VMware, Inc.
10
+Distribution:	Photon
11
+BuildRequires:  libcap-ng-devel
12
+Requires:       libcap-ng
13
+
14
+%description
15
+Cifs-utils, a package of utilities for doing and managing mounts of the Linux CIFS filesystem.
16
+
17
+
18
+%package devel
19
+Summary:    The libraries and header files needed for Cifs-Utils development.
20
+Group:      Development/Libraries
21
+Requires:   cifs-utils = %{version}-%{release}
22
+
23
+%description devel
24
+Provides header files needed for Cifs-Utils development.
25
+
26
+%prep
27
+%setup -q 
28
+%build
29
+./configure --prefix=%{_prefix}
30
+
31
+make
32
+%install
33
+make DESTDIR=%{buildroot} install
34
+
35
+%files
36
+%defattr(-,root,root)
37
+/sbin/mount.cifs
38
+%{_mandir}/man8/mount.cifs.8.gz
39
+
40
+%files devel
41
+%defattr(-,root,root)
42
+%{_includedir}/cifsidmap.h
43
+
44
+%changelog
45
+*	Mon Jan 25 2016 Divya Thaluru <dthaluru@vmware.com> 6.4-1
46
+-	Initial build.	First version
... ...
@@ -52,6 +52,7 @@
52 52
         "wget",
53 53
         "gawk",
54 54
 	"irqbalance",
55
-        "lvm2"
55
+        "lvm2",
56
+        "cifs-utils"
56 57
     ]
57 58
 }
... ...
@@ -28,7 +28,7 @@
28 28
                 "libtirpc", "libtirpc-devel", "lsof", "nfs-utils", "cve-check-tool", "flannel", "rpm-build", "dkms", "openssl-perl", "openssl-c_rehash", "xinetd", "tftp", "tftp-server",
29 29
                 "audit","audit-devel","libcap-ng","libcap-ng-devel","tcp_wrappers","tcp_wrappers-devel", "apr-util-devel", "apr-util-ldap", 
30 30
                 "apr-util-pgsql", "apr-util-sqlite","openjre", "sshpass", "openjdk-src", "openjdk-sample", "openjdk-doc", "e2fsprogs-devel", "haproxy","libcap-devel",
31
-		"cython","python-lxml","python-pycparser","python-cffi","python-cryptography"]
31
+		"cython","python-lxml","python-pycparser","python-cffi","python-cryptography","cifs-utils","cifs-utils-devel"]
32 32
 }
33 33
 
34 34