This commit is contained in:
committed by
Git OBS Bridge
parent
17e45c7b44
commit
aec7edd7ae
110
mc.spec
110
mc.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package mc (Version 4.6.1)
|
||||
# spec file for package mc (Version 4.6.2.pre1)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@@ -16,46 +16,32 @@ BuildRequires: audiofile-devel docbook-toys e2fsprogs-devel fdupes glib2-devel
|
||||
License: GPL v2 or later
|
||||
Group: Productivity/File utilities
|
||||
PreReq: permissions
|
||||
Autoreqprov: on
|
||||
Version: 4.6.1
|
||||
Release: 127
|
||||
AutoReqProv: on
|
||||
Version: 4.6.2.pre1
|
||||
Release: 1
|
||||
Summary: Midnight Commander
|
||||
Source: mc-4.6.1.tar.bz2
|
||||
Source: mc-4.6.2-pre1.tar.bz2
|
||||
Source1: x11_browser
|
||||
Patch1: mc-CVS-utf8.patch
|
||||
Patch2: mc-CVS-utf8-fix.patch
|
||||
Patch3: mc-CVS-utf8-input.patch
|
||||
Patch4: mc-CVS-utf8-hint.patch
|
||||
Patch5: mc-CVS-utf8-help.patch
|
||||
Patch6: mc-CVS-msglen.patch
|
||||
Patch7: 00-70-utf8-common.patch
|
||||
Patch8: 00-72-utf8-dialog-title.patch
|
||||
Patch9: 00-73-utf8-bottom-buttons-width.patch
|
||||
Patch10: 00-74-utf8-dialog-filename-truncate.patch
|
||||
Patch11: 00-75-utf8-cmdline-help.patch
|
||||
Patch12: 00-76-utf8-hotlist-highlight.patch
|
||||
Patch13: 00-77-utf8-filename-search-highlight.patch
|
||||
Patch14: 00-78-utf8-filename-search-input.patch
|
||||
Patch15: 00-80-utf8-help-line-drawing-art.patch
|
||||
Patch16: mc-4.6.1-apps.patch
|
||||
Patch18: mc-4.6.1-palmsupport.patch
|
||||
Patch19: mc-4.6.1-word_docs.patch
|
||||
Patch20: mc-4.6.1-x11browser.diff
|
||||
Patch21: mc-4.6.1-no-nb.diff
|
||||
Patch22: mc-4.6.1-unrar-passwd.patch
|
||||
Patch23: mc-4.6.1-NULL.patch
|
||||
Patch24: mc-utf8-slang2.patch
|
||||
Patch25: mc-4.6.1-wrapper.patch
|
||||
Patch26: mc-4.6.1-long-panel.patch
|
||||
Patch27: mc-4.6.1-getpwuid.patch
|
||||
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
|
||||
Patch0: mc-utf8.patch
|
||||
Patch1: 00-70-utf8-common.patch
|
||||
Patch2: 00-73-utf8-bottom-buttons-width.patch
|
||||
Patch3: 00-75-utf8-cmdline-help.patch
|
||||
Patch4: 00-76-utf8-hotlist-highlight.patch
|
||||
Patch5: 00-77-utf8-filename-search-highlight.patch
|
||||
Patch6: mc-apps.patch
|
||||
Patch7: mc-palmsupport.patch
|
||||
Patch8: mc-word_docs.patch
|
||||
Patch9: mc-x11browser.diff
|
||||
Patch10: mc-no-nb.diff
|
||||
Patch11: mc-NULL.patch
|
||||
Patch12: mc-wrapper.patch
|
||||
Patch13: mc-getpwuid.patch
|
||||
Patch14: mc-syntax-hpp.patch
|
||||
Patch15: mc-utf8-nlink.patch
|
||||
Patch16: mc-esc-seq.patch
|
||||
Patch17: mc-rpm.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
URL: http://www.ibiblio.org/mc/
|
||||
Url: http://www.ibiblio.org/mc/
|
||||
Requires: %{name}-lang = %{version}
|
||||
|
||||
%description
|
||||
@@ -116,39 +102,25 @@ Authors:
|
||||
%define INSTALL_DATA install -m644
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n mc-4.6.2-pre1
|
||||
%patch0 -p 1
|
||||
%patch1 -p 1
|
||||
%patch2 -p 1
|
||||
%patch3 -p 1
|
||||
%patch4 -p 1
|
||||
%patch5 -p 1
|
||||
%patch6 -p 1
|
||||
%patch6
|
||||
%patch7 -p 1
|
||||
%patch8 -p 1
|
||||
%patch9 -p 1
|
||||
%patch10 -p 1
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%patch11 -p 1
|
||||
%patch12 -p 1
|
||||
%patch13 -p 1
|
||||
%patch14 -p 1
|
||||
%patch15 -p 1
|
||||
%patch12
|
||||
%patch13
|
||||
%patch14
|
||||
%patch15
|
||||
%patch16
|
||||
%patch18 -p 1
|
||||
%patch19
|
||||
%patch20
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p 1
|
||||
%patch24
|
||||
%patch25
|
||||
%patch26
|
||||
%patch27
|
||||
%patch28
|
||||
%patch29
|
||||
%patch30
|
||||
%patch31
|
||||
%patch32 -p1
|
||||
%patch33 -p1
|
||||
%patch17
|
||||
|
||||
%build
|
||||
pushd po
|
||||
@@ -166,7 +138,6 @@ iconv -f koi8-r -t utf8 -o mc.hint.ru.tmp mc.hint.ru && mv mc.hint.ru.tmp mc.hin
|
||||
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
|
||||
pushd doc
|
||||
pushd es
|
||||
@@ -203,6 +174,7 @@ export CFLAGS #LIBS _libdir
|
||||
--mandir=%{_mandir} \
|
||||
--prefix=%{_prefix} \
|
||||
--localstatedir=/var/lib \
|
||||
--libexecdir=%{_libdir} \
|
||||
--libdir=%{_libdir} \
|
||||
--enable-charset \
|
||||
--with-samba
|
||||
@@ -220,7 +192,6 @@ install -m 0644 lib/mc.sh lib/mc.csh %{buildroot}/etc/profile.d
|
||||
#support script for calling available GUI webbrosers
|
||||
install -m 755 %{SOURCE1} %{buildroot}/usr/share/mc/bin
|
||||
%{find_lang} %{name}
|
||||
|
||||
%fdupes -s $RPM_BUILD_ROOT/usr
|
||||
|
||||
%clean
|
||||
@@ -228,7 +199,6 @@ rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
%run_permissions
|
||||
|
||||
%verifyscript
|
||||
%verify_permissions -e /usr/lib/mc/cons.saver
|
||||
|
||||
@@ -250,8 +220,14 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/mc
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
||||
* Mon Nov 05 2007 - nadvornik@suse.cz
|
||||
- updated to 4.6.2-pre1
|
||||
* improved subshell handling
|
||||
* improved fish filesystem
|
||||
* a lot of other fixes and enhancements
|
||||
- updated UTF-8 patches using Fedora package
|
||||
- added support for weak rpm dependencies in VFS
|
||||
* Tue Aug 28 2007 - nadvornik@suse.cz
|
||||
- link duplicate files only inside /usr [#304167]
|
||||
* Sat Aug 11 2007 - olh@suse.de
|
||||
|
Reference in New Issue
Block a user