- significant UTF8 update

This commit is contained in:
Jindrich Novy 2004-10-20 15:27:59 +00:00
parent 633a8b0177
commit fe59d95ad2
3 changed files with 27 additions and 24 deletions

View File

@ -1,3 +1,4 @@
mc-4.6.1-20040906.tar.bz2 mc-4.6.1-20040906.tar.bz2
mc-4.6.1-20041008.tar.bz2 mc-4.6.1-20041008.tar.bz2
mc-4.6.1-20041015.tar.bz2 mc-4.6.1-20041015.tar.bz2
mc-4.6.1-20041020.tar.bz2

48
mc.spec
View File

@ -1,27 +1,29 @@
Summary: User-friendly text console file manager and visual shell. Summary: User-friendly text console file manager and visual shell.
Name: mc Name: mc
Version: 4.6.1 Version: 4.6.1
Release: 0.7 Release: 0.8
Epoch: 1 Epoch: 1
License: GPL License: GPL
Group: System Environment/Shells Group: System Environment/Shells
#Source0: http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-%{version}.tar.gz #Source0: http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-%{version}.tar.gz
%define date 20041015 %define date 20041020
Source0: mc-%{version}-%{date}.tar.bz2 Source0: mc-%{version}-%{date}.tar.bz2
Source1: mc-php.syntax
URL: http://www.ibiblio.org/mc/ URL: http://www.ibiblio.org/mc/
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: gpm-devel, slang-devel, glib2-devel BuildRequires: gpm-devel, slang-devel, glib2-devel
BuildRequires: XFree86-devel, e2fsprogs-devel, gettext BuildRequires: XFree86-devel, e2fsprogs-devel, gettext, gettext-devel
Requires: dev >= 0:3.3-3 Requires: dev >= 0:3.3-3
Patch1: mc-CVS-smallpatches.patch Patch1: mc-CVS-smallpatches.patch
Patch2: mc-CVS-utf8.patch Patch2: mc-CVS-utf8.patch
Patch3: mc-CVS-uglydir.patch Patch3: mc-CVS-utf8-fix.patch
Patch4: mc-CVS-utf8-hint.patch Patch4: mc-CVS-utf8-hint.patch
Patch5: mc-CVS-strippwd.patch Patch5: mc-CVS-utf8-input.patch
Patch6: mc-CVS-extensions.patch Patch6: mc-CVS-uglydir.patch
Patch7: mc-CVS-extfs.patch Patch7: mc-CVS-strippwd.patch
Patch8: mc-CVS-extensions.patch
Patch9: mc-CVS-extfs.patch
Patch10: mc-CVS-8bitdefault.patch
%description %description
Midnight Commander is a visual shell much like a file manager, only Midnight Commander is a visual shell much like a file manager, only
@ -34,19 +36,15 @@ poke into RPMs for specific files.
%setup -q -n mc-%{version}-%{date} %setup -q -n mc-%{version}-%{date}
%patch1 -p1 -b .smallpatches %patch1 -p1 -b .smallpatches
# partially done UTF-8ization
%patch2 -p1 -b .utf8 %patch2 -p1 -b .utf8
%patch3 -p1 -b .utf8-fix
%patch3 -p1 -b .utf8-hint %patch4 -p1 -b .utf8-hint
%patch5 -p1 -b .utf8-input
%patch4 -p1 -b .uglydir %patch6 -p1 -b .uglydir
%patch7 -p1 -b .strippwd
%patch5 -p1 -b .strippwd %patch8 -p1 -b .extensions
%patch9 -p1 -b .extfs
%patch6 -p1 -b .extensions %patch10 -p1 -b .8bitdefault
%patch7 -p1 -b .extfs
# convert original files to UTF8 # convert original files to UTF8
pushd lib pushd lib
@ -95,9 +93,6 @@ install lib/{mc.sh,mc.csh} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
# no longer works for 4.6.0, need to evaluate # no longer works for 4.6.0, need to evaluate
## install -m 644 lib/mc.global $RPM_BUILD_ROOT%{_sysconfdir} ## install -m 644 lib/mc.global $RPM_BUILD_ROOT%{_sysconfdir}
cp %{SOURCE1} $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 \ for I in /etc/pam.d/mcserv \
/etc/rc.d/init.d/mcserv \ /etc/rc.d/init.d/mcserv \
/etc/mc.global; do /etc/mc.global; do
@ -125,6 +120,13 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_datadir}/mc %dir %{_datadir}/mc
%changelog %changelog
* Tue Oct 20 2004 Jindrich Novy <jnovy@redhat.com> 4.6.4-0.8
- update from CVS
- drop mc-php.syntax, more recent version in upstream
- add utf8-input patch
- sync strippwd, uglydir, extensions patches with upstream
- add 8bitdefault patch to enable 8-bit input by default
* Fri Oct 15 2004 Jindrich Novy <jnovy@redhat.com> 4.6.4-0.7 * Fri Oct 15 2004 Jindrich Novy <jnovy@redhat.com> 4.6.4-0.7
- update from CVS - update from CVS
- sync strippwd patch with upstream - sync strippwd patch with upstream

View File

@ -1 +1 @@
d29d42e80e8bbcf2d7c0790139a988a6 mc-4.6.1-20041015.tar.bz2 2f6c3f24832a00083006a81d9c273870 mc-4.6.1-20041020.tar.bz2