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.nuclecu.unam.mx
/linux
/local/devel
/mc
-%{PACKAGE_VERSION}.tar.gz
14 URL: http
://www.gnome.org
/mc
/
15 BuildRoot: /var
/tmp
/mc
-%{PACKAGE_VERSION}-root
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
(GNOME version
)
27 Requires: mc
>= %{PACKAGE_VERSION}
28 BuildPrereq
: stylesheets
29 Group: Interface
/Desktops
32 Midnight Commander is a visual shell much like a file manager
, only with
33 way more features. This is the GNOME version. It's coolest feature is the
34 ability to ftp
, view tar
, zip files and poke into RPMs
for specific files.
35 The GNOME version of Midnight Commander is not yet finished though.
:-(
38 Summary: Midnight Commander file server
39 Group: System Environment
/Daemons
41 %description -n mcserv
42 mcserv is the server program
for the Midnight Commander networking file
43 system. It provides access to the host file system to clients running the
44 Midnight file system
(currently
, only the Midnight Commander file manager
).
50 CFLAGS
="$RPM_OPT_FLAGS" LDFLAGS
="
-s" .
/configure \
51 --prefix
=%{prefix} --with
-included
-slang \
56 if [ "$SMP"
!= ""
]; then
57 (make "MAKE
=make -k
-j $SMP"
; exit 0)
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT
/etc
/{rc.d
/init.d
,pam.d
,profile.d
,X11
/wmconfig
}
69 make prefix
=$RPM_BUILD_ROOT
%{prefix} sysconfdir
=$RPM_BUILD_ROOT
/etc
install
70 (cd icons
; make prefix
=$RPM_BUILD_ROOT
%{prefix} install_icons
)
71 install lib
/mcserv.init $RPM_BUILD_ROOT
/etc
/rc.d
/init.d
/mcserv
73 install lib
/mcserv.pamd $RPM_BUILD_ROOT
/etc
/pam.d
/mcserv
74 install lib
/{mc.sh
,mc.csh
} $RPM_BUILD_ROOT
/etc
/profile.d
75 install lib
/mc.global $RPM_BUILD_ROOT
/etc
78 # clean up this setuid problem for now
79 chmod
755 $RPM_BUILD_ROOT
%{prefix}/lib
/mc
/bin
/cons.saver
82 rm -rf $RPM_BUILD_ROOT
85 /sbin
/chkconfig
--add mcserv
88 /sbin
/chkconfig
--del mcserv
91 %defattr(-, root
, root
)
93 %doc FAQ COPYING NEWS README
97 %{prefix}/lib
/mc
/mc.ext
98 %{prefix}/lib
/mc
/mc.hint
99 %{prefix}/lib
/mc
/mc.hlp
100 %{prefix}/lib
/mc
/mc.lib
101 %{prefix}/lib
/mc
/mc.menu
102 %{prefix}/lib
/mc
/bin
/cons.saver
103 %{prefix}/lib
/mc
/extfs
/*
104 %{prefix}/lib
/mc
/syntax
/*
105 %{prefix}/lib
/mc
/term
/*
107 %config /etc
/profile.d
/*
108 %config /etc
/mc.global
109 %dir %{prefix}/lib
/mc
110 %dir %{prefix}/lib
/mc
/bin
113 %defattr(-, root
, root
)
115 %config /etc
/pam.d
/mcserv
116 %config /etc
/rc.d
/init.d
/mcserv
117 %attr(-, root
, man
) %{prefix}/man
/man8
/mcserv
.8
121 %defattr(-, root
, root
)
123 %{prefix}/bin
/plain
-gmc
124 %{prefix}/share
/idl
/*
125 %{prefix}/lib
/mc
/layout
126 %{prefix}/lib
/mc
/mc
-gnome.ext
127 %{prefix}/share
/pixmaps
/mc
/*
128 %{prefix}/share
/mime
-info
/mc.keys
129 %{prefix}/share
/gnome
/help/gmc
/*
130 %{prefix}/share
/locale
/*
131 %config /etc
/CORBA
/servers
/*
132 %dir %{prefix}/lib
/mc
/desktop
-scripts
135 * Thu Sep
09 1999 Elliot Lee
<sopwith@redhat.com
>
136 - Include .idl files
in the package.
138 * Sat Sep
04 1999 Gregory McLean
<gregm@comstar.net
>
139 - Added a build prereq so that rpms get built with documentation
;)
141 * Mon Jul
12 1999 Kjartan Maraas
<kmaraas@online.no
>
142 - added
help and locale files to
%files
144 * Tue Jun
22 1999 Vladimir Kondratiev
<vkondra@iil.intel.com
>
145 - added syntax files to
%files
147 * Wed May
26 1999 Cody Russell
<bratsche@dfw.net
>
148 - chmod cons.saver at $RPM_BUILD_ROOT
%{prefix}/lib rather than at
149 $RPM_BUILD_ROOT
/usr
/lib. We can now
install to somewhere other than
/usr.
151 * Sun Apr
18 1999 Gregory McLean
<gregm@comstar.net
>
152 - Updated the specfile
, removed some kludges.
154 * Thu Aug
20 1998 Michael Fulbright
<msf@redhat.com
>
155 - rebuilt against gnome
-libs
0.27 and gtk
+-1.1
157 * Thu Jul
09 1998 Michael Fulbright
<msf@redhat.com
>
158 - made cons.saver not setuid
160 * Sun Apr
19 1998 Marc Ewing
<marc@redhat.com
>
163 * Wed Apr
8 1998 Marc Ewing
<marc@redhat.com
>
164 - add
/usr
/lib
/mc
/layout to gmc
166 * Tue Dec
23 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
167 - added
--without
-debug to configure
,
168 - modification
in %build and
%install and cosmetic modification
in packages
170 - added %
%{PACKAGE_VERSION} macro to
Buildroot,
171 - removed "
rm -rf $RPM_BUILD_ROOT" from
%prep.
172 - removed
Packager field.
174 * Thu Dec
18 1997 Michele Marziani
<marziani@fe.infn.it
>
175 - Merged spec file with that from RedHat
-5.0 distribution
176 (now a Hurricane
-based distribution is needed
)
177 - Added patch
for RPM script
(didn't always work with rpm
-2.4.10)
178 - Corrected patch
for mcserv init file
(chkconfig init levels
)
179 - Added more documentation files on termcap
, terminfo
, xterm
181 * Thu Oct
30 1997 Michael K. Johnson
<johnsonm@redhat.com
>
183 - Added dependency on portmap
185 * Wed Oct
29 1997 Michael K. Johnson
<johnsonm@redhat.com
>
190 * Sun Oct
26 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
193 - added
%attr macros
in %files,
194 - a few simplification
in %install,
195 - removed glibc patch
,
196 - fixed installing
/etc
/X11
/wmconfig
/tkmc.
198 * Thu Oct
23 1997 Michael K. Johnson
<johnsonm@redhat.com
>
203 * Wed Oct
15 1997 Erik Troan
<ewt@redhat.com
>
205 - chkconfig is
for mcserv package
, not mc one
207 * Tue Oct
14 1997 Erik Troan
<ewt@redhat.com
>
209 - patched init script
for chkconfig
210 - don't turn on the service by default
212 * Fri Oct
10 1997 Michael K. Johnson
<johnsonm@redhat.com
>
214 - Converted to new PAM conventions.
216 - No longer needs glibc patch.
218 * Thu May
22 1997 Michele Marziani
<marziani@fe.infn.it
>
220 - added support
for mc
alias in /etc
/profile.d
/mc.csh
(for csh and tcsh
)
221 - lowered number of SysV init scripts
in /etc
/rc.d
/rc
[0,1,6].d
222 (mcserv needs to be killed before inet
)
223 - removed all references to $RPM_SOURCE_DIR
224 - restored $RPM_OPT_FLAGS when compiling
225 - minor cleanup of spec file
: redundant directives and comments removed
227 * Sun May
18 1997 Michele Marziani
<marziani@fe.infn.it
>
229 - removed all references to non
-existent mc.rpmfs
230 - added mcedit
.1 to the
%files section
231 - reverted to un
-gzipped man pages
(RedHat style
)
232 - removed double
install line
for mcserv.pamd
234 * Tue May
13 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
236 - added new rpmfs script
,
237 - removed mcfn_install from mc
(adding mc
() to bash enviroment is
in
238 /etc
/profile.d
/mc.sh
),
239 - /etc
/profile.d
/mc.sh changed to
%config,
240 - removed
/usr
/lib
/mc
/bin
/create_vcs
,
241 - removed
/usr
/lib
/mc
/term.
243 * Wed May
9 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
245 - changed
source url
,
246 - fixed link mcedit to mc
,
248 * Tue May
7 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
250 - new version
3.5.27,
251 - %dir /usr
/lib
/mc
/icons and icons removed from tkmc
,
252 - added commented xmc part.
254 * Tue Apr
22 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
258 - in mc added missing
/usr
/lib
/mc
/mc.ext
, /usr
/lib
/mc
/mc.hint
,
259 /usr
/lib
/mc
/mc.hlp
, /usr
/lib
/mc
/mc.lib
, /usr
/lib
/mc
/mc.menu.
261 * Fri Apr
18 1997 Tomasz K³oczko
<kloczek@rudy.mif.pg.gda.pl
>
263 - added making packages
: tkmc
, mcserv
(xmc not work yet
),
265 - added
/etc
/pamd.d
/mcserv PAM config file.
266 - added instaling icons
,
267 - added
/etc
/profile.d
/mc.sh
,
268 - in %doc added NEWS README
,
269 - removed
/usr
/lib
/mc
/FAQ
,
270 - added mcserv.init script
for mcserv
(start
/stop on level
86).