auto-import mc-4.6.0-9 from mc-4.6.0-9.src.rpm

This commit is contained in:
cvsdist 2004-09-09 08:30:58 +00:00
parent 3ec922f915
commit 9e19474682

25
mc.spec
View File

@ -1,13 +1,12 @@
Summary: User-friendly text console file manager and visual shell.
Name: mc
Version: 4.6.0
Release: 8.4
Release: 9
Epoch: 1
License: GPL
Group: System Environment/Shells
Source0: http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-%{version}.tar.gz
Source1: mc-cvs-uzip
Source2: mc-php.syntax
URL: http://www.ibiblio.org/mc/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: gpm-devel, slang-devel, glib2-devel
@ -23,7 +22,6 @@ Patch6: mc-4.6.0-pre3-nocpio.patch
Patch7: mc-4.6.0-slang.patch
Patch8: mc-4.6.0-utf8.patch
Patch9: mc-CVE-CAN-2003-1023.patch
Patch10: mc-4.6.0-large_syntax.patch
%description
Midnight Commander is a visual shell much like a file manager, only
@ -58,9 +56,6 @@ cp -f %{SOURCE1} vfs/extfs
%patch9 -p1 -b .vfs-fix
# handle big syntax files
%patch10 -p1 -b .large_syntax
%build
export CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $RPM_OPT_FLAGS"
%configure --sysconfdir=%{_sysconfdir} --with-screen=slang
@ -77,9 +72,6 @@ install lib/{mc.sh,mc.csh} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
# no longer works for 4.6.0, need to evaluate
## install -m 644 lib/mc.global $RPM_BUILD_ROOT%{_sysconfdir}
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/mc/syntax/php.syntax
chmod 644 $RPM_BUILD_ROOT%{_datadir}/mc/syntax/php.syntax
for I in /etc/pam.d/mcserv \
/etc/rc.d/init.d/mcserv \
/etc/mc.global; do
@ -106,19 +98,8 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_datadir}/mc
%changelog
* Sat Jan 31 2004 Jakub Jelinek <jakub@redhat.com> 4.6.0-8.4
- fix previous patch
* Fri Jan 30 2004 Jakub Jelinek <jakub@redhat.com> 4.6.0-8.3
- update php.syntax file (#112645)
- fix crash with large syntax file (#112644)
* Fri Jan 23 2004 Jakub Jelinek <jakub@redhat.com> 4.6.0-8.2
- update CAN-2003-1023 fix to still make vfs symlinks relative,
but with bounds checking
* Sat Jan 17 2004 Warren Togami <wtogami@redhat.com> 4.6.0-8.1
- rebuild for FC1
* Sat Jan 17 2004 Warren Togami <wtogami@redhat.com> 4.6.0-9
- rebuild
* Sat Jan 17 2004 Warren Togami <wtogami@redhat.com> 4.6.0-7
- BuildRequires glib2-devel, slang-devel, XFree86-devel,