1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r13127: more spec file fixes for RHEL

(This used to be commit 8217809d86)
This commit is contained in:
Gerald Carter 2006-01-25 05:27:23 +00:00 committed by Gerald (Jerry) Carter
parent c4307da13b
commit 0bd71d77cb

View File

@ -4,9 +4,9 @@
Summary: Samba SMB client and server Summary: Samba SMB client and server
Vendor: Samba Team Vendor: Samba Team
Packager: Samba Team <samba@samba.org> Packager: Samba Team <samba@samba.org>
Name: samba Name: samba
Version: PVERSION Version: PVERSION
Release: PRELEASE Release: PRELEASE
License: GNU GPL version 2 License: GNU GPL version 2
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://www.samba.org/ URL: http://www.samba.org/
@ -117,16 +117,14 @@ CFLAGS="$RPM_OPT_FLAGS $EXTRA -D_GNU_SOURCE" ./configure \
--with-swatdir=%{_datadir}/swat \ --with-swatdir=%{_datadir}/swat \
--enable-cups \ --enable-cups \
--with-acl-support \ --with-acl-support \
--with-ads \
--with-automount \ --with-automount \
--with-fhs \ --with-fhs \
--with-pam_smbpass \ --with-pam_smbpass \
--with-libsmbclient \ --with-libsmbclient \
--with-libsmbsharemodes \ --with-libsmbsharemodes \
--without-smbwrapper \
--with-pam \ --with-pam \
--with-quotas \ --with-quotas \
--with-shared-modules=idmap_rid \ --with-shared-modules=idmap_rid,idmap_ad \
--with-smbmount \ --with-smbmount \
--with-syslog \ --with-syslog \
--with-utmp --with-utmp
@ -215,8 +213,8 @@ ln -s /%{_libdir}/libmsrpc.so $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so.0
install -m755 source/bin/pam_smbpass.so $RPM_BUILD_ROOT/%{_lib}/security/pam_smbpass.so install -m755 source/bin/pam_smbpass.so $RPM_BUILD_ROOT/%{_lib}/security/pam_smbpass.so
# we need a symlink for mount to recognise the smb and smbfs filesystem types # we need a symlink for mount to recognise the smb and smbfs filesystem types
ln -sf %{_prefix}/sbin/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs ln -sf %{_prefix}/bin/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
ln -sf %{_prefix}/sbin/smbmount $RPM_BUILD_ROOT/sbin/mount.smb ln -sf %{_prefix}/bin/smbmount $RPM_BUILD_ROOT/sbin/mount.smb
# Install the miscellany # Install the miscellany
echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
@ -404,12 +402,12 @@ fi
%{_libdir}/libsmbclient.a %{_libdir}/libsmbclient.a
%{_libdir}/libsmbclient.so %{_libdir}/libsmbclient.so
%{_libdir}/libsmbclient.so.0 %{_libdir}/libsmbclient.so.0
%{_prefix}/lib/*
%{_includedir}/libmsrpc.h %{_includedir}/libmsrpc.h
%{_libdir}/libmsrpc.a %{_libdir}/libmsrpc.a
%{_libdir}/libmsrpc.so %{_libdir}/libmsrpc.so
%{_libdir}/libmsrpc.so.0
%{_libdir}/samba/charset/CP*.so %{_libdir}/samba/charset/CP*.so
%{_libdir}/samba/idmap/idmap*.so %{_libdir}/samba/idmap/*.so
%{_libdir}/samba/auth/script.so %{_libdir}/samba/auth/script.so
%{_bindir}/testparm %{_bindir}/testparm
%{_bindir}/smbpasswd %{_bindir}/smbpasswd