1998-04-01 21:40:17 +04:00
|
|
|
|
# Note that this is NOT a relocatable package
|
1999-02-28 05:52:05 +03:00
|
|
|
|
%define ver @VERSION@
|
1999-07-30 00:09:31 +04:00
|
|
|
|
%define RELEASE 1
|
|
|
|
|
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
|
1998-04-01 21:40:17 +04:00
|
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
|
Summary: Midnight Commander visual shell
|
|
|
|
|
Name: mc
|
1998-04-01 21:40:17 +04:00
|
|
|
|
Version: %ver
|
|
|
|
|
Release: %rel
|
2001-08-05 09:31:47 +04:00
|
|
|
|
Epoch: 1
|
1998-02-27 07:54:42 +03:00
|
|
|
|
Copyright: GPL
|
2001-05-26 02:33:20 +04:00
|
|
|
|
Group: Applications/File
|
2001-05-18 22:44:51 +04:00
|
|
|
|
Source0: ftp://ftp.gnome.org/mirror/gnome.org/stable/sources/mc/mc-%{PACKAGE_VERSION}.tar.gz
|
1998-09-18 22:25:30 +04:00
|
|
|
|
URL: http://www.gnome.org/mc/
|
1999-02-22 00:27:08 +03:00
|
|
|
|
BuildRoot: /var/tmp/mc-%{PACKAGE_VERSION}-root
|
1998-02-27 07:54:42 +03:00
|
|
|
|
Prereq: /sbin/chkconfig
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Midnight Commander is a visual shell much like a file manager, only with way
|
|
|
|
|
more features. It is text mode, but also includes mouse support if you are
|
|
|
|
|
running GPM. Its coolest feature is the ability to ftp, view tar, zip
|
|
|
|
|
files, and poke into RPMs for specific files. :-)
|
|
|
|
|
|
|
|
|
|
%prep
|
1999-07-05 16:05:59 +04:00
|
|
|
|
%setup -q
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
|
|
%build
|
1999-01-15 22:18:09 +03:00
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
|
2001-06-11 16:19:10 +04:00
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
|
--with-included-slang \
|
1998-04-01 21:40:17 +04:00
|
|
|
|
--with-gnome \
|
1999-02-28 05:52:05 +03:00
|
|
|
|
--sysconfdir=/etc
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
1998-04-01 21:40:17 +04:00
|
|
|
|
if [ "$SMP" != "" ]; then
|
|
|
|
|
(make "MAKE=make -k -j $SMP"; exit 0)
|
|
|
|
|
make
|
|
|
|
|
else
|
|
|
|
|
make
|
|
|
|
|
fi
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
|
|
%install
|
1999-02-28 05:52:05 +03:00
|
|
|
|
echo $RPM_BUILD_ROOT
|
1998-02-27 07:54:42 +03:00
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2000-09-30 22:52:12 +04:00
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2001-04-19 20:42:32 +04:00
|
|
|
|
install -d $RPM_BUILD_ROOT/etc/profile.d
|
2001-06-17 07:10:23 +04:00
|
|
|
|
install lib/mc.sh $RPM_BUILD_ROOT/etc/profile.d
|
|
|
|
|
install lib/mc.csh $RPM_BUILD_ROOT/etc/profile.d
|
1999-02-28 05:52:05 +03:00
|
|
|
|
|
|
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
|
%clean
|
1999-07-13 13:56:27 +04:00
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
|
|
%files
|
1998-04-01 21:40:17 +04:00
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
|
|
|
|
|
%doc FAQ COPYING NEWS README
|
2001-06-11 16:19:10 +04:00
|
|
|
|
%{_prefix}/bin/mc
|
|
|
|
|
%{_prefix}/bin/mcedit
|
|
|
|
|
%{_prefix}/bin/mcview
|
|
|
|
|
%{_prefix}/lib/mc/bin/cons.saver
|
|
|
|
|
%{_prefix}/lib/mc/term/*
|
|
|
|
|
%{_mandir}/man1/*
|
2000-09-30 22:52:12 +04:00
|
|
|
|
%config /etc/profile.d/*
|
2001-06-11 16:19:10 +04:00
|
|
|
|
%dir %{_prefix}/lib/mc/bin
|
|
|
|
|
%dir %{_prefix}/lib/mc/term
|
2000-09-30 22:52:12 +04:00
|
|
|
|
|
|
|
|
|
%defattr(-, root, root)
|
2001-06-11 16:19:10 +04:00
|
|
|
|
%{_prefix}/bin/mcmfmt
|
|
|
|
|
%config %{_prefix}/lib/mc/cedit.menu
|
|
|
|
|
%config %{_prefix}/lib/mc/edit.indent.rc
|
|
|
|
|
%config %{_prefix}/lib/mc/extfs/*
|
|
|
|
|
%config %{_prefix}/lib/mc/mc.ext
|
|
|
|
|
%config %{_prefix}/lib/mc/mc.lib
|
|
|
|
|
%config %{_prefix}/lib/mc/mc.menu
|
|
|
|
|
%{_prefix}/lib/mc/mc.hint*
|
|
|
|
|
%{_prefix}/lib/mc/mc.hlp*
|
|
|
|
|
%{_prefix}/lib/mc/syntax/*
|
|
|
|
|
%{_prefix}/share/locale/*/LC_MESSAGES/*
|
1999-07-13 02:41:33 +04:00
|
|
|
|
%config /etc/mc.global
|
2001-06-11 16:19:10 +04:00
|
|
|
|
%dir %{_prefix}/lib/mc
|
|
|
|
|
%dir %{_prefix}/lib/mc/extfs
|
|
|
|
|
%dir %{_prefix}/lib/mc/syntax
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
|
|
%changelog
|
2001-08-25 00:53:14 +04:00
|
|
|
|
* Fri Aug 24 2001 Pavel Roskin <proski@gnu.org>
|
|
|
|
|
- Remove gmc. Reunite mc and mc-common.
|
|
|
|
|
|
2001-08-05 09:31:47 +04:00
|
|
|
|
* Sun Aug 05 2001 Pavel Roskin <proski@gnu.org>
|
|
|
|
|
- Set epoch.
|
|
|
|
|
|
2001-07-15 11:27:17 +04:00
|
|
|
|
* Sun Jul 15 2001 Pavel Roskin <proski@gnu.org>
|
|
|
|
|
- Remove /usr/lib/mc/layout.
|
|
|
|
|
|
2001-06-11 16:19:10 +04:00
|
|
|
|
* Sat Jun 09 2001 Pavel Roskin <proski@gnu.org>
|
|
|
|
|
- Use %{_prefix} and %{_mandir}. Specify --mandir to configure.
|
|
|
|
|
|
2001-05-26 02:33:20 +04:00
|
|
|
|
* Fri May 25 2001 Pavel Roskin <proski@gnu.org>
|
|
|
|
|
- Change groups. Don't include locale directories. More config files.
|
|
|
|
|
|
2001-05-20 11:44:07 +04:00
|
|
|
|
* Sun May 20 2001 Pavel Roskin <proski@gnu.org>
|
|
|
|
|
- Don't require stylesheets, since HTML files are now in the tarball.
|
|
|
|
|
|
2001-04-19 20:42:32 +04:00
|
|
|
|
* Thu Apr 19 2001 Pavel Roskin <proski@gnu.org>
|
|
|
|
|
- Remove package mcserv. Drop dependency on PAM.
|
|
|
|
|
|
2001-02-27 00:26:03 +03:00
|
|
|
|
* Mon Feb 26 2001 Pavel Roskin <proski@gnu.org>
|
|
|
|
|
- Remove mc-gnome.ext.
|
|
|
|
|
|
2001-01-11 20:08:02 +03:00
|
|
|
|
* Thu Jan 11 2001 Pavel Roskin <proski@gnu.org>
|
|
|
|
|
- Include mcview.
|
|
|
|
|
|
2000-10-24 00:24:58 +04:00
|
|
|
|
* Mon Oct 23 2000 Pavel Roskin <proski@gnu.org>
|
|
|
|
|
- Allow mcserv.8 to be gzipped.
|
|
|
|
|
|
2000-09-30 22:52:12 +04:00
|
|
|
|
* Sat Sep 30 2000 Pavel Roskin <proski@gnu.org>
|
|
|
|
|
- New package mc-common.
|
|
|
|
|
- Use DESTDIR instead of misusing prefix.
|
|
|
|
|
- Don't install old icons - they don't exist
|
|
|
|
|
|
2000-09-23 21:24:08 +04:00
|
|
|
|
* Sat Sep 23 2000 Pavel Roskin <proski@gnu.org>
|
|
|
|
|
- Include translations with mc, not gmc
|
|
|
|
|
- chkconfig --del in %preun, not %postun
|
|
|
|
|
- --without-debug not needed
|
|
|
|
|
- /etc/X11/wmconfig not needed
|
|
|
|
|
- /etc/pam.d/mcserv shouldn't be executable
|
|
|
|
|
- New files in %{prefix}/lib/mc/ - translated hints, editor files
|
|
|
|
|
|
1999-09-10 01:26:11 +04:00
|
|
|
|
* Thu Sep 09 1999 Elliot Lee <sopwith@redhat.com>
|
|
|
|
|
- Include .idl files in the package.
|
|
|
|
|
|
1999-09-05 00:50:00 +04:00
|
|
|
|
* Sat Sep 04 1999 Gregory McLean <gregm@comstar.net>
|
|
|
|
|
- Added a build prereq so that rpms get built with documentation ;)
|
|
|
|
|
|
1999-07-12 20:16:01 +04:00
|
|
|
|
* Mon Jul 12 1999 Kjartan Maraas <kmaraas@online.no>
|
|
|
|
|
- added help and locale files to %files
|
|
|
|
|
|
1999-06-22 23:49:24 +04:00
|
|
|
|
* Tue Jun 22 1999 Vladimir Kondratiev <vkondra@iil.intel.com>
|
|
|
|
|
- added syntax files to %files
|
|
|
|
|
|
1999-05-26 23:54:06 +04:00
|
|
|
|
* Wed May 26 1999 Cody Russell <bratsche@dfw.net>
|
|
|
|
|
- chmod cons.saver at $RPM_BUILD_ROOT%{prefix}/lib rather than at
|
|
|
|
|
$RPM_BUILD_ROOT/usr/lib. We can now install to somewhere other than /usr.
|
|
|
|
|
|
1999-04-19 01:53:29 +04:00
|
|
|
|
* Sun Apr 18 1999 Gregory McLean <gregm@comstar.net>
|
|
|
|
|
- Updated the specfile, removed some kludges.
|
|
|
|
|
|
1998-08-20 23:07:50 +04:00
|
|
|
|
* Thu Aug 20 1998 Michael Fulbright <msf@redhat.com>
|
|
|
|
|
- rebuilt against gnome-libs 0.27 and gtk+-1.1
|
|
|
|
|
|
|
|
|
|
* Thu Jul 09 1998 Michael Fulbright <msf@redhat.com>
|
|
|
|
|
- made cons.saver not setuid
|
|
|
|
|
|
1998-04-19 22:49:32 +04:00
|
|
|
|
* Sun Apr 19 1998 Marc Ewing <marc@redhat.com>
|
|
|
|
|
- removed tkmc
|
|
|
|
|
|
1998-04-08 22:31:43 +04:00
|
|
|
|
* Wed Apr 8 1998 Marc Ewing <marc@redhat.com>
|
|
|
|
|
- add /usr/lib/mc/layout to gmc
|
|
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
|
* Tue Dec 23 1997 Tomasz K<EFBFBD>oczko <kloczek@rudy.mif.pg.gda.pl>
|
|
|
|
|
- added --without-debug to configure,
|
|
|
|
|
- modification in %build and %install and cosmetic modification in packages
|
|
|
|
|
headers,
|
|
|
|
|
- added %%{PACKAGE_VERSION} macro to Buildroot,
|
|
|
|
|
- removed "rm -rf $RPM_BUILD_ROOT" from %prep.
|
|
|
|
|
- removed Packager field.
|
|
|
|
|
|
|
|
|
|
* Thu Dec 18 1997 Michele Marziani <marziani@fe.infn.it>
|
|
|
|
|
- Merged spec file with that from RedHat-5.0 distribution
|
|
|
|
|
(now a Hurricane-based distribution is needed)
|
|
|
|
|
- Added patch for RPM script (didn't always work with rpm-2.4.10)
|
|
|
|
|
- Corrected patch for mcserv init file (chkconfig init levels)
|
|
|
|
|
- Added more documentation files on termcap, terminfo, xterm
|
|
|
|
|
|
|
|
|
|
* Thu Oct 30 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
|
|
|
|
|
|
- Added dependency on portmap
|
|
|
|
|
|
|
|
|
|
* Wed Oct 29 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
|
|
|
|
|
|
- fixed spec file.
|
|
|
|
|
- Updated to 4.1.8
|
|
|
|
|
|
|
|
|
|
* Sun Oct 26 1997 Tomasz K<EFBFBD>oczko <kloczek@rudy.mif.pg.gda.pl>
|
|
|
|
|
|
|
|
|
|
- updated to 4.1.6
|
|
|
|
|
- added %attr macros in %files,
|
|
|
|
|
- a few simplification in %install,
|
|
|
|
|
- removed glibc patch,
|
|
|
|
|
- fixed installing /etc/X11/wmconfig/tkmc.
|
|
|
|
|
|
|
|
|
|
* Thu Oct 23 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
|
|
|
|
|
|
- updated to 4.1.5
|
|
|
|
|
- added wmconfig
|
|
|
|
|
|
|
|
|
|
* Wed Oct 15 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
|
|
|
|
|
|
- chkconfig is for mcserv package, not mc one
|
|
|
|
|
|
|
|
|
|
* Tue Oct 14 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
|
|
|
|
|
|
- patched init script for chkconfig
|
|
|
|
|
- don't turn on the service by default
|
|
|
|
|
|
|
|
|
|
* Fri Oct 10 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
|
|
|
|
|
|
- Converted to new PAM conventions.
|
|
|
|
|
- Updated to 4.1.3
|
|
|
|
|
- No longer needs glibc patch.
|
|
|
|
|
|
|
|
|
|
* Thu May 22 1997 Michele Marziani <marziani@fe.infn.it>
|
|
|
|
|
|
|
|
|
|
- added support for mc alias in /etc/profile.d/mc.csh (for csh and tcsh)
|
|
|
|
|
- lowered number of SysV init scripts in /etc/rc.d/rc[0,1,6].d
|
|
|
|
|
(mcserv needs to be killed before inet)
|
|
|
|
|
- removed all references to $RPM_SOURCE_DIR
|
|
|
|
|
- restored $RPM_OPT_FLAGS when compiling
|
|
|
|
|
- minor cleanup of spec file: redundant directives and comments removed
|
|
|
|
|
|
|
|
|
|
* Sun May 18 1997 Michele Marziani <marziani@fe.infn.it>
|
|
|
|
|
|
|
|
|
|
- removed all references to non-existent mc.rpmfs
|
|
|
|
|
- added mcedit.1 to the %files section
|
|
|
|
|
- reverted to un-gzipped man pages (RedHat style)
|
|
|
|
|
- removed double install line for mcserv.pamd
|
|
|
|
|
|
|
|
|
|
* Tue May 13 1997 Tomasz K<EFBFBD>oczko <kloczek@rudy.mif.pg.gda.pl>
|
|
|
|
|
|
|
|
|
|
- added new rpmfs script,
|
|
|
|
|
- removed mcfn_install from mc (adding mc() to bash enviroment is in
|
|
|
|
|
/etc/profile.d/mc.sh),
|
|
|
|
|
- /etc/profile.d/mc.sh changed to %config,
|
|
|
|
|
- removed /usr/lib/mc/bin/create_vcs,
|
|
|
|
|
- removed /usr/lib/mc/term.
|
|
|
|
|
|
|
|
|
|
* Wed May 9 1997 Tomasz K<EFBFBD>oczko <kloczek@rudy.mif.pg.gda.pl>
|
|
|
|
|
|
|
|
|
|
- changed source url,
|
|
|
|
|
- fixed link mcedit to mc,
|
|
|
|
|
|
|
|
|
|
* Tue May 7 1997 Tomasz K<EFBFBD>oczko <kloczek@rudy.mif.pg.gda.pl>
|
|
|
|
|
|
|
|
|
|
- new version 3.5.27,
|
|
|
|
|
- %dir /usr/lib/mc/icons and icons removed from tkmc,
|
|
|
|
|
- added commented xmc part.
|
|
|
|
|
|
|
|
|
|
* Tue Apr 22 1997 Tomasz K<EFBFBD>oczko <kloczek@rudy.mif.pg.gda.pl>
|
|
|
|
|
|
|
|
|
|
- FIX spec:
|
|
|
|
|
- added URL field,
|
|
|
|
|
- in mc added missing /usr/lib/mc/mc.ext, /usr/lib/mc/mc.hint,
|
|
|
|
|
/usr/lib/mc/mc.hlp, /usr/lib/mc/mc.lib, /usr/lib/mc/mc.menu.
|
|
|
|
|
|
|
|
|
|
* Fri Apr 18 1997 Tomasz K<EFBFBD>oczko <kloczek@rudy.mif.pg.gda.pl>
|
|
|
|
|
|
|
|
|
|
- added making packages: tkmc, mcserv (xmc not work yet),
|
|
|
|
|
- gziped man pages,
|
|
|
|
|
- added /etc/pamd.d/mcserv PAM config file.
|
|
|
|
|
- added instaling icons,
|
|
|
|
|
- added /etc/profile.d/mc.sh,
|
|
|
|
|
- in %doc added NEWS README,
|
|
|
|
|
- removed /usr/lib/mc/FAQ,
|
|
|
|
|
- added mcserv.init script for mcserv (start/stop on level 86).
|