mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 01:54:24 +03:00
Ticket #4217: remove OS/distro-specific stuff.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
3ba4229508
commit
63d50df5d9
@ -572,12 +572,6 @@ AC_CONFIG_FILES([
|
|||||||
Makefile
|
Makefile
|
||||||
|
|
||||||
contrib/Makefile
|
contrib/Makefile
|
||||||
contrib/dist/Makefile
|
|
||||||
contrib/dist/gentoo/Makefile
|
|
||||||
contrib/dist/redhat/Makefile
|
|
||||||
contrib/dist/redhat/mc.spec
|
|
||||||
contrib/dist/pkginfo
|
|
||||||
contrib/dist/prototype
|
|
||||||
|
|
||||||
misc/Makefile
|
misc/Makefile
|
||||||
misc/mc.charsets
|
misc/mc.charsets
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
## Process this file with automake to create Makefile.in.
|
|
||||||
|
|
||||||
SUBDIRS = dist
|
|
||||||
|
|
||||||
noinst_DATA = README.xterm
|
noinst_DATA = README.xterm
|
||||||
|
|
||||||
|
8
contrib/dist/Makefile.am
vendored
8
contrib/dist/Makefile.am
vendored
@ -1,8 +0,0 @@
|
|||||||
SUBDIRS = gentoo redhat
|
|
||||||
|
|
||||||
EXTRA_DIST = pkginfo.in prototype.in
|
|
||||||
|
|
||||||
noinst_DATA = pkginfo prototype
|
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
|
||||||
|
|
1
contrib/dist/gentoo/Makefile.am
vendored
1
contrib/dist/gentoo/Makefile.am
vendored
@ -1 +0,0 @@
|
|||||||
noinst_DATA = README
|
|
39
contrib/dist/gentoo/README
vendored
39
contrib/dist/gentoo/README
vendored
@ -1,39 +0,0 @@
|
|||||||
Hi! Currently bleeding-edge mc-9999.ebuild (git)
|
|
||||||
hosts on repo.or.cz in overlay format:
|
|
||||||
|
|
||||||
git://repo.or.cz/slyfox-gentoo.git
|
|
||||||
|
|
||||||
In order to use it you need to perform some steps:
|
|
||||||
|
|
||||||
1. fetch overlay somewhere:
|
|
||||||
$ cd ~/portage/
|
|
||||||
$ git clone git://repo.or.cz/slyfox-gentoo.git
|
|
||||||
|
|
||||||
2. add overlay to your PM:
|
|
||||||
* portage:
|
|
||||||
$ cat /etc/make.conf | grep PORTDIR_OVERLAY
|
|
||||||
PORTDIR_OVERLAY="/home/slyfox/portage/slyfox-gentoo"
|
|
||||||
* paludis:
|
|
||||||
$ cat /etc/paludis/repositories/slyfox-gentoo.conf
|
|
||||||
location = ${ROOT}/home/slyfox/portage/slyfox-gentoo
|
|
||||||
master_repository = gentoo
|
|
||||||
format = ebuild
|
|
||||||
|
|
||||||
3. unmask unkeyworded ebuild:
|
|
||||||
* portage:
|
|
||||||
$ ACCEPT_KEYWORDS="~amd64 **" emerge -pv mc
|
|
||||||
or
|
|
||||||
$ cat /etc/portage/package.keywords | grep app-misc/mc
|
|
||||||
=app-misc/mc-9999 ~amd64 **
|
|
||||||
* paludis:
|
|
||||||
$ cat /etc/paludis/keywords.conf.d/mc.conf
|
|
||||||
=app-misc/mc-9999::slyfox-gentoo ~amd64 *
|
|
||||||
|
|
||||||
4. install ebuild the way you usually do it
|
|
||||||
|
|
||||||
5. update an overlay time to time:
|
|
||||||
$ cd ~/portage/slyfox-gentoo
|
|
||||||
$ git pull
|
|
||||||
|
|
||||||
Bugs/feature requests/patches are welcome: http://midnight-commander.org/
|
|
||||||
Have fun!
|
|
9
contrib/dist/pkginfo.in
vendored
9
contrib/dist/pkginfo.in
vendored
@ -1,9 +0,0 @@
|
|||||||
PKG=GNUmc
|
|
||||||
NAME=Midnight Commander visual shell
|
|
||||||
DESC=Midnight Commander visual shell
|
|
||||||
VENDOR=Free Software Foundation
|
|
||||||
VERSION=@VERSION@
|
|
||||||
CLASSES=none
|
|
||||||
CATEGORY=application
|
|
||||||
EMAIL=mc-devel@gnome.org
|
|
||||||
PSTAMP=20030205
|
|
130
contrib/dist/prototype.in
vendored
130
contrib/dist/prototype.in
vendored
@ -1,130 +0,0 @@
|
|||||||
#! /usr/bin/pkgmk -f
|
|
||||||
# Sun Solaris prototype file for pkgmk(1)
|
|
||||||
#
|
|
||||||
!prefix=@prefix@
|
|
||||||
!bindir=$prefix/bin
|
|
||||||
!libdir=$prefix/lib
|
|
||||||
!datadir=$prefix/share
|
|
||||||
!mandir=$prefix/man
|
|
||||||
!docdir=$prefix/doc
|
|
||||||
!search . $bindir $libdir $datadir $datadir/mc
|
|
||||||
i pkginfo=pkginfo
|
|
||||||
!default 755 root bin
|
|
||||||
l none $bindir/mcedit=mc
|
|
||||||
f none $bindir/mc
|
|
||||||
d none $libdir/mc
|
|
||||||
d none $datadir/mc
|
|
||||||
d none $datadir/mc/bin
|
|
||||||
d none $datadir/mc/extfs
|
|
||||||
d none $datadir/mc/syntax
|
|
||||||
d none $docdir/mc
|
|
||||||
#
|
|
||||||
!default 644 root bin
|
|
||||||
f none $datadir/mc/cedit.menu
|
|
||||||
f none $datadir/mc/edit.indent.rc
|
|
||||||
f none $datadir/mc/edit.spell.rc
|
|
||||||
f none $datadir/mc/mc.ext
|
|
||||||
f none $datadir/mc/mc.hint
|
|
||||||
f none $datadir/mc/mc.hint.cs
|
|
||||||
f none $datadir/mc/mc.hint.es
|
|
||||||
f none $datadir/mc/mc.hint.hu
|
|
||||||
f none $datadir/mc/mc.hint.it
|
|
||||||
f none $datadir/mc/mc.hint.nl
|
|
||||||
f none $datadir/mc/mc.hint.pl
|
|
||||||
f none $datadir/mc/mc.hint.ru
|
|
||||||
f none $datadir/mc/mc.hint.uk
|
|
||||||
f none $datadir/mc/mc.hint.zh
|
|
||||||
f none $datadir/mc/mc.hlp
|
|
||||||
f none $datadir/mc/mc.hlp.es
|
|
||||||
f none $datadir/mc/mc.hlp.hu
|
|
||||||
f none $datadir/mc/mc.hlp.it
|
|
||||||
f none $datadir/mc/mc.hlp.pl
|
|
||||||
f none $datadir/mc/mc.hlp.ru
|
|
||||||
f none $datadir/mc/mc.lib
|
|
||||||
f none $datadir/mc/mc.menu
|
|
||||||
#
|
|
||||||
!search $datadir/mc/bin
|
|
||||||
#
|
|
||||||
f none $datadir/mc/bin/mc.csh
|
|
||||||
f none $datadir/mc/bin/mc.sh
|
|
||||||
f none $datadir/mc/bin/mc-wrapper.csh
|
|
||||||
f none $datadir/mc/bin/mc-wrapper.sh
|
|
||||||
#
|
|
||||||
!search $datadir/mc/extfs
|
|
||||||
#
|
|
||||||
f none $datadir/mc/extfs/a
|
|
||||||
f none $datadir/mc/extfs/apt
|
|
||||||
f none $datadir/mc/extfs/audio
|
|
||||||
f none $datadir/mc/extfs/bpp
|
|
||||||
f none $datadir/mc/extfs/deb
|
|
||||||
f none $datadir/mc/extfs/deba
|
|
||||||
f none $datadir/mc/extfs/debd
|
|
||||||
f none $datadir/mc/extfs/dpkg
|
|
||||||
f none $datadir/mc/extfs/extfs.ini
|
|
||||||
f none $datadir/mc/extfs/hp48
|
|
||||||
f none $datadir/mc/extfs/lslR
|
|
||||||
f none $datadir/mc/extfs/mailfs
|
|
||||||
f none $datadir/mc/extfs/patchfs
|
|
||||||
f none $datadir/mc/extfs/README
|
|
||||||
f none $datadir/mc/extfs/rpm
|
|
||||||
f none $datadir/mc/extfs/rpms
|
|
||||||
f none $datadir/mc/extfs/sfs.ini
|
|
||||||
f none $datadir/mc/extfs/trpm
|
|
||||||
f none $datadir/mc/extfs/uar
|
|
||||||
f none $datadir/mc/extfs/uarj
|
|
||||||
f none $datadir/mc/extfs/uha
|
|
||||||
f none $datadir/mc/extfs/ulha
|
|
||||||
f none $datadir/mc/extfs/urar
|
|
||||||
f none $datadir/mc/extfs/uzip
|
|
||||||
f none $datadir/mc/extfs/uzoo
|
|
||||||
#
|
|
||||||
!search $datadir/mc/syntax
|
|
||||||
#
|
|
||||||
f none $datadir/mc/syntax/ada95.syntax
|
|
||||||
f none $datadir/mc/syntax/changelog.syntax
|
|
||||||
f none $datadir/mc/syntax/c.syntax
|
|
||||||
f none $datadir/mc/syntax/diff.syntax
|
|
||||||
f none $datadir/mc/syntax/dos.syntax
|
|
||||||
f none $datadir/mc/syntax/fortran.syntax
|
|
||||||
f none $datadir/mc/syntax/html.syntax
|
|
||||||
f none $datadir/mc/syntax/java.syntax
|
|
||||||
f none $datadir/mc/syntax/js.syntax
|
|
||||||
f none $datadir/mc/syntax/latex.syntax
|
|
||||||
f none $datadir/mc/syntax/lisp.syntax
|
|
||||||
f none $datadir/mc/syntax/lsm.syntax
|
|
||||||
f none $datadir/mc/syntax/m4.syntax
|
|
||||||
f none $datadir/mc/syntax/mail.syntax
|
|
||||||
f none $datadir/mc/syntax/makefile.syntax
|
|
||||||
f none $datadir/mc/syntax/ml.syntax
|
|
||||||
f none $datadir/mc/syntax/nroff.syntax
|
|
||||||
f none $datadir/mc/syntax/octave.syntax
|
|
||||||
f none $datadir/mc/syntax/pascal.syntax
|
|
||||||
f none $datadir/mc/syntax/perl.syntax
|
|
||||||
f none $datadir/mc/syntax/php.syntax
|
|
||||||
f none $datadir/mc/syntax/po.syntax
|
|
||||||
f none $datadir/mc/syntax/python.syntax
|
|
||||||
f none $datadir/mc/syntax/sh.syntax
|
|
||||||
f none $datadir/mc/syntax/slang.syntax
|
|
||||||
f none $datadir/mc/syntax/smalltalk.syntax
|
|
||||||
f none $datadir/mc/syntax/spec.syntax
|
|
||||||
f none $datadir/mc/syntax/sql.syntax
|
|
||||||
f none $datadir/mc/syntax/swig.syntax
|
|
||||||
f none $datadir/mc/syntax/Syntax
|
|
||||||
f none $datadir/mc/syntax/syntax.syntax
|
|
||||||
f none $datadir/mc/syntax/tcl.syntax
|
|
||||||
f none $datadir/mc/syntax/texinfo.syntax
|
|
||||||
f none $datadir/mc/syntax/unknown.syntax
|
|
||||||
f none $datadir/mc/syntax/xml.syntax
|
|
||||||
!search $docdir/mc
|
|
||||||
f none $docdir/mc/ABOUT-NLS
|
|
||||||
f none $docdir/mc/AUTHORS
|
|
||||||
f none $docdir/mc/ChangeLog
|
|
||||||
f none $docdir/mc/COPYING
|
|
||||||
f none $docdir/mc/FAQ
|
|
||||||
f none $docdir/mc/INSTALL
|
|
||||||
f none $docdir/mc/INSTALL.FAST
|
|
||||||
f none $docdir/mc/MAINTAINERS
|
|
||||||
f none $docdir/mc/NEWS
|
|
||||||
f none $docdir/mc/README
|
|
||||||
f none $docdir/mc/README.PC
|
|
||||||
f none $docdir/mc/README.QNX
|
|
3
contrib/dist/redhat/Makefile.am
vendored
3
contrib/dist/redhat/Makefile.am
vendored
@ -1,3 +0,0 @@
|
|||||||
EXTRA_DIST = mc.spec.in
|
|
||||||
|
|
||||||
noinst_DATA = mc.spec
|
|
357
contrib/dist/redhat/mc.spec.in
vendored
357
contrib/dist/redhat/mc.spec.in
vendored
@ -1,357 +0,0 @@
|
|||||||
# Note that this is NOT a relocatable package
|
|
||||||
|
|
||||||
%define legacy_rhel 0%{?el4}%{?el3}
|
|
||||||
|
|
||||||
%if %{legacy_rhel}
|
|
||||||
%define _with_screen --with-screen=ncurses
|
|
||||||
%define _with_glib_static --with-glib-static
|
|
||||||
%define glib_version 2.12
|
|
||||||
%define glib_stepping .3
|
|
||||||
%else
|
|
||||||
%define _with_screen --with-screen=slang
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%define mc_version @DISTR_VERSION@
|
|
||||||
%define mc_release @DISTR_RELEASE@
|
|
||||||
%define mc_tarball @VERSION@
|
|
||||||
|
|
||||||
Summary: User-friendly text console file manager and visual shell
|
|
||||||
Name: mc
|
|
||||||
Version: %{mc_version}
|
|
||||||
Release: %{mc_release}%{?dist}
|
|
||||||
Epoch: 3
|
|
||||||
License: GPL3+
|
|
||||||
Group: System Environment/Shells
|
|
||||||
Source0: %{name}-%{mc_tarball}.tar.gz
|
|
||||||
|
|
||||||
%if %{legacy_rhel}
|
|
||||||
Source1: http://ftp.gnome.org/pub/gnome/sources/glib/%{glib_version}/glib-%{glib_version}%{?glib_stepping}.tar.bz2
|
|
||||||
Patch0: glib2-CVE-2008-4316.patch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
URL: http://www.midnight-commander.org/
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildRequires: e2fsprogs-devel gpm-devel perl
|
|
||||||
|
|
||||||
%if %{legacy_rhel}%{?el5}
|
|
||||||
BuildRequires: pcre-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{legacy_rhel}
|
|
||||||
|
|
||||||
BuildRequires: ncurses-devel
|
|
||||||
|
|
||||||
# From Glib
|
|
||||||
BuildRequires: pkgconfig gettext
|
|
||||||
|
|
||||||
%else
|
|
||||||
BuildRequires: glib2-devel slang-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
|
||||||
GNU Midnight Commander is a visual file manager. It's a feature rich
|
|
||||||
full-screen text mode application that allows you to copy, move and
|
|
||||||
delete files and whole directory trees, search for files and run
|
|
||||||
commands in the subshell. Internal viewer and editor are included. Mouse
|
|
||||||
is supported on Linux console. VFS (Virtual Filesystem) allows you to
|
|
||||||
view archives and files on remote servers (via SAMBA, FTP or SSH).
|
|
||||||
|
|
||||||
%prep
|
|
||||||
|
|
||||||
%setup -q -n %{name}-%{mc_tarball}
|
|
||||||
|
|
||||||
%if %{legacy_rhel}
|
|
||||||
|
|
||||||
%setup -q -T -D -a 1 -n %{name}-%{mc_tarball}
|
|
||||||
|
|
||||||
cd glib-%{glib_version}%{?glib_stepping}
|
|
||||||
%patch0 -p1 -b .CVE-2008-4316
|
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
|
||||||
|
|
||||||
%if %{legacy_rhel}
|
|
||||||
|
|
||||||
pushd glib-%{glib_version}%{?glib_stepping}
|
|
||||||
RESULT_DIR=`pwd`/result
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--disable-gtk-doc \
|
|
||||||
--disable-shared \
|
|
||||||
--enable-static \
|
|
||||||
--prefix="$RESULT_DIR" \
|
|
||||||
--exec-prefix="$RESULT_DIR" \
|
|
||||||
--libdir="$RESULT_DIR/usr/%{_lib}"
|
|
||||||
|
|
||||||
%{__make} %{?_smp_mflags} CFLAGS="%{optflags} -fno-strict-aliasing" install
|
|
||||||
popd
|
|
||||||
|
|
||||||
PKG_CONFIG_PATH="$RESULT_DIR/usr/%{_lib}/pkgconfig:$PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH ;
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%configure \
|
|
||||||
%{_with_screen} \
|
|
||||||
%{?_with_glib_static} \
|
|
||||||
--enable-charset \
|
|
||||||
--enable-vfs-smb \
|
|
||||||
--without-x \
|
|
||||||
--with-gpm-mouse \
|
|
||||||
--disable-doxygen-doc
|
|
||||||
|
|
||||||
%{__make} %{?_smp_mflags} CFLAGS="%{optflags}"
|
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
make install DESTDIR="$RPM_BUILD_ROOT"
|
|
||||||
|
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
|
||||||
install contrib/{mc.sh,mc.csh} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
|
||||||
|
|
||||||
%find_lang %{name}
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
|
||||||
%defattr(-, root, root)
|
|
||||||
|
|
||||||
%doc doc/FAQ doc/COPYING doc/NEWS doc/README
|
|
||||||
%{_bindir}/mc
|
|
||||||
%{_bindir}/mcedit
|
|
||||||
%{_bindir}/mcview
|
|
||||||
%{_bindir}/mcdiff
|
|
||||||
|
|
||||||
%dir %{_libexecdir}/mc
|
|
||||||
%dir %{_libexecdir}/mc/extfs.d
|
|
||||||
%dir %{_libexecdir}/mc/fish
|
|
||||||
%attr(4511, vcsa, tty) %{_libexecdir}/mc/cons.saver
|
|
||||||
%{_libexecdir}/mc/mc*sh
|
|
||||||
%{_libexecdir}/mc/extfs.d/*
|
|
||||||
%{_libexecdir}/mc/fish/*
|
|
||||||
|
|
||||||
%{_mandir}/man1/*
|
|
||||||
%lang(es) %{_mandir}/es/man1/mc.1*
|
|
||||||
%lang(hu) %{_mandir}/hu/man1/mc.1*
|
|
||||||
%lang(it) %{_mandir}/it/man1/mc.1*
|
|
||||||
%lang(pl) %{_mandir}/pl/man1/mc.1*
|
|
||||||
%lang(ru) %{_mandir}/ru/man1/mc.1*
|
|
||||||
%lang(sr) %{_mandir}/sr/man1/mc.1*
|
|
||||||
|
|
||||||
%{_sysconfdir}/profile.d/*
|
|
||||||
|
|
||||||
%config(noreplace) %{_sysconfdir}/mc/filehighlight.ini
|
|
||||||
%config(noreplace) %{_sysconfdir}/mc/*edit*
|
|
||||||
%config(noreplace) %{_sysconfdir}/mc/mc.ext
|
|
||||||
%config(noreplace) %{_sysconfdir}/mc/mc.menu
|
|
||||||
%config(noreplace) %{_sysconfdir}/mc/mc.menu.*
|
|
||||||
%config(noreplace) %{_sysconfdir}/mc/sfs.ini
|
|
||||||
%config(noreplace) %{_sysconfdir}/mc/mc.keymap
|
|
||||||
%config(noreplace) %{_sysconfdir}/mc/mc.keymap.*
|
|
||||||
|
|
||||||
%dir %{_datadir}/mc
|
|
||||||
%{_datadir}/mc/*
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
|
|
||||||
* Fri Oct 14 2011 Slava Zanko <slavazanko@gmail.com>
|
|
||||||
- Changed License version
|
|
||||||
|
|
||||||
* Thu Jul 14 2011 Slava Zanko <slavazanko@gmail.com>
|
|
||||||
- Added %{_libexecdir}/mc/fish directory to spec file
|
|
||||||
|
|
||||||
* Thu Sep 16 2010 Andrew Borodin <aborodin@vmail.ru>
|
|
||||||
- Some files are installed now into %%{_datadir}/mc instead of %%{_sysconfdir}/mc.
|
|
||||||
|
|
||||||
* Wed Apr 28 2010 Yury V. Zaytsev <yury@shurup.com>
|
|
||||||
- Added mcdiff to the list of packaged files.
|
|
||||||
|
|
||||||
* Tue Feb 09 2010 Andrew Borodin <aborodin@vmail.ru>
|
|
||||||
- Fixed file list because of EXTFS VFS reorganizing.
|
|
||||||
|
|
||||||
* Wed Dec 30 2009 Yury V. Zaytsev <yury@shurup.com>
|
|
||||||
- Bumped the epoch again and changed the versioning scheme.
|
|
||||||
- Thanks to Slava Zanko for all his hard work on m4 vodoo!
|
|
||||||
|
|
||||||
* Fri Dec 25 2009 Yury V. Zaytsev <yury@shurup.com>
|
|
||||||
- Had to bump the epoch because of the braindead versioning scheme used.
|
|
||||||
|
|
||||||
* Fri Nov 27 2009 Yury V. Zaytsev <yury@shurup.com>
|
|
||||||
- Fixed debug info generation for legacy distros.
|
|
||||||
- Rewritten and simplified static build procedure.
|
|
||||||
|
|
||||||
* Mon Oct 26 2009 Andrew Borodin <aborodin@vmail.ru>
|
|
||||||
- Added new %%{_sysconfdir}/mc/mc.keymap.* files.
|
|
||||||
|
|
||||||
* Fri Sep 04 2009 Slava Zanko <slavazanko@gmail.com>
|
|
||||||
- Add new file %%{_sysconfdir}/mc/filehighlight.ini.
|
|
||||||
|
|
||||||
* Sat Aug 01 2009 Yury V. Zaytsev <yury@shurup.com>
|
|
||||||
- Fixed EL4 (and supposedly EL3) builds.
|
|
||||||
- Fixed some of the rpmlint warnings.
|
|
||||||
|
|
||||||
* Sat Jul 04 2009 Yury V. Zaytsev <yury@shurup.com>
|
|
||||||
- Fix the issue when wrappers were left unpackaged.
|
|
||||||
|
|
||||||
* Thu May 21 2009 Slava Zanko <slavazanko@gmail.com>
|
|
||||||
- Fix install patches: use %%{_sysconfdir}/mc directory.
|
|
||||||
|
|
||||||
* Fri May 8 2009 Slava Zanko <slavazanko@gmail.com>
|
|
||||||
- Reviewed spec-file to build on the current distributions.
|
|
||||||
- Changed build rules.
|
|
||||||
- Fixed install paths.
|
|
||||||
|
|
||||||
* Fri Jun 22 2007 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Made cons.saver suid vcsa, it's needed for Fedora 7.
|
|
||||||
|
|
||||||
* Thu Dec 21 2006 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Don't rely on brace expansion, it may be disabled.
|
|
||||||
|
|
||||||
* Mon Jan 30 2006 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Avoid using %%{_prefix} where more specialized macros are available.
|
|
||||||
|
|
||||||
* Tue Aug 02 2005 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Replace obsolete "Copyright" with "License".
|
|
||||||
|
|
||||||
* Thu Mar 31 2005 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Comment out build dependencies - they are too distribution specific.
|
|
||||||
|
|
||||||
* Tue Sep 23 2003 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Remove term directory, it's obsolete and irrelevant on modern systems.
|
|
||||||
- Include translated menu files.
|
|
||||||
|
|
||||||
* Sun Feb 16 2003 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Remove obsolete dependency on /sbin/chkconfig.
|
|
||||||
|
|
||||||
* Tue Dec 24 2002 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Work around bug in rpm 4.1 that expands defines in comments.
|
|
||||||
- Handle --without-x.
|
|
||||||
|
|
||||||
* Mon Nov 04 2002 Andrew V. Samoilov <sav@bcs.zp.ua>
|
|
||||||
- Handle --with ext2undel.
|
|
||||||
|
|
||||||
* Fri Nov 01 2002 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Add wrappers to support setting last directory on exit. Keep all
|
|
||||||
scripts in their original directory, just copy them.
|
|
||||||
|
|
||||||
* Tue Oct 22 2002 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Don't use the included S-Lang, there is a workaround for Red Hat 8.0
|
|
||||||
S-Lang, and binary compatibility with Red Hat 7.x doesn't work anyway.
|
|
||||||
|
|
||||||
* Tue Oct 08 2002 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Use the included S-Lang again, since we include a better version now.
|
|
||||||
This should avoid incompatibility with Red Hat 7.x.
|
|
||||||
- Add _with_glib2 option.
|
|
||||||
|
|
||||||
* Mon Oct 07 2002 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Remove installed mc.sh and mc.csh from %%{_prefix}/share/mc/bin to
|
|
||||||
suppress a warning about installed but unpackaged files.
|
|
||||||
|
|
||||||
* Mon Sep 30 2002 Andrew V. Samoilov <sav@bcs.zp.ua>
|
|
||||||
- Don't require slang-devel if _with_ncurses.
|
|
||||||
- Handle --with samba.
|
|
||||||
|
|
||||||
* Sun Sep 29 2002 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Use --with-screen instead of --with-ncurses and --with-included-slang.
|
|
||||||
|
|
||||||
* Mon Sep 23 2002 Andrew V. Samoilov <sav@bcs.zp.ua>
|
|
||||||
- Restore %%config for %%{_prefix}/share/mc/mc.charsets.
|
|
||||||
- Restore %%{_prefix}/share/mc/edit.spell.rc.
|
|
||||||
|
|
||||||
* Sat Sep 21 2002 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Use FHS-compliant paths.
|
|
||||||
- Drop %%config from files under /usr/share - users are not supposed to
|
|
||||||
edit them. Local copies under ~/.mc should be used for that.
|
|
||||||
|
|
||||||
* Wed Aug 21 2002 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Change description, update URLs, allow dash in the version.
|
|
||||||
|
|
||||||
* Tue Aug 20 2002 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Support conditional builds.
|
|
||||||
|
|
||||||
* Tue Aug 20 2002 Andrew V. Samoilov <sav@bcs.zp.ua>
|
|
||||||
- Add /usr/lib/mc/mc.charsets.
|
|
||||||
- Add %%{_mandir}/*/man1/*.
|
|
||||||
|
|
||||||
* Fri Aug 16 2002 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Remove mc.global.
|
|
||||||
|
|
||||||
* Mon Jan 21 2002 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Remove --with-gnome and --with-included-slang from configure options.
|
|
||||||
- Add BuildPrereq.
|
|
||||||
|
|
||||||
* Fri Aug 24 2001 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Remove gmc. Reunite mc and mc-common.
|
|
||||||
|
|
||||||
* Sun Aug 05 2001 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Set epoch.
|
|
||||||
|
|
||||||
* Sun Jul 15 2001 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Remove /usr/lib/mc/layout.
|
|
||||||
|
|
||||||
* Sat Jun 09 2001 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Use %%{_prefix} and %%{_mandir}. Specify --mandir to configure.
|
|
||||||
|
|
||||||
* Fri May 25 2001 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Change groups. Don't include locale directories. More config files.
|
|
||||||
|
|
||||||
* Sun May 20 2001 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Don't require stylesheets, since HTML files are now in the tarball.
|
|
||||||
|
|
||||||
* Thu Apr 19 2001 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Remove package mcserv. Drop dependency on PAM.
|
|
||||||
|
|
||||||
* Mon Feb 26 2001 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Remove mc-gnome.ext.
|
|
||||||
|
|
||||||
* Thu Jan 11 2001 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Include mcview.
|
|
||||||
|
|
||||||
* Mon Oct 23 2000 Pavel Roskin <proski@gnu.org>
|
|
||||||
- Allow mcserv.8 to be gzipped.
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* 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.
|
|
||||||
|
|
||||||
* Thu Sep 09 1999 Elliot Lee <sopwith@redhat.com>
|
|
||||||
- Include .idl files in the package.
|
|
||||||
|
|
||||||
* Sat Sep 04 1999 Gregory McLean <gregm@comstar.net>
|
|
||||||
- Added a build prereq so that rpms get built with documentation ;)
|
|
||||||
|
|
||||||
* Mon Jul 12 1999 Kjartan Maraas <kmaraas@online.no>
|
|
||||||
- Added help and locale files to %%files.
|
|
||||||
|
|
||||||
* Tue Jun 22 1999 Vladimir Kondratiev <vkondra@iil.intel.com>
|
|
||||||
- Added syntax files to %%files.
|
|
||||||
|
|
||||||
* 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.
|
|
||||||
|
|
||||||
* Sun Apr 18 1999 Gregory McLean <gregm@comstar.net>
|
|
||||||
- Updated the specfile, removed some kludges.
|
|
||||||
|
|
||||||
* 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.
|
|
||||||
|
|
||||||
* Sun Apr 19 1998 Marc Ewing <marc@redhat.com>
|
|
||||||
- Removed tkmc.
|
|
||||||
|
|
||||||
* Wed Apr 8 1998 Marc Ewing <marc@redhat.com>
|
|
||||||
- Add /usr/lib/mc/layout to gmc.
|
|
||||||
|
|
@ -3,9 +3,10 @@ dnl
|
|||||||
dnl Get current version of Midnight Commander from git tags
|
dnl Get current version of Midnight Commander from git tags
|
||||||
dnl
|
dnl
|
||||||
dnl @author Slava Zanko <slavazanko@gmail.com>
|
dnl @author Slava Zanko <slavazanko@gmail.com>
|
||||||
dnl @version 2009-12-30
|
dnl @version 2021-03-13
|
||||||
dnl @license GPL
|
dnl @license GPL
|
||||||
dnl @copyright Free Software Foundation, Inc.
|
dnl @copyright Free Software Foundation, Inc.
|
||||||
|
dnl @modified Andrew Borodin <aborodin@vmail.ru>
|
||||||
|
|
||||||
AC_DEFUN([mc_VERSION],[
|
AC_DEFUN([mc_VERSION],[
|
||||||
if test ! -f ${srcdir}/version.h; then
|
if test ! -f ${srcdir}/version.h; then
|
||||||
@ -18,21 +19,8 @@ AC_DEFUN([mc_VERSION],[
|
|||||||
fi
|
fi
|
||||||
AC_SUBST(VERSION)
|
AC_SUBST(VERSION)
|
||||||
|
|
||||||
dnl Version and Release without dashes for the distro packages
|
dnl Version without dashes for the man page
|
||||||
DISTR_VERSION=`echo $VERSION | sed 's/^\([[^\-]]*\).*/\1/'`
|
DISTR_VERSION=`echo $VERSION | sed 's/^\([[^\-]]*\).*/\1/'`
|
||||||
DISTR_RELEASE=`echo $VERSION | sed 's/^[[^\-]]*\-\(.*\)/\1/' | sed 's/-/./g'`
|
|
||||||
|
|
||||||
if test `echo $VERSION | grep -c '\-pre'` -ne 0; then
|
|
||||||
DISTR_RELEASE="0.$DISTR_RELEASE"
|
|
||||||
else
|
|
||||||
if test `echo $VERSION | grep -c '\-'` -eq 0; then
|
|
||||||
DISTR_RELEASE=1
|
|
||||||
else
|
|
||||||
DISTR_RELEASE="2.$DISTR_RELEASE"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(DISTR_VERSION)
|
AC_SUBST(DISTR_VERSION)
|
||||||
AC_SUBST(DISTR_RELEASE)
|
|
||||||
|
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user