- Don't require slang-devel if _with_ncurses.

- Add --with samba.
This commit is contained in:
Andrew V. Samoilov 2002-09-30 15:52:33 +00:00
parent dc880cb7d0
commit 4d76025a3a

View File

@ -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 <sav@bcs.zp.ua>
- Don't require slang-devel if _with_ncurses.
- Add --with samba.
* Sun Sep 29 2002 Pavel Roskin <proski@gnu.org>
- Use --with-screen instead of --with-ncurses and --with-included-slang.