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
19 Midnight Commander is a visual shell much like a file manager
, only with way
20 more features. It is text mode
, but also includes mouse support
if you are
21 running GPM. Its coolest feature is the ability to ftp
, view tar
, zip
22 files
, and poke into RPMs
for specific files.
:-)
28 CFLAGS
="$RPM_OPT_FLAGS" LDFLAGS
="
-s" .
/configure \
31 --with
-included
-slang \
35 if [ "$SMP"
!= ""
]; then
36 (make "MAKE
=make -k
-j $SMP"
; exit 0)
44 rm -rf $RPM_BUILD_ROOT
45 make install DESTDIR
=$RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT
/etc
/profile.d
47 install lib
/mc.sh $RPM_BUILD_ROOT
/etc
/profile.d
48 install lib
/mc.csh $RPM_BUILD_ROOT
/etc
/profile.d
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(-, root
, root
)
57 %doc FAQ COPYING NEWS README
61 %{_prefix}/lib
/mc
/bin
/cons.saver
62 %{_prefix}/lib
/mc
/term
/*
64 %config /etc
/profile.d
/*
65 %dir %{_prefix}/lib
/mc
/bin
66 %dir %{_prefix}/lib
/mc
/term
68 %defattr(-, root
, root
)
70 %config %{_prefix}/lib
/mc
/cedit.menu
71 %config %{_prefix}/lib
/mc
/edit.indent.rc
72 %config %{_prefix}/lib
/mc
/extfs
/*
73 %config %{_prefix}/lib
/mc
/mc.ext
74 %config %{_prefix}/lib
/mc
/mc.lib
75 %config %{_prefix}/lib
/mc
/mc.menu
76 %{_prefix}/lib
/mc
/mc.hint
*
77 %{_prefix}/lib
/mc
/mc.hlp
*
78 %{_prefix}/lib
/mc
/syntax
/*
79 %{_prefix}/share
/locale
/*/LC_MESSAGES
/*
80 %config /etc
/mc.global
81 %dir %{_prefix}/lib
/mc
82 %dir %{_prefix}/lib
/mc
/extfs
83 %dir %{_prefix}/lib
/mc
/syntax
86 * Fri Aug
24 2001 Pavel Roskin
<proski@gnu.org
>
87 - Remove gmc. Reunite mc and mc
-common.
89 * Sun Aug
05 2001 Pavel Roskin
<proski@gnu.org
>
92 * Sun Jul
15 2001 Pavel Roskin
<proski@gnu.org
>
93 - Remove
/usr
/lib
/mc
/layout.
95 * Sat Jun
09 2001 Pavel Roskin
<proski@gnu.org
>
96 - Use
%{_prefix} and %{_mandir}. Specify
--mandir to configure.
98 * Fri May
25 2001 Pavel Roskin
<proski@gnu.org
>
99 - Change groups. Don't include locale directories. More config files.
101 * Sun May
20 2001 Pavel Roskin
<proski@gnu.org
>
102 - Don't require stylesheets
, since HTML files are now
in the tarball.
104 * Thu Apr
19 2001 Pavel Roskin
<proski@gnu.org
>
105 - Remove package mcserv. Drop dependency on PAM.
107 * Mon Feb
26 2001 Pavel Roskin
<proski@gnu.org
>
108 - Remove mc
-gnome.ext.
110 * Thu Jan
11 2001 Pavel Roskin
<proski@gnu.org
>
113 * Mon Oct
23 2000 Pavel Roskin
<proski@gnu.org
>
114 - Allow mcserv
.8 to be gzipped.
116 * Sat Sep
30 2000 Pavel Roskin
<proski@gnu.org
>
117 - New package mc
-common.
118 - Use DESTDIR instead of misusing prefix.
119 - Don't
install old icons
- they don't exist
121 * Sat Sep
23 2000 Pavel Roskin
<proski@gnu.org
>
122 - Include translations with mc
, not gmc
123 - chkconfig
--del
in %preun, not
%postun
124 - --without
-debug not needed
125 - /etc
/X11
/wmconfig not needed
126 - /etc
/pam.d
/mcserv shouldn't be executable
127 - New files
in %{prefix}/lib
/mc
/ - translated hints
, editor files
129 * Thu Sep
09 1999 Elliot Lee
<sopwith@redhat.com
>
130 - Include .idl files
in the package.
132 * Sat Sep
04 1999 Gregory McLean
<gregm@comstar.net
>
133 - Added a build prereq so that rpms get built with documentation
;)
135 * Mon Jul
12 1999 Kjartan Maraas
<kmaraas@online.no
>
136 - added
help and locale files to
%files
138 * Tue Jun
22 1999 Vladimir Kondratiev
<vkondra@iil.intel.com
>
139 - added syntax files to
%files
141 * Wed May
26 1999 Cody Russell
<bratsche@dfw.net
>
142 - chmod cons.saver at $RPM_BUILD_ROOT
%{prefix}/lib rather than at
143 $RPM_BUILD_ROOT
/usr
/lib. We can now
install to somewhere other than
/usr.
145 * Sun Apr
18 1999 Gregory McLean
<gregm@comstar.net
>
146 - Updated the specfile
, removed some kludges.
148 * Thu Aug
20 1998 Michael Fulbright
<msf@redhat.com
>
149 - rebuilt against gnome
-libs
0.27 and gtk
+-1.1
151 * Thu Jul
09 1998 Michael Fulbright
<msf@redhat.com
>
152 - made cons.saver not setuid
154 * Sun Apr
19 1998 Marc Ewing
<marc@redhat.com
>
157 * Wed Apr
8 1998 Marc Ewing
<marc@redhat.com
>
158 - add
/usr
/lib
/mc
/layout to gmc
160 * Tue Dec
23 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
161 - added
--without
-debug to configure
,
162 - modification
in %build and
%install and cosmetic modification
in packages
164 - added %
%{PACKAGE_VERSION} macro to
Buildroot,
165 - removed "
rm -rf $RPM_BUILD_ROOT" from
%prep.
166 - removed
Packager field.
168 * Thu Dec
18 1997 Michele Marziani
<marziani@fe.infn.it
>
169 - Merged spec file with that from RedHat
-5.0 distribution
170 (now a Hurricane
-based distribution is needed
)
171 - Added patch
for RPM script
(didn't always work with rpm
-2.4.10)
172 - Corrected patch
for mcserv init file
(chkconfig init levels
)
173 - Added more documentation files on termcap
, terminfo
, xterm
175 * Thu Oct
30 1997 Michael K. Johnson
<johnsonm@redhat.com
>
177 - Added dependency on portmap
179 * Wed Oct
29 1997 Michael K. Johnson
<johnsonm@redhat.com
>
184 * Sun Oct
26 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
187 - added
%attr macros
in %files,
188 - a few simplification
in %install,
189 - removed glibc patch
,
190 - fixed installing
/etc
/X11
/wmconfig
/tkmc.
192 * Thu Oct
23 1997 Michael K. Johnson
<johnsonm@redhat.com
>
197 * Wed Oct
15 1997 Erik Troan
<ewt@redhat.com
>
199 - chkconfig is
for mcserv package
, not mc one
201 * Tue Oct
14 1997 Erik Troan
<ewt@redhat.com
>
203 - patched init script
for chkconfig
204 - don't turn on the service by default
206 * Fri Oct
10 1997 Michael K. Johnson
<johnsonm@redhat.com
>
208 - Converted to new PAM conventions.
210 - No longer needs glibc patch.
212 * Thu May
22 1997 Michele Marziani
<marziani@fe.infn.it
>
214 - added support
for mc
alias in /etc
/profile.d
/mc.csh
(for csh and tcsh
)
215 - lowered number of SysV init scripts
in /etc
/rc.d
/rc
[0,1,6].d
216 (mcserv needs to be killed before inet
)
217 - removed all references to $RPM_SOURCE_DIR
218 - restored $RPM_OPT_FLAGS when compiling
219 - minor cleanup of spec file
: redundant directives and comments removed
221 * Sun May
18 1997 Michele Marziani
<marziani@fe.infn.it
>
223 - removed all references to non
-existent mc.rpmfs
224 - added mcedit
.1 to the
%files section
225 - reverted to un
-gzipped man pages
(RedHat style
)
226 - removed double
install line
for mcserv.pamd
228 * Tue May
13 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
230 - added new rpmfs script
,
231 - removed mcfn_install from mc
(adding mc
() to bash enviroment is
in
232 /etc
/profile.d
/mc.sh
),
233 - /etc
/profile.d
/mc.sh changed to
%config,
234 - removed
/usr
/lib
/mc
/bin
/create_vcs
,
235 - removed
/usr
/lib
/mc
/term.
237 * Wed May
9 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
239 - changed
source url
,
240 - fixed link mcedit to mc
,
242 * Tue May
7 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
244 - new version
3.5.27,
245 - %dir /usr
/lib
/mc
/icons and icons removed from tkmc
,
246 - added commented xmc part.
248 * Tue Apr
22 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
252 - in mc added missing
/usr
/lib
/mc
/mc.ext
, /usr
/lib
/mc
/mc.hint
,
253 /usr
/lib
/mc
/mc.hlp
, /usr
/lib
/mc
/mc.lib
, /usr
/lib
/mc
/mc.menu.
255 * Fri Apr
18 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
257 - added making packages
: tkmc
, mcserv
(xmc not work yet
),
259 - added
/etc
/pamd.d
/mcserv PAM config file.
260 - added instaling icons
,
261 - added
/etc
/profile.d
/mc.sh
,
262 - in %doc added NEWS README
,
263 - removed
/usr
/lib
/mc
/FAQ
,
264 - added mcserv.init script
for mcserv
(start
/stop on level
86).