mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Sat Feb 27 21:00:45 1999 Gregory McLean <gregm@comstar.net>
* applied a patch from Duncan Mak <mustapha@wegythu.res.cmu.edu> to get the mc spec file to work. * hacked configure to generate a properly versioned spec file.
This commit is contained in:
parent
927dd2ffd8
commit
3481777d46
@ -1,3 +1,9 @@
|
|||||||
|
Sat Feb 27 21:00:45 1999 Gregory McLean <gregm@comstar.net>
|
||||||
|
|
||||||
|
* applied a patch from Duncan Mak <mustapha@wegythu.res.cmu.edu>
|
||||||
|
to get the mc spec file to work.
|
||||||
|
* hacked configure to generate a properly versioned spec file.
|
||||||
|
|
||||||
Fri Feb 26 22:06:51 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
|
Fri Feb 26 22:06:51 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
|
||||||
|
|
||||||
* gtkedit/editcmd.c (menu_save_mode_cmd): translate strings for
|
* gtkedit/editcmd.c (menu_save_mode_cmd): translate strings for
|
||||||
|
@ -1233,6 +1233,7 @@ dnl
|
|||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
Make.common
|
Make.common
|
||||||
Makefile
|
Makefile
|
||||||
|
mc.spec
|
||||||
VERSION
|
VERSION
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
vfs/Makefile:vfs/Make-mc.in
|
vfs/Makefile:vfs/Make-mc.in
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
# Note that this is NOT a relocatable package
|
# Note that this is NOT a relocatable package
|
||||||
%define ver 4.5.16
|
%define ver @VERSION@
|
||||||
%define prefix /usr
|
%define rel 1
|
||||||
|
%define prefix /usr
|
||||||
|
|
||||||
Summary: Midnight Commander visual shell
|
Summary: Midnight Commander visual shell
|
||||||
Name: mc
|
Name: mc
|
||||||
@ -46,7 +47,8 @@ Midnight file system (currently, only the Midnight Commander file manager).
|
|||||||
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
|
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
|
||||||
--prefix=%{prefix} \
|
--prefix=%{prefix} \
|
||||||
--with-gnome \
|
--with-gnome \
|
||||||
--without-debug
|
--without-debug \
|
||||||
|
--sysconfdir=/etc
|
||||||
|
|
||||||
if [ "$SMP" != "" ]; then
|
if [ "$SMP" != "" ]; then
|
||||||
(make "MAKE=make -k -j $SMP"; exit 0)
|
(make "MAKE=make -k -j $SMP"; exit 0)
|
||||||
@ -56,9 +58,12 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
echo $RPM_BUILD_ROOT
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,profile.d,X11/wmconfig}
|
install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,profile.d,X11/wmconfig}
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/CORBA/servers
|
||||||
|
|
||||||
make prefix=$RPM_BUILD_ROOT%{prefix} install
|
make prefix=$RPM_BUILD_ROOT%{prefix} install
|
||||||
(cd icons; make prefix=$RPM_BUILD_ROOT%{prefix} install_icons)
|
(cd icons; make prefix=$RPM_BUILD_ROOT%{prefix} install_icons)
|
||||||
install lib/mcserv.init $RPM_BUILD_ROOT/etc/rc.d/init.d/mcserv
|
install lib/mcserv.init $RPM_BUILD_ROOT/etc/rc.d/init.d/mcserv
|
||||||
@ -66,6 +71,10 @@ install lib/mcserv.init $RPM_BUILD_ROOT/etc/rc.d/init.d/mcserv
|
|||||||
install lib/mcserv.pamd $RPM_BUILD_ROOT/etc/pam.d/mcserv
|
install lib/mcserv.pamd $RPM_BUILD_ROOT/etc/pam.d/mcserv
|
||||||
install lib/{mc.sh,mc.csh} $RPM_BUILD_ROOT/etc/profile.d
|
install lib/{mc.sh,mc.csh} $RPM_BUILD_ROOT/etc/profile.d
|
||||||
|
|
||||||
|
#musta's kludge
|
||||||
|
install gnome/gmc.gnorba $RPM_BUILD_ROOT/etc/CORBA/servers/gmc.gnorba
|
||||||
|
|
||||||
|
|
||||||
# clean up this setuid problem for now
|
# clean up this setuid problem for now
|
||||||
chmod 755 $RPM_BUILD_ROOT/usr/lib/mc/bin/cons.saver
|
chmod 755 $RPM_BUILD_ROOT/usr/lib/mc/bin/cons.saver
|
||||||
|
|
||||||
@ -113,10 +122,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{prefix}/lib/mc/mc-gnome.ext
|
%{prefix}/lib/mc/mc-gnome.ext
|
||||||
%{prefix}/share/pixmaps/mc/*
|
%{prefix}/share/pixmaps/mc/*
|
||||||
%{prefix}/share/mime-info/mc.keys
|
%{prefix}/share/mime-info/mc.keys
|
||||||
%dir %{prefix}/etc
|
%config %{prefix}/../etc/CORBA/servers/gmc.gnorba
|
||||||
%dir %{prefix}/etc/CORBA
|
|
||||||
%dir %{prefix}/etc/CORBA/servers
|
|
||||||
%config %{prefix}/etc/CORBA/servers/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Aug 20 1998 Michael Fulbright <msf@redhat.com>
|
* Thu Aug 20 1998 Michael Fulbright <msf@redhat.com>
|
Loading…
Reference in New Issue
Block a user