]>
Commit | Line | Data |
---|---|---|
1 | ############################################################################### | |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = mc | |
7 | version = 4.7.4 | |
8 | release = 2 | |
9 | ||
10 | groups = Applications/System | |
11 | url = http://www.ibiblio.org/mc/ | |
12 | license = GPLv2+ | |
13 | summary = User-friendly text console file manager and visual shell. | |
14 | ||
15 | description | |
16 | Midnight Commander is a visual shell much like a file manager, only | |
17 | with many more features. It is a text mode application, but it also | |
18 | includes mouse support. Midnight Commander's best features are its | |
19 | ability to FTP, view tar and zip files, and to poke into RPMs for | |
20 | specific files. | |
21 | end | |
22 | ||
23 | sources = %{thisapp}.tar.bz2 | |
24 | sources_dl = | |
25 | ||
26 | build | |
27 | requires | |
28 | e2fsprogs-devel | |
29 | glib2-devel | |
30 | pkg-config | |
31 | samba-devel | |
32 | slang-devel | |
33 | end | |
34 | ||
35 | configure_options += \ | |
36 | --sysconfdir=/etc \ | |
37 | --libexecdir=/usr/lib \ | |
38 | --with-screen=slang \ | |
39 | --with-samba \ | |
40 | --without-x \ | |
41 | --enable-charset \ | |
42 | --disable-rpath | |
43 | ||
44 | install_cmds | |
45 | chmod 1755 %{BUILDROOT}/usr/lib/mc/cons.saver | |
46 | end | |
47 | end | |
48 | ||
49 | packages | |
50 | package %{name} | |
51 | # This awkward dependency is found and cannot be resolved. | |
52 | filter_requires | |
53 | perl\(pieces\) | |
54 | end | |
55 | end | |
56 | ||
57 | package %{name}-debuginfo | |
58 | template DEBUGINFO | |
59 | end | |
60 | end |