diff --git a/mc.spec.in b/mc.spec.in index 9cba33f5f..d793b091d 100644 --- a/mc.spec.in +++ b/mc.spec.in @@ -3,6 +3,7 @@ # _with_ncurses - use ncurses # _with_included_slang - use included S-Lang library # _with_charset - enable experimental code for charset conversion +# _with_samba - enable SMB/CIFS virtual file system # Note that this is NOT a relocatable package %define ver @VERSION@ @@ -22,7 +23,7 @@ URL: http://www.ibiblio.org/mc/ BuildRoot: /var/tmp/mc-%{PACKAGE_VERSION}-root Prereq: /sbin/chkconfig BuildRequires: glib-devel -%{!?_with_included_slang:BuildRequires: slang-devel} +%{!?_with_included_slang:%{!?_with_ncurses:BuildRequires: slang-devel}} %{?_with_ncurses:BuildRequires: ncurses-devel} %description @@ -43,7 +44,8 @@ CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \ --mandir=%{_mandir} \ %{?_with_ncurses: --with-screen=ncurses} \ %{?_with_included_slang: --with-screen=mcslang} \ -%{?_with_charset: --enable-charset} +%{?_with_charset: --enable-charset} \ +%{?_with_samba: --with-samba} make @@ -94,6 +96,10 @@ rm -rf $RPM_BUILD_ROOT %dir %{_prefix}/share/mc/term %changelog +* Mon Sep 30 2002 Andrew V. Samoilov +- Don't require slang-devel if _with_ncurses. +- Add --with samba. + * Sun Sep 29 2002 Pavel Roskin - Use --with-screen instead of --with-ncurses and --with-included-slang.