Change description, update URLs, allow dash in the version.

This commit is contained in:
Pavel Roskin 2002-08-21 15:25:54 +00:00
parent e3319c5e37
commit dd0c714830

View File

@ -6,18 +6,19 @@
# Note that this is NOT a relocatable package # Note that this is NOT a relocatable package
%define ver @VERSION@ %define ver @VERSION@
%define rhver @RH_VERSION@
%define RELEASE 1 %define RELEASE 1
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
Summary: Midnight Commander visual shell Summary: Midnight Commander visual shell
Name: mc Name: mc
Version: %ver Version: %rhver
Release: %rel Release: %rel
Epoch: 1 Epoch: 1
Copyright: GPL Copyright: GPL
Group: Applications/File Group: Applications/File
Source0: ftp://ftp.gnome.org/mirror/gnome.org/stable/sources/mc/mc-%{PACKAGE_VERSION}.tar.gz Source0: ftp://ftp.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-%{ver}.tar.gz
URL: http://www.gnome.org/mc/ URL: http://www.ibiblio.org/mc/
BuildRoot: /var/tmp/mc-%{PACKAGE_VERSION}-root BuildRoot: /var/tmp/mc-%{PACKAGE_VERSION}-root
Prereq: /sbin/chkconfig Prereq: /sbin/chkconfig
BuildRequires: glib-devel BuildRequires: glib-devel
@ -25,13 +26,16 @@ BuildRequires: glib-devel
%{?_with_ncurses:BuildRequires: ncurses-devel} %{?_with_ncurses:BuildRequires: ncurses-devel}
%description %description
Midnight Commander is a visual shell much like a file manager, only with way GNU Midnight Commander is a visual file manager. It's a feature rich
more features. It is text mode, but also includes mouse support if you are full-screen text mode application that allows you to copy, move and
running GPM. Its coolest feature is the ability to ftp, view tar, zip delete files and whole directory trees, search for files and run
files, and poke into RPMs for specific files. :-) commands in the subshell. Internal viewer and editor are included.
Mouse is supported under X Window System and on Linux console. VFS
(Virtual Filesystem) allows you to view archives and files on remote
servers.
%prep %prep
%setup -q %setup -q -n mc-%{ver}
%build %build
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \ CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
@ -88,6 +92,9 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_prefix}/lib/mc/syntax %dir %{_prefix}/lib/mc/syntax
%changelog %changelog
* 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> * Tue Aug 20 2002 Pavel Roskin <proski@gnu.org>
- Support conditional builds. - Support conditional builds.