Last 3 menu syntax edit msgs
[midnight-commander.git] / mc.spec.in
blob9006034a9417fc710587f466b95910ed46069a8a
1 # Note that this is NOT a relocatable package
2 %define ver @VERSION@
3 %define RELEASE 1
4 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
6 Summary: Midnight Commander visual shell
7 Name: mc
8 Version: %ver
9 Release: %rel
10 Epoch: 1
11 Copyright: GPL
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
19 %description
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. :-)
25 %prep
26 %setup -q
28 %build
29 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
30 --prefix=%{_prefix} \
31 --mandir=%{_mandir} \
32 --sysconfdir=/etc
34 if [ "$SMP" != "" ]; then
35 (make "MAKE=make -k -j $SMP"; exit 0)
36 make
37 else
38 make
41 %install
42 echo $RPM_BUILD_ROOT
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
50 %clean
51 rm -rf $RPM_BUILD_ROOT
53 %files
54 %defattr(-, root, root)
56 %doc FAQ COPYING NEWS README
57 %{_prefix}/bin/mc
58 %{_prefix}/bin/mcedit
59 %{_prefix}/bin/mcview
60 %{_prefix}/lib/mc/bin/cons.saver
61 %{_prefix}/lib/mc/term/*
62 %{_mandir}/man1/*
63 %config /etc/profile.d/*
64 %dir %{_prefix}/lib/mc/bin
65 %dir %{_prefix}/lib/mc/term
67 %defattr(-, root, root)
68 %{_prefix}/bin/mcmfmt
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 %config /etc/mc.global
80 %dir %{_prefix}/lib/mc
81 %dir %{_prefix}/lib/mc/extfs
82 %dir %{_prefix}/lib/mc/syntax
84 %changelog
85 * Mon Jan 21 2002 Pavel Roskin <proski@gnu.org>
86 - Remove --with-gnome and --with-included-slang from configure options.
87 - Add BuildPrereq.
89 * Fri Aug 24 2001 Pavel Roskin <proski@gnu.org>
90 - Remove gmc. Reunite mc and mc-common.
92 * Sun Aug 05 2001 Pavel Roskin <proski@gnu.org>
93 - Set epoch.
95 * Sun Jul 15 2001 Pavel Roskin <proski@gnu.org>
96 - Remove /usr/lib/mc/layout.
98 * Sat Jun 09 2001 Pavel Roskin <proski@gnu.org>
99 - Use %{_prefix} and %{_mandir}. Specify --mandir to configure.
101 * Fri May 25 2001 Pavel Roskin <proski@gnu.org>
102 - Change groups. Don't include locale directories. More config files.
104 * Sun May 20 2001 Pavel Roskin <proski@gnu.org>
105 - Don't require stylesheets, since HTML files are now in the tarball.
107 * Thu Apr 19 2001 Pavel Roskin <proski@gnu.org>
108 - Remove package mcserv. Drop dependency on PAM.
110 * Mon Feb 26 2001 Pavel Roskin <proski@gnu.org>
111 - Remove mc-gnome.ext.
113 * Thu Jan 11 2001 Pavel Roskin <proski@gnu.org>
114 - Include mcview.
116 * Mon Oct 23 2000 Pavel Roskin <proski@gnu.org>
117 - Allow mcserv.8 to be gzipped.
119 * Sat Sep 30 2000 Pavel Roskin <proski@gnu.org>
120 - New package mc-common.
121 - Use DESTDIR instead of misusing prefix.
122 - Don't install old icons - they don't exist
124 * Sat Sep 23 2000 Pavel Roskin <proski@gnu.org>
125 - Include translations with mc, not gmc
126 - chkconfig --del in %preun, not %postun
127 - --without-debug not needed
128 - /etc/X11/wmconfig not needed
129 - /etc/pam.d/mcserv shouldn't be executable
130 - New files in %{prefix}/lib/mc/ - translated hints, editor files
132 * Thu Sep 09 1999 Elliot Lee <sopwith@redhat.com>
133 - Include .idl files in the package.
135 * Sat Sep 04 1999 Gregory McLean <gregm@comstar.net>
136 - Added a build prereq so that rpms get built with documentation ;)
138 * Mon Jul 12 1999 Kjartan Maraas <kmaraas@online.no>
139 - added help and locale files to %files
141 * Tue Jun 22 1999 Vladimir Kondratiev <vkondra@iil.intel.com>
142 - added syntax files to %files
144 * Wed May 26 1999 Cody Russell <bratsche@dfw.net>
145 - chmod cons.saver at $RPM_BUILD_ROOT%{prefix}/lib rather than at
146 $RPM_BUILD_ROOT/usr/lib. We can now install to somewhere other than /usr.
148 * Sun Apr 18 1999 Gregory McLean <gregm@comstar.net>
149 - Updated the specfile, removed some kludges.
151 * Thu Aug 20 1998 Michael Fulbright <msf@redhat.com>
152 - rebuilt against gnome-libs 0.27 and gtk+-1.1
154 * Thu Jul 09 1998 Michael Fulbright <msf@redhat.com>
155 - made cons.saver not setuid
157 * Sun Apr 19 1998 Marc Ewing <marc@redhat.com>
158 - removed tkmc
160 * Wed Apr 8 1998 Marc Ewing <marc@redhat.com>
161 - add /usr/lib/mc/layout to gmc
163 * Tue Dec 23 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
164 - added --without-debug to configure,
165 - modification in %build and %install and cosmetic modification in packages
166 headers,
167 - added %%{PACKAGE_VERSION} macro to Buildroot,
168 - removed "rm -rf $RPM_BUILD_ROOT" from %prep.
169 - removed Packager field.
171 * Thu Dec 18 1997 Michele Marziani <marziani@fe.infn.it>
172 - Merged spec file with that from RedHat-5.0 distribution
173 (now a Hurricane-based distribution is needed)
174 - Added patch for RPM script (didn't always work with rpm-2.4.10)
175 - Corrected patch for mcserv init file (chkconfig init levels)
176 - Added more documentation files on termcap, terminfo, xterm
178 * Thu Oct 30 1997 Michael K. Johnson <johnsonm@redhat.com>
180 - Added dependency on portmap
182 * Wed Oct 29 1997 Michael K. Johnson <johnsonm@redhat.com>
184 - fixed spec file.
185 - Updated to 4.1.8
187 * Sun Oct 26 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
189 - updated to 4.1.6
190 - added %attr macros in %files,
191 - a few simplification in %install,
192 - removed glibc patch,
193 - fixed installing /etc/X11/wmconfig/tkmc.
195 * Thu Oct 23 1997 Michael K. Johnson <johnsonm@redhat.com>
197 - updated to 4.1.5
198 - added wmconfig
200 * Wed Oct 15 1997 Erik Troan <ewt@redhat.com>
202 - chkconfig is for mcserv package, not mc one
204 * Tue Oct 14 1997 Erik Troan <ewt@redhat.com>
206 - patched init script for chkconfig
207 - don't turn on the service by default
209 * Fri Oct 10 1997 Michael K. Johnson <johnsonm@redhat.com>
211 - Converted to new PAM conventions.
212 - Updated to 4.1.3
213 - No longer needs glibc patch.
215 * Thu May 22 1997 Michele Marziani <marziani@fe.infn.it>
217 - added support for mc alias in /etc/profile.d/mc.csh (for csh and tcsh)
218 - lowered number of SysV init scripts in /etc/rc.d/rc[0,1,6].d
219 (mcserv needs to be killed before inet)
220 - removed all references to $RPM_SOURCE_DIR
221 - restored $RPM_OPT_FLAGS when compiling
222 - minor cleanup of spec file: redundant directives and comments removed
224 * Sun May 18 1997 Michele Marziani <marziani@fe.infn.it>
226 - removed all references to non-existent mc.rpmfs
227 - added mcedit.1 to the %files section
228 - reverted to un-gzipped man pages (RedHat style)
229 - removed double install line for mcserv.pamd
231 * Tue May 13 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
233 - added new rpmfs script,
234 - removed mcfn_install from mc (adding mc() to bash enviroment is in
235 /etc/profile.d/mc.sh),
236 - /etc/profile.d/mc.sh changed to %config,
237 - removed /usr/lib/mc/bin/create_vcs,
238 - removed /usr/lib/mc/term.
240 * Wed May 9 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
242 - changed source url,
243 - fixed link mcedit to mc,
245 * Tue May 7 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
247 - new version 3.5.27,
248 - %dir /usr/lib/mc/icons and icons removed from tkmc,
249 - added commented xmc part.
251 * Tue Apr 22 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
253 - FIX spec:
254 - added URL field,
255 - in mc added missing /usr/lib/mc/mc.ext, /usr/lib/mc/mc.hint,
256 /usr/lib/mc/mc.hlp, /usr/lib/mc/mc.lib, /usr/lib/mc/mc.menu.
258 * Fri Apr 18 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
260 - added making packages: tkmc, mcserv (xmc not work yet),
261 - gziped man pages,
262 - added /etc/pamd.d/mcserv PAM config file.
263 - added instaling icons,
264 - added /etc/profile.d/mc.sh,
265 - in %doc added NEWS README,
266 - removed /usr/lib/mc/FAQ,
267 - added mcserv.init script for mcserv (start/stop on level 86).