Accepting request 247770 from home:dnh:branches:Base:System
update to 4.8.13 OBS-URL: https://build.opensuse.org/request/show/247770 OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=91
This commit is contained in:
committed by
Git OBS Bridge
parent
a9bda74bf9
commit
3d0335a94e
24
mc.spec
24
mc.spec
@@ -21,7 +21,7 @@ Summary: Midnight Commander
|
||||
License: GPL-3.0+
|
||||
Group: Productivity/File utilities
|
||||
Url: http://midnight-commander.org/
|
||||
Version: 4.8.12
|
||||
Version: 4.8.13
|
||||
Release: 0
|
||||
|
||||
#Git-Clone: git://github.com/MidnightCommander/mc
|
||||
@@ -31,7 +31,8 @@ Source2: %{name}.desktop
|
||||
Source3: %{name}.png
|
||||
Source4: cmake.syntax
|
||||
Source5: mc-rpmlintrc
|
||||
Patch18: mc-Syntax.cmake.patch
|
||||
# fixed upstream, disable for now, remove with next update
|
||||
#Patch18: mc-Syntax.cmake.patch
|
||||
Patch0: mc-fix_lib_search_path.patch
|
||||
Patch61: mc-extd-misc.patch
|
||||
Patch62: mc-extd-video.patch
|
||||
@@ -118,7 +119,7 @@ isoinfo (from mkisofs) or xorriso for the iso:// extension.
|
||||
%patch12
|
||||
%patch16
|
||||
%patch17 -p1
|
||||
%patch18
|
||||
#%patch18
|
||||
%patch20
|
||||
%patch21
|
||||
%patch22 -p1
|
||||
@@ -159,6 +160,14 @@ ln -fs -t %{buildroot}%{_sysconfdir}/profile.d %{_datadir}/mc/mc.{,c}sh
|
||||
#support script for calling available GUI webbrosers
|
||||
install -m 755 %{SOURCE1} %{buildroot}%{_datadir}/mc/
|
||||
install -D -m 644 %{S:3} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
||||
install -D -m 644 %{S:3} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
||||
|
||||
for f in ext.d/misc.sh ext.d/sound.sh ext.d/video.sh \
|
||||
extfs.d/gitfs+ extfs.d/uace extfs.d/uarc ;
|
||||
do
|
||||
sed -i -e '1s@bin/sh@bin/bash@' "%{buildroot}%{_libexecdir}/mc/${f}"
|
||||
done
|
||||
|
||||
%suse_update_desktop_file -i %name System FileManager
|
||||
# Remove not supported language
|
||||
rm -rf %{buildroot}%{_datadir}/locale/be@tarask
|
||||
@@ -193,7 +202,9 @@ rm -rf %{buildroot}%{_datadir}/locale/be@tarask
|
||||
%config %{_sysconfdir}/mc/mc.default.keymap
|
||||
%config %{_sysconfdir}/mc/mc.emacs.keymap
|
||||
%config %{_sysconfdir}/mc/edit.indent.rc
|
||||
#(!)dir #{_libexecdir}/mc
|
||||
%dir %{_libexecdir}/mc
|
||||
%{_libexecdir}/mc/ext.d
|
||||
%{_libexecdir}/mc/extfs.d
|
||||
%verify(not mode) %{_libexecdir}/mc/cons.saver
|
||||
%{_mandir}/man1/*
|
||||
%exclude %{_mandir}/*/man1/*
|
||||
@@ -201,7 +212,6 @@ rm -rf %{buildroot}%{_datadir}/locale/be@tarask
|
||||
%{_datadir}/mc/syntax/Syntax
|
||||
%{_datadir}/mc/mc.charsets
|
||||
%{_datadir}/mc/mc.lib
|
||||
%{_libexecdir}/mc
|
||||
%{_datadir}/mc/hints/mc.hint
|
||||
%exclude %{_datadir}/mc/hints/mc.hint.*
|
||||
%{_datadir}/mc/help/mc.hlp
|
||||
@@ -211,6 +221,10 @@ rm -rf %{buildroot}%{_datadir}/locale/be@tarask
|
||||
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
%dir %{_datadir}/icons/hicolor
|
||||
%dir %{_datadir}/icons/hicolor/32x32
|
||||
%dir %{_datadir}/icons/hicolor/32x32/apps
|
||||
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
||||
%exclude %{_sysconfdir}/mc/mc.menu.*
|
||||
|
||||
%files lang -f %name.lang
|
||||
|
Reference in New Issue
Block a user