1 # Note that this is NOT a relocatable package
4 %define rel
%{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
7 Summary: Midnight Commander visual shell
12 Group: System Environment
/Shells
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 Requires: mc
-common
>= %{PACKAGE_VERSION}
17 Prereq
: /sbin
/chkconfig
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.
:-)
26 Summary: Midnight Commander visual shell
(common files
)
27 Group: Interface
/Desktops
29 %description -n mc
-common
30 Midnight Commander is a visual shell much like a file manager
, only with
31 way more features. This file contains files common
for both the text and
35 Summary: Midnight Commander visual shell
(GNOME version
)
36 Requires: mc
-common
>= %{PACKAGE_VERSION}
37 Group: Interface
/Desktops
40 Midnight Commander is a visual shell much like a file manager
, only with
41 way more features. This is the GNOME version. It's coolest feature is the
42 ability to ftp
, view tar
, zip files and poke into RPMs
for specific files.
43 The GNOME version of Midnight Commander is not yet finished though.
:-(
49 CFLAGS
="$RPM_OPT_FLAGS" LDFLAGS
="
-s" .
/configure \
50 --prefix
=%{prefix} --with
-included
-slang \
54 if [ "$SMP"
!= ""
]; then
55 (make "MAKE
=make -k
-j $SMP"
; exit 0)
63 rm -rf $RPM_BUILD_ROOT
64 make install DESTDIR
=$RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT
/etc
/profile.d
66 install lib
/{mc.sh
,mc.csh
} $RPM_BUILD_ROOT
/etc
/profile.d
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(-, root
, root
)
75 %doc FAQ COPYING NEWS README
79 %{prefix}/lib
/mc
/bin
/cons.saver
80 %{prefix}/lib
/mc
/term
/*
82 %config /etc
/profile.d
/*
83 %dir %{prefix}/lib
/mc
/bin
84 %dir %{prefix}/lib
/mc
/term
87 %defattr(-, root
, root
)
89 %{prefix}/lib
/mc
/cedit.menu
90 %{prefix}/lib
/mc
/edit.indent.rc
91 %{prefix}/lib
/mc
/extfs
/*
93 %{prefix}/lib
/mc
/syntax
/*
94 %{prefix}/share
/locale
/*
95 %config /etc
/mc.global
97 %dir %{prefix}/lib
/mc
/extfs
98 %dir %{prefix}/lib
/mc
/syntax
101 %defattr(-, root
, root
)
103 %{prefix}/bin
/plain
-gmc
104 # %{prefix}/bin/gmc-client ?
105 %{prefix}/lib
/mc
/layout
106 %{prefix}/share
/gnome
/help/gmc
/*
107 %{prefix}/share
/idl
/*
108 %{prefix}/share
/mime
-info
/mc.keys
109 %{prefix}/share
/pixmaps
/mc
/*
110 %config /etc
/CORBA
/servers
/*
111 %dir %{prefix}/lib
/mc
/desktop
-scripts
112 %dir %{prefix}/share
/gnome
/help/gmc
113 # %dir %{prefix}/share/mc/templates ?
114 %dir %{prefix}/share
/pixmaps
/mc
117 * Sun May
20 2001 Pavel Roskin
<proski@gnu.org
>
118 - Don't require stylesheets
, since HTML files are now
in the tarball.
120 * Thu Apr
19 2001 Pavel Roskin
<proski@gnu.org
>
121 - Remove package mcserv. Drop dependency on PAM.
123 * Mon Feb
26 2001 Pavel Roskin
<proski@gnu.org
>
124 - Remove mc
-gnome.ext.
126 * Thu Jan
11 2001 Pavel Roskin
<proski@gnu.org
>
129 * Mon Oct
23 2000 Pavel Roskin
<proski@gnu.org
>
130 - Allow mcserv
.8 to be gzipped.
132 * Sat Sep
30 2000 Pavel Roskin
<proski@gnu.org
>
133 - New package mc
-common.
134 - Use DESTDIR instead of misusing prefix.
135 - Don't
install old icons
- they don't exist
137 * Sat Sep
23 2000 Pavel Roskin
<proski@gnu.org
>
138 - Include translations with mc
, not gmc
139 - chkconfig
--del
in %preun, not
%postun
140 - --without
-debug not needed
141 - /etc
/X11
/wmconfig not needed
142 - /etc
/pam.d
/mcserv shouldn't be executable
143 - New files
in %{prefix}/lib
/mc
/ - translated hints
, editor files
145 * Thu Sep
09 1999 Elliot Lee
<sopwith@redhat.com
>
146 - Include .idl files
in the package.
148 * Sat Sep
04 1999 Gregory McLean
<gregm@comstar.net
>
149 - Added a build prereq so that rpms get built with documentation
;)
151 * Mon Jul
12 1999 Kjartan Maraas
<kmaraas@online.no
>
152 - added
help and locale files to
%files
154 * Tue Jun
22 1999 Vladimir Kondratiev
<vkondra@iil.intel.com
>
155 - added syntax files to
%files
157 * Wed May
26 1999 Cody Russell
<bratsche@dfw.net
>
158 - chmod cons.saver at $RPM_BUILD_ROOT
%{prefix}/lib rather than at
159 $RPM_BUILD_ROOT
/usr
/lib. We can now
install to somewhere other than
/usr.
161 * Sun Apr
18 1999 Gregory McLean
<gregm@comstar.net
>
162 - Updated the specfile
, removed some kludges.
164 * Thu Aug
20 1998 Michael Fulbright
<msf@redhat.com
>
165 - rebuilt against gnome
-libs
0.27 and gtk
+-1.1
167 * Thu Jul
09 1998 Michael Fulbright
<msf@redhat.com
>
168 - made cons.saver not setuid
170 * Sun Apr
19 1998 Marc Ewing
<marc@redhat.com
>
173 * Wed Apr
8 1998 Marc Ewing
<marc@redhat.com
>
174 - add
/usr
/lib
/mc
/layout to gmc
176 * Tue Dec
23 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
177 - added
--without
-debug to configure
,
178 - modification
in %build and
%install and cosmetic modification
in packages
180 - added %
%{PACKAGE_VERSION} macro to
Buildroot,
181 - removed "
rm -rf $RPM_BUILD_ROOT" from
%prep.
182 - removed
Packager field.
184 * Thu Dec
18 1997 Michele Marziani
<marziani@fe.infn.it
>
185 - Merged spec file with that from RedHat
-5.0 distribution
186 (now a Hurricane
-based distribution is needed
)
187 - Added patch
for RPM script
(didn't always work with rpm
-2.4.10)
188 - Corrected patch
for mcserv init file
(chkconfig init levels
)
189 - Added more documentation files on termcap
, terminfo
, xterm
191 * Thu Oct
30 1997 Michael K. Johnson
<johnsonm@redhat.com
>
193 - Added dependency on portmap
195 * Wed Oct
29 1997 Michael K. Johnson
<johnsonm@redhat.com
>
200 * Sun Oct
26 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
203 - added
%attr macros
in %files,
204 - a few simplification
in %install,
205 - removed glibc patch
,
206 - fixed installing
/etc
/X11
/wmconfig
/tkmc.
208 * Thu Oct
23 1997 Michael K. Johnson
<johnsonm@redhat.com
>
213 * Wed Oct
15 1997 Erik Troan
<ewt@redhat.com
>
215 - chkconfig is
for mcserv package
, not mc one
217 * Tue Oct
14 1997 Erik Troan
<ewt@redhat.com
>
219 - patched init script
for chkconfig
220 - don't turn on the service by default
222 * Fri Oct
10 1997 Michael K. Johnson
<johnsonm@redhat.com
>
224 - Converted to new PAM conventions.
226 - No longer needs glibc patch.
228 * Thu May
22 1997 Michele Marziani
<marziani@fe.infn.it
>
230 - added support
for mc
alias in /etc
/profile.d
/mc.csh
(for csh and tcsh
)
231 - lowered number of SysV init scripts
in /etc
/rc.d
/rc
[0,1,6].d
232 (mcserv needs to be killed before inet
)
233 - removed all references to $RPM_SOURCE_DIR
234 - restored $RPM_OPT_FLAGS when compiling
235 - minor cleanup of spec file
: redundant directives and comments removed
237 * Sun May
18 1997 Michele Marziani
<marziani@fe.infn.it
>
239 - removed all references to non
-existent mc.rpmfs
240 - added mcedit
.1 to the
%files section
241 - reverted to un
-gzipped man pages
(RedHat style
)
242 - removed double
install line
for mcserv.pamd
244 * Tue May
13 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
246 - added new rpmfs script
,
247 - removed mcfn_install from mc
(adding mc
() to bash enviroment is
in
248 /etc
/profile.d
/mc.sh
),
249 - /etc
/profile.d
/mc.sh changed to
%config,
250 - removed
/usr
/lib
/mc
/bin
/create_vcs
,
251 - removed
/usr
/lib
/mc
/term.
253 * Wed May
9 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
255 - changed
source url
,
256 - fixed link mcedit to mc
,
258 * Tue May
7 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
260 - new version
3.5.27,
261 - %dir /usr
/lib
/mc
/icons and icons removed from tkmc
,
262 - added commented xmc part.
264 * Tue Apr
22 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
268 - in mc added missing
/usr
/lib
/mc
/mc.ext
, /usr
/lib
/mc
/mc.hint
,
269 /usr
/lib
/mc
/mc.hlp
, /usr
/lib
/mc
/mc.lib
, /usr
/lib
/mc
/mc.menu.
271 * Fri Apr
18 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
273 - added making packages
: tkmc
, mcserv
(xmc not work yet
),
275 - added
/etc
/pamd.d
/mcserv PAM config file.
276 - added instaling icons
,
277 - added
/etc
/profile.d
/mc.sh
,
278 - in %doc added NEWS README
,
279 - removed
/usr
/lib
/mc
/FAQ
,
280 - added mcserv.init script
for mcserv
(start
/stop on level
86).