Shorted the longest entry.
[midnight-commander.git] / mc.spec.in
blobc975b695a80fc937844ec5fa718587817d0d4a18
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 Copyright: GPL
11 Group: Applications/File
12 Source0: ftp://ftp.gnome.org/mirror/gnome.org/stable/sources/mc/mc-%{PACKAGE_VERSION}.tar.gz
13 URL: http://www.gnome.org/mc/
14 BuildRoot: /var/tmp/mc-%{PACKAGE_VERSION}-root
15 Requires: mc-common >= %{PACKAGE_VERSION}
16 Prereq: /sbin/chkconfig
18 %description
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. :-)
24 %package -n mc-common
25 Summary: Midnight Commander visual shell (common files)
26 Group: Applications/File
28 %description -n mc-common
29 Midnight Commander is a visual shell much like a file manager, only with
30 way more features. This file contains files common for both the text and
31 the GNOME editions.
33 %package -n gmc
34 Summary: Midnight Commander visual shell (GNOME version)
35 Requires: mc-common >= %{PACKAGE_VERSION}
36 Group: User Interface/Desktops
38 %description -n gmc
39 Midnight Commander is a visual shell much like a file manager, only with
40 way more features. This is the GNOME version. It's coolest feature is the
41 ability to ftp, view tar, zip files and poke into RPMs for specific files.
42 The GNOME version of Midnight Commander is not yet finished though. :-(
44 %prep
45 %setup -q
47 %build
48 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
49 --prefix=%{_prefix} \
50 --mandir=%{_mandir} \
51 --with-included-slang \
52 --with-gnome \
53 --sysconfdir=/etc
55 if [ "$SMP" != "" ]; then
56 (make "MAKE=make -k -j $SMP"; exit 0)
57 make
58 else
59 make
62 %install
63 echo $RPM_BUILD_ROOT
64 rm -rf $RPM_BUILD_ROOT
65 make install DESTDIR=$RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT/etc/profile.d
67 install lib/mc.sh $RPM_BUILD_ROOT/etc/profile.d
68 install lib/mc.csh $RPM_BUILD_ROOT/etc/profile.d
71 %clean
72 rm -rf $RPM_BUILD_ROOT
74 %files
75 %defattr(-, root, root)
77 %doc FAQ COPYING NEWS README
78 %{_prefix}/bin/mc
79 %{_prefix}/bin/mcedit
80 %{_prefix}/bin/mcview
81 %{_prefix}/lib/mc/bin/cons.saver
82 %{_prefix}/lib/mc/term/*
83 %{_mandir}/man1/*
84 %config /etc/profile.d/*
85 %dir %{_prefix}/lib/mc/bin
86 %dir %{_prefix}/lib/mc/term
88 %files -n mc-common
89 %defattr(-, root, root)
90 %{_prefix}/bin/mcmfmt
91 %config %{_prefix}/lib/mc/cedit.menu
92 %config %{_prefix}/lib/mc/edit.indent.rc
93 %config %{_prefix}/lib/mc/extfs/*
94 %config %{_prefix}/lib/mc/mc.ext
95 %config %{_prefix}/lib/mc/mc.lib
96 %config %{_prefix}/lib/mc/mc.menu
97 %{_prefix}/lib/mc/mc.hint*
98 %{_prefix}/lib/mc/mc.hlp*
99 %{_prefix}/lib/mc/syntax/*
100 %{_prefix}/share/locale/*/LC_MESSAGES/*
101 %config /etc/mc.global
102 %dir %{_prefix}/lib/mc
103 %dir %{_prefix}/lib/mc/extfs
104 %dir %{_prefix}/lib/mc/syntax
106 %files -n gmc
107 %defattr(-, root, root)
108 %{_prefix}/bin/gmc
109 %{_prefix}/bin/plain-gmc
110 # %{_prefix}/bin/gmc-client ?
111 %{_prefix}/share/gnome/help/gmc/*
112 %{_prefix}/share/idl/*
113 %{_prefix}/share/mime-info/mc.keys
114 %{_prefix}/share/pixmaps/mc/*
115 %config /etc/CORBA/servers/*
116 %dir %{_prefix}/lib/mc/desktop-scripts
117 %dir %{_prefix}/share/gnome/help/gmc
118 # %dir %{_prefix}/share/mc/templates ?
119 %dir %{_prefix}/share/pixmaps/mc
121 %changelog
122 * Sun Jul 15 2001 Pavel Roskin <proski@gnu.org>
123 - Remove /usr/lib/mc/layout.
125 * Sat Jun 09 2001 Pavel Roskin <proski@gnu.org>
126 - Use %{_prefix} and %{_mandir}. Specify --mandir to configure.
128 * Fri May 25 2001 Pavel Roskin <proski@gnu.org>
129 - Change groups. Don't include locale directories. More config files.
131 * Sun May 20 2001 Pavel Roskin <proski@gnu.org>
132 - Don't require stylesheets, since HTML files are now in the tarball.
134 * Thu Apr 19 2001 Pavel Roskin <proski@gnu.org>
135 - Remove package mcserv. Drop dependency on PAM.
137 * Mon Feb 26 2001 Pavel Roskin <proski@gnu.org>
138 - Remove mc-gnome.ext.
140 * Thu Jan 11 2001 Pavel Roskin <proski@gnu.org>
141 - Include mcview.
143 * Mon Oct 23 2000 Pavel Roskin <proski@gnu.org>
144 - Allow mcserv.8 to be gzipped.
146 * Sat Sep 30 2000 Pavel Roskin <proski@gnu.org>
147 - New package mc-common.
148 - Use DESTDIR instead of misusing prefix.
149 - Don't install old icons - they don't exist
151 * Sat Sep 23 2000 Pavel Roskin <proski@gnu.org>
152 - Include translations with mc, not gmc
153 - chkconfig --del in %preun, not %postun
154 - --without-debug not needed
155 - /etc/X11/wmconfig not needed
156 - /etc/pam.d/mcserv shouldn't be executable
157 - New files in %{prefix}/lib/mc/ - translated hints, editor files
159 * Thu Sep 09 1999 Elliot Lee <sopwith@redhat.com>
160 - Include .idl files in the package.
162 * Sat Sep 04 1999 Gregory McLean <gregm@comstar.net>
163 - Added a build prereq so that rpms get built with documentation ;)
165 * Mon Jul 12 1999 Kjartan Maraas <kmaraas@online.no>
166 - added help and locale files to %files
168 * Tue Jun 22 1999 Vladimir Kondratiev <vkondra@iil.intel.com>
169 - added syntax files to %files
171 * Wed May 26 1999 Cody Russell <bratsche@dfw.net>
172 - chmod cons.saver at $RPM_BUILD_ROOT%{prefix}/lib rather than at
173 $RPM_BUILD_ROOT/usr/lib. We can now install to somewhere other than /usr.
175 * Sun Apr 18 1999 Gregory McLean <gregm@comstar.net>
176 - Updated the specfile, removed some kludges.
178 * Thu Aug 20 1998 Michael Fulbright <msf@redhat.com>
179 - rebuilt against gnome-libs 0.27 and gtk+-1.1
181 * Thu Jul 09 1998 Michael Fulbright <msf@redhat.com>
182 - made cons.saver not setuid
184 * Sun Apr 19 1998 Marc Ewing <marc@redhat.com>
185 - removed tkmc
187 * Wed Apr 8 1998 Marc Ewing <marc@redhat.com>
188 - add /usr/lib/mc/layout to gmc
190 * Tue Dec 23 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
191 - added --without-debug to configure,
192 - modification in %build and %install and cosmetic modification in packages
193 headers,
194 - added %%{PACKAGE_VERSION} macro to Buildroot,
195 - removed "rm -rf $RPM_BUILD_ROOT" from %prep.
196 - removed Packager field.
198 * Thu Dec 18 1997 Michele Marziani <marziani@fe.infn.it>
199 - Merged spec file with that from RedHat-5.0 distribution
200 (now a Hurricane-based distribution is needed)
201 - Added patch for RPM script (didn't always work with rpm-2.4.10)
202 - Corrected patch for mcserv init file (chkconfig init levels)
203 - Added more documentation files on termcap, terminfo, xterm
205 * Thu Oct 30 1997 Michael K. Johnson <johnsonm@redhat.com>
207 - Added dependency on portmap
209 * Wed Oct 29 1997 Michael K. Johnson <johnsonm@redhat.com>
211 - fixed spec file.
212 - Updated to 4.1.8
214 * Sun Oct 26 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
216 - updated to 4.1.6
217 - added %attr macros in %files,
218 - a few simplification in %install,
219 - removed glibc patch,
220 - fixed installing /etc/X11/wmconfig/tkmc.
222 * Thu Oct 23 1997 Michael K. Johnson <johnsonm@redhat.com>
224 - updated to 4.1.5
225 - added wmconfig
227 * Wed Oct 15 1997 Erik Troan <ewt@redhat.com>
229 - chkconfig is for mcserv package, not mc one
231 * Tue Oct 14 1997 Erik Troan <ewt@redhat.com>
233 - patched init script for chkconfig
234 - don't turn on the service by default
236 * Fri Oct 10 1997 Michael K. Johnson <johnsonm@redhat.com>
238 - Converted to new PAM conventions.
239 - Updated to 4.1.3
240 - No longer needs glibc patch.
242 * Thu May 22 1997 Michele Marziani <marziani@fe.infn.it>
244 - added support for mc alias in /etc/profile.d/mc.csh (for csh and tcsh)
245 - lowered number of SysV init scripts in /etc/rc.d/rc[0,1,6].d
246 (mcserv needs to be killed before inet)
247 - removed all references to $RPM_SOURCE_DIR
248 - restored $RPM_OPT_FLAGS when compiling
249 - minor cleanup of spec file: redundant directives and comments removed
251 * Sun May 18 1997 Michele Marziani <marziani@fe.infn.it>
253 - removed all references to non-existent mc.rpmfs
254 - added mcedit.1 to the %files section
255 - reverted to un-gzipped man pages (RedHat style)
256 - removed double install line for mcserv.pamd
258 * Tue May 13 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
260 - added new rpmfs script,
261 - removed mcfn_install from mc (adding mc() to bash enviroment is in
262 /etc/profile.d/mc.sh),
263 - /etc/profile.d/mc.sh changed to %config,
264 - removed /usr/lib/mc/bin/create_vcs,
265 - removed /usr/lib/mc/term.
267 * Wed May 9 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
269 - changed source url,
270 - fixed link mcedit to mc,
272 * Tue May 7 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
274 - new version 3.5.27,
275 - %dir /usr/lib/mc/icons and icons removed from tkmc,
276 - added commented xmc part.
278 * Tue Apr 22 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
280 - FIX spec:
281 - added URL field,
282 - in mc added missing /usr/lib/mc/mc.ext, /usr/lib/mc/mc.hint,
283 /usr/lib/mc/mc.hlp, /usr/lib/mc/mc.lib, /usr/lib/mc/mc.menu.
285 * Fri Apr 18 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
287 - added making packages: tkmc, mcserv (xmc not work yet),
288 - gziped man pages,
289 - added /etc/pamd.d/mcserv PAM config file.
290 - added instaling icons,
291 - added /etc/profile.d/mc.sh,
292 - in %doc added NEWS README,
293 - removed /usr/lib/mc/FAQ,
294 - added mcserv.init script for mcserv (start/stop on level 86).