summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-10-12 20:01:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:04:57 -0500
commite38768333b3d2ee256c058c9fd5270c1891bbe77 (patch)
tree270775303405931e3077e99ae51abc65b4897d15 /packaging
parentbd87876a8bbefaed700884653ffcc5e1567cac96 (diff)
downloadsamba-e38768333b3d2ee256c058c9fd5270c1891bbe77.tar.gz
samba-e38768333b3d2ee256c058c9fd5270c1891bbe77.tar.bz2
samba-e38768333b3d2ee256c058c9fd5270c1891bbe77.zip
r10933: include mount.cifs in Fedora spec file (based on patch from smk_va@yahoo.com)
(This used to be commit 37bcb8d17ab958e8f5961c5ade44c93b6b41f732)
Diffstat (limited to 'packaging')
-rw-r--r--packaging/Fedora/samba.spec.tmpl9
1 files changed, 6 insertions, 3 deletions
diff --git a/packaging/Fedora/samba.spec.tmpl b/packaging/Fedora/samba.spec.tmpl
index ba9b2768e6..b2bfffff74 100644
--- a/packaging/Fedora/samba.spec.tmpl
+++ b/packaging/Fedora/samba.spec.tmpl
@@ -125,7 +125,10 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure \
--enable-cups=yes
make showlayout
make proto
-make %{?_smp_mflags} all modules nsswitch/libnss_wins.so debug2html
+make %{?_smp_mflags} all modules nsswitch/libnss_wins.so
+
+## build the cifs fs mount helper
+gcc -o mount.cifs $RPM_OPT_FLAGS -Wall -D_GNU_SOURCE -D_LARGEFILE64_SOURCE client/mount.cifs
%install
@@ -153,6 +156,7 @@ install -m755 %{SOURCE8} $RPM_BUILD_ROOT%{_bindir}
install -m644 %{SOURCE7} $RPM_BUILD_ROOT/etc/pam.d/samba
install -m644 %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/samba
install -m755 source/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir}
+install -m755 source/client/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs
install -m755 %{SOURCE5} $RPM_BUILD_ROOT%{initdir}/smb
install -m755 %{SOURCE6} $RPM_BUILD_ROOT%{initdir}/winbind
@@ -204,8 +208,6 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbsh.1*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/smbget.1*
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/smbgetrc.5*
-rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/mount.cifs.8*
-rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/umount.cifs.8*
rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/testprns.1*
%clean
@@ -311,6 +313,7 @@ fi
%defattr(-,root,root)
/sbin/mount.smb
/sbin/mount.smbfs
+/sbin/mount.cifs
%{_libdir}/samba/lowcase.dat
%{_libdir}/samba/upcase.dat
%{_libdir}/samba/valid.dat