This commit is contained in:
committed by
Git OBS Bridge
parent
b2b10412c2
commit
c02f994271
26
mc.spec
26
mc.spec
@@ -18,7 +18,7 @@ Group: Productivity/File utilities
|
||||
PreReq: permissions
|
||||
Autoreqprov: on
|
||||
Version: 4.6.1
|
||||
Release: 116
|
||||
Release: 118
|
||||
Summary: Midnight Commander
|
||||
Source: mc-4.6.1.tar.bz2
|
||||
Source1: x11_browser
|
||||
@@ -52,6 +52,8 @@ Patch28: mc-4.6.1-syntax-hpp.patch
|
||||
Patch29: mc-utf8-nlink.patch
|
||||
Patch30: mc-4.6.1-bash-all.patch
|
||||
Patch31: mc-4.6.1-esc-seq.patch
|
||||
Patch32: mc.umode_t.patch
|
||||
Patch33: mc.vfs_dirent-offsetof.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
URL: http://www.ibiblio.org/mc/
|
||||
Requires: %{name}-lang = %{version}
|
||||
@@ -145,9 +147,14 @@ Authors:
|
||||
%patch29
|
||||
%patch30
|
||||
%patch31
|
||||
cd po
|
||||
%patch32 -p1
|
||||
%patch33 -p1
|
||||
|
||||
%build
|
||||
pushd po
|
||||
rename no nb no.*
|
||||
cd ../lib
|
||||
popd
|
||||
pushd lib
|
||||
iconv -f iso8859-1 -t utf-8 -o mc.hint.tmp mc.hint && mv mc.hint.tmp mc.hint
|
||||
iconv -f iso8859-1 -t utf-8 -o mc.hint.es.tmp mc.hint.es && mv mc.hint.es.tmp mc.hint.es
|
||||
iconv -f iso8859-1 -t utf-8 -o mc.hint.it.tmp mc.hint.it && mv mc.hint.it.tmp mc.hint.it
|
||||
@@ -158,9 +165,10 @@ iconv -f iso8859-2 -t utf-8 -o mc.hint.pl.tmp mc.hint.pl && mv mc.hint.pl.tmp mc
|
||||
iconv -f koi8-r -t utf8 -o mc.hint.ru.tmp mc.hint.ru && mv mc.hint.ru.tmp mc.hint.ru
|
||||
iconv -f koi8-u -t utf8 -o mc.hint.uk.tmp mc.hint.uk && mv mc.hint.uk.tmp mc.hint.uk
|
||||
iconv -f big5 -t utf8 -o mc.hint.zh.tmp mc.hint.zh && mv mc.hint.zh.tmp mc.hint.zh
|
||||
popd
|
||||
|
||||
# convert docs to utf-8
|
||||
cd ../doc
|
||||
pushd doc
|
||||
pushd es
|
||||
iconv -f iso8859-1 -t utf-8 -o mc.1.in.tmp mc.1.in && mv mc.1.in.tmp mc.1.in
|
||||
iconv -f iso8859-1 -t utf-8 -o xnc.hlp.tmp xnc.hlp && mv xnc.hlp.tmp xnc.hlp
|
||||
@@ -181,8 +189,7 @@ pushd ru
|
||||
iconv -f koi8-r -t utf-8 -o mc.1.in.tmp mc.1.in && mv mc.1.in.tmp mc.1.in
|
||||
iconv -f koi8-r -t utf-8 -o xnc.hlp.tmp xnc.hlp && mv xnc.hlp.tmp xnc.hlp
|
||||
popd
|
||||
|
||||
%build
|
||||
popd
|
||||
autoreconf --force --install
|
||||
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security -Wno-unused-parameter
|
||||
%if %suse_version > 1000
|
||||
@@ -199,7 +206,7 @@ export CFLAGS #LIBS _libdir
|
||||
--libdir=%{_libdir} \
|
||||
--enable-charset \
|
||||
--with-samba
|
||||
make
|
||||
make %{?jobs:-j%{jobs}}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
@@ -245,6 +252,11 @@ rm -rf %{buildroot}
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
||||
* Sat Aug 11 2007 - olh@suse.de
|
||||
- remove umode_t checks
|
||||
use offsetof() in vfs-impl.h
|
||||
build parallel
|
||||
move iconv updates to build section to fix quilt setup -v *.spec
|
||||
* Tue Aug 07 2007 - maw@suse.de
|
||||
- Use %%fdupes
|
||||
- Split off a -lang subpackage.
|
||||
|
Reference in New Issue
Block a user