1 # Note that this is NOT a relocatable package
4 %define rel
%{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
6 Summary: Midnight Commander visual shell
12 Group: Applications
/File
13 Source0: ftp
://ftp.gnome.org
/mirror
/gnome.org
/stable
/sources
/mc
/mc
-%{PACKAGE_VERSION}.tar.gz
14 URL: http
://www.gnome.org
/mc
/
15 BuildRoot: /var
/tmp
/mc
-%{PACKAGE_VERSION}-root
16 Prereq
: /sbin
/chkconfig
17 BuildPrereq
: glib
-devel
, slang
-devel
20 Midnight Commander is a visual shell much like a file manager
, only with way
21 more features. It is text mode
, but also includes mouse support
if you are
22 running GPM. Its coolest feature is the ability to ftp
, view tar
, zip
23 files
, and poke into RPMs
for specific files.
:-)
29 CFLAGS
="$RPM_OPT_FLAGS" LDFLAGS
="
-s" .
/configure \
34 if [ "$SMP"
!= ""
]; then
35 (make "MAKE
=make -k
-j $SMP"
; exit 0)
43 rm -rf $RPM_BUILD_ROOT
44 make install DESTDIR
=$RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT
/etc
/profile.d
46 install lib
/mc.sh $RPM_BUILD_ROOT
/etc
/profile.d
47 install lib
/mc.csh $RPM_BUILD_ROOT
/etc
/profile.d
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(-, root
, root
)
56 %doc FAQ COPYING NEWS README
60 %{_prefix}/lib
/mc
/bin
/cons.saver
61 %{_prefix}/lib
/mc
/term
/*
63 %config /etc
/profile.d
/*
64 %dir %{_prefix}/lib
/mc
/bin
65 %dir %{_prefix}/lib
/mc
/term
67 %defattr(-, root
, root
)
69 %config %{_prefix}/lib
/mc
/cedit.menu
70 %config %{_prefix}/lib
/mc
/edit.indent.rc
71 %config %{_prefix}/lib
/mc
/extfs
/*
72 %config %{_prefix}/lib
/mc
/mc.ext
73 %config %{_prefix}/lib
/mc
/mc.lib
74 %config %{_prefix}/lib
/mc
/mc.menu
75 %{_prefix}/lib
/mc
/mc.hint
*
76 %{_prefix}/lib
/mc
/mc.hlp
*
77 %{_prefix}/lib
/mc
/syntax
/*
78 %{_prefix}/share
/locale
/*/LC_MESSAGES
/*
79 %dir %{_prefix}/lib
/mc
80 %dir %{_prefix}/lib
/mc
/extfs
81 %dir %{_prefix}/lib
/mc
/syntax
84 * Fri Aug
16 2002 Pavel Roskin
<proski@gnu.org
>
87 * Mon Jan
21 2002 Pavel Roskin
<proski@gnu.org
>
88 - Remove
--with
-gnome and
--with
-included
-slang from configure options.
91 * Fri Aug
24 2001 Pavel Roskin
<proski@gnu.org
>
92 - Remove gmc. Reunite mc and mc
-common.
94 * Sun Aug
05 2001 Pavel Roskin
<proski@gnu.org
>
97 * Sun Jul
15 2001 Pavel Roskin
<proski@gnu.org
>
98 - Remove
/usr
/lib
/mc
/layout.
100 * Sat Jun
09 2001 Pavel Roskin
<proski@gnu.org
>
101 - Use
%{_prefix} and %{_mandir}. Specify
--mandir to configure.
103 * Fri May
25 2001 Pavel Roskin
<proski@gnu.org
>
104 - Change groups. Don't include locale directories. More config files.
106 * Sun May
20 2001 Pavel Roskin
<proski@gnu.org
>
107 - Don't require stylesheets
, since HTML files are now
in the tarball.
109 * Thu Apr
19 2001 Pavel Roskin
<proski@gnu.org
>
110 - Remove package mcserv. Drop dependency on PAM.
112 * Mon Feb
26 2001 Pavel Roskin
<proski@gnu.org
>
113 - Remove mc
-gnome.ext.
115 * Thu Jan
11 2001 Pavel Roskin
<proski@gnu.org
>
118 * Mon Oct
23 2000 Pavel Roskin
<proski@gnu.org
>
119 - Allow mcserv
.8 to be gzipped.
121 * Sat Sep
30 2000 Pavel Roskin
<proski@gnu.org
>
122 - New package mc
-common.
123 - Use DESTDIR instead of misusing prefix.
124 - Don't
install old icons
- they don't exist
126 * Sat Sep
23 2000 Pavel Roskin
<proski@gnu.org
>
127 - Include translations with mc
, not gmc
128 - chkconfig
--del
in %preun, not
%postun
129 - --without
-debug not needed
130 - /etc
/X11
/wmconfig not needed
131 - /etc
/pam.d
/mcserv shouldn't be executable
132 - New files
in %{prefix}/lib
/mc
/ - translated hints
, editor files
134 * Thu Sep
09 1999 Elliot Lee
<sopwith@redhat.com
>
135 - Include .idl files
in the package.
137 * Sat Sep
04 1999 Gregory McLean
<gregm@comstar.net
>
138 - Added a build prereq so that rpms get built with documentation
;)
140 * Mon Jul
12 1999 Kjartan Maraas
<kmaraas@online.no
>
141 - added
help and locale files to
%files
143 * Tue Jun
22 1999 Vladimir Kondratiev
<vkondra@iil.intel.com
>
144 - added syntax files to
%files
146 * Wed May
26 1999 Cody Russell
<bratsche@dfw.net
>
147 - chmod cons.saver at $RPM_BUILD_ROOT
%{prefix}/lib rather than at
148 $RPM_BUILD_ROOT
/usr
/lib. We can now
install to somewhere other than
/usr.
150 * Sun Apr
18 1999 Gregory McLean
<gregm@comstar.net
>
151 - Updated the specfile
, removed some kludges.
153 * Thu Aug
20 1998 Michael Fulbright
<msf@redhat.com
>
154 - rebuilt against gnome
-libs
0.27 and gtk
+-1.1
156 * Thu Jul
09 1998 Michael Fulbright
<msf@redhat.com
>
157 - made cons.saver not setuid
159 * Sun Apr
19 1998 Marc Ewing
<marc@redhat.com
>
162 * Wed Apr
8 1998 Marc Ewing
<marc@redhat.com
>
163 - add
/usr
/lib
/mc
/layout to gmc
165 * Tue Dec
23 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
166 - added
--without
-debug to configure
,
167 - modification
in %build and
%install and cosmetic modification
in packages
169 - added %
%{PACKAGE_VERSION} macro to
Buildroot,
170 - removed "
rm -rf $RPM_BUILD_ROOT" from
%prep.
171 - removed
Packager field.
173 * Thu Dec
18 1997 Michele Marziani
<marziani@fe.infn.it
>
174 - Merged spec file with that from RedHat
-5.0 distribution
175 (now a Hurricane
-based distribution is needed
)
176 - Added patch
for RPM script
(didn't always work with rpm
-2.4.10)
177 - Corrected patch
for mcserv init file
(chkconfig init levels
)
178 - Added more documentation files on termcap
, terminfo
, xterm
180 * Thu Oct
30 1997 Michael K. Johnson
<johnsonm@redhat.com
>
182 - Added dependency on portmap
184 * Wed Oct
29 1997 Michael K. Johnson
<johnsonm@redhat.com
>
189 * Sun Oct
26 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
192 - added
%attr macros
in %files,
193 - a few simplification
in %install,
194 - removed glibc patch
,
195 - fixed installing
/etc
/X11
/wmconfig
/tkmc.
197 * Thu Oct
23 1997 Michael K. Johnson
<johnsonm@redhat.com
>
202 * Wed Oct
15 1997 Erik Troan
<ewt@redhat.com
>
204 - chkconfig is
for mcserv package
, not mc one
206 * Tue Oct
14 1997 Erik Troan
<ewt@redhat.com
>
208 - patched init script
for chkconfig
209 - don't turn on the service by default
211 * Fri Oct
10 1997 Michael K. Johnson
<johnsonm@redhat.com
>
213 - Converted to new PAM conventions.
215 - No longer needs glibc patch.
217 * Thu May
22 1997 Michele Marziani
<marziani@fe.infn.it
>
219 - added support
for mc
alias in /etc
/profile.d
/mc.csh
(for csh and tcsh
)
220 - lowered number of SysV init scripts
in /etc
/rc.d
/rc
[0,1,6].d
221 (mcserv needs to be killed before inet
)
222 - removed all references to $RPM_SOURCE_DIR
223 - restored $RPM_OPT_FLAGS when compiling
224 - minor cleanup of spec file
: redundant directives and comments removed
226 * Sun May
18 1997 Michele Marziani
<marziani@fe.infn.it
>
228 - removed all references to non
-existent mc.rpmfs
229 - added mcedit
.1 to the
%files section
230 - reverted to un
-gzipped man pages
(RedHat style
)
231 - removed double
install line
for mcserv.pamd
233 * Tue May
13 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
235 - added new rpmfs script
,
236 - removed mcfn_install from mc
(adding mc
() to bash enviroment is
in
237 /etc
/profile.d
/mc.sh
),
238 - /etc
/profile.d
/mc.sh changed to
%config,
239 - removed
/usr
/lib
/mc
/bin
/create_vcs
,
240 - removed
/usr
/lib
/mc
/term.
242 * Wed May
9 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
244 - changed
source url
,
245 - fixed link mcedit to mc
,
247 * Tue May
7 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
249 - new version
3.5.27,
250 - %dir /usr
/lib
/mc
/icons and icons removed from tkmc
,
251 - added commented xmc part.
253 * Tue Apr
22 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
257 - in mc added missing
/usr
/lib
/mc
/mc.ext
, /usr
/lib
/mc
/mc.hint
,
258 /usr
/lib
/mc
/mc.hlp
, /usr
/lib
/mc
/mc.lib
, /usr
/lib
/mc
/mc.menu.
260 * Fri Apr
18 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
262 - added making packages
: tkmc
, mcserv
(xmc not work yet
),
264 - added
/etc
/pamd.d
/mcserv PAM config file.
265 - added instaling icons
,
266 - added
/etc
/profile.d
/mc.sh
,
267 - in %doc added NEWS README
,
268 - removed
/usr
/lib
/mc
/FAQ
,
269 - added mcserv.init script
for mcserv
(start
/stop on level
86).