1 | # Note that this is NOT a relocatable package |
---|
2 | %define ver 4.7.4 |
---|
3 | %define rel 1%{?_dist_release} |
---|
4 | |
---|
5 | Summary: A user-friendly file manager and visual shell. |
---|
6 | Summary(ja): ユーザ・フレンドリーなファイル・マネージャおよびビジュアル・シェル |
---|
7 | Name: mc |
---|
8 | Version: %{ver} |
---|
9 | Release: %{rel} |
---|
10 | LICENSE: GPL |
---|
11 | Group: System Environment/Shells |
---|
12 | URL: http://www.midnight-commander.org/ |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root |
---|
14 | |
---|
15 | BuildRequires: bison |
---|
16 | BuildRequires: glib2-devel |
---|
17 | BuildRequires: slang-devel |
---|
18 | BuildRequires: libX11-devel |
---|
19 | BuildRequires: gpm-devel |
---|
20 | BuildRequires: groff |
---|
21 | |
---|
22 | Source0: http://www.midnight-commander.org/downloads/%{name}-%{ver}.tar.bz2 |
---|
23 | |
---|
24 | # patch from fedora |
---|
25 | Patch0: mc-mcviewsegfault.patch |
---|
26 | |
---|
27 | Obsoletes: mcserv < 4.7.4 |
---|
28 | Obsoletes: gmc < 4.7.4 |
---|
29 | |
---|
30 | %description |
---|
31 | Midnight Commander is a visual shell much like a file manager, only |
---|
32 | with many more features. It is a text mode application, but it also |
---|
33 | includes mouse support if you are running GPM. Midnight Commander's |
---|
34 | coolest features are its abilities to FTP, view tar and zip files, and |
---|
35 | to poke into RPMs for specific files. |
---|
36 | |
---|
37 | %description -l ja |
---|
38 | Midnight Commanderは単に多くの機能を持つ、まさにファイル・マ |
---|
39 | ネージャとしてのビジュアル・シェルです。これはテキスト・モー |
---|
40 | ドで動くアプリケーションですが、GPMを動かしている場合、マウス |
---|
41 | もサポートしています。Midnight Commanderの最もクールな機能は、 |
---|
42 | FTP、Tarや ZIP、およびRPM内の特定のファイルへアクセスできるこ |
---|
43 | とです。 |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q |
---|
47 | %patch0 -p1 -b .segfault |
---|
48 | |
---|
49 | %build |
---|
50 | %configure \ |
---|
51 | --with-samba \ |
---|
52 | --with-gnome \ |
---|
53 | --without-debug \ |
---|
54 | --with-included-slang |
---|
55 | |
---|
56 | make |
---|
57 | |
---|
58 | %install |
---|
59 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
60 | install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,profile.d,X11/wmconfig} |
---|
61 | |
---|
62 | %makeinstall |
---|
63 | install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d |
---|
64 | install contrib/mc.*sh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d |
---|
65 | |
---|
66 | %find_lang %name |
---|
67 | |
---|
68 | %clean |
---|
69 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
70 | |
---|
71 | %files -f %{name}.lang |
---|
72 | %defattr(-, root, root) |
---|
73 | |
---|
74 | %doc COPYING NEWS README |
---|
75 | %{_bindir}/mc |
---|
76 | %{_bindir}/mcedit |
---|
77 | %{_bindir}/mcmfmt |
---|
78 | %{_bindir}/mcdiff |
---|
79 | %{_bindir}/mcview |
---|
80 | %{_mandir}/man1/* |
---|
81 | %{_libexecdir}/mc/* |
---|
82 | %{_datadir}/mc/* |
---|
83 | %{_sysconfdir}/profile.d/* |
---|
84 | %config %{_sysconfdir}/mc/Syntax |
---|
85 | %config %{_sysconfdir}/mc/mc.charsets |
---|
86 | %config %{_sysconfdir}/mc/mc.lib |
---|
87 | %config(noreplace) %{_sysconfdir}/mc/mc.ext |
---|
88 | %config(noreplace) %{_sysconfdir}/mc/*edit* |
---|
89 | %config(noreplace) %{_sysconfdir}/mc/mc.keymap* |
---|
90 | %config(noreplace) %{_sysconfdir}/mc/mc.menu* |
---|
91 | %config(noreplace) %{_sysconfdir}/mc/*.ini |
---|
92 | |
---|
93 | %changelog |
---|
94 | * Wed Nov 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.4-1 |
---|
95 | - new upstream release |
---|
96 | - fix all BuildRequires and Requires |
---|
97 | - fix URL |
---|
98 | - remove all old patches |
---|
99 | - add Patch0(mc-mcviewsegfault.patch) |
---|
100 | - remove mcserv and gmc package |
---|
101 | - fix %install and %files |
---|
102 | |
---|
103 | * Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.5.54-0vl4 |
---|
104 | - rebuilt with db4-4.2.52 |
---|
105 | |
---|
106 | * Sun Jul 18 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.54-0vl3 |
---|
107 | - merged with Vine26 package. |
---|
108 | * Wed Nov 12 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.54-0vl2 |
---|
109 | - add Patch107 to fix open_new_terminal on desktop |
---|
110 | |
---|
111 | * Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.5.54-0vl2 |
---|
112 | - rebuilt against gnome-libs-1.4.2-0vl2 (for db1/db4 matters) |
---|
113 | - modified Patch104 to meet glibc-devel >= 2.2.x |
---|
114 | |
---|
115 | * Tue May 8 2001 Akira TAGOH <tagoh@gnome.gr.jp> 4.5.54-0vl1 |
---|
116 | - New upstream release. |
---|
117 | |
---|
118 | * Fri Mar 23 2001 Akira TAGOH <tagoh@gnome.gr.jp> 4.5.52-0vl1 |
---|
119 | - New upstream release. |
---|
120 | - Use rpmmacros. |
---|
121 | - Added some RH bug fix patch. |
---|
122 | |
---|
123 | * Sun Dec 24 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
124 | - 4.5.50-0vl4 |
---|
125 | - rebuilt with ncurses5 |
---|
126 | - use better macros |
---|
127 | |
---|
128 | * Thu Oct 12 2000 Yoshihiro Kajiki <kajiki@ylug.org> [0vl3] |
---|
129 | - add 8bit_clean patch to view/edit Japanese chars |
---|
130 | |
---|
131 | * Fri Jun 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
132 | - clean up vine-extend patch. |
---|
133 | - modified ja.po for 4.5.50 |
---|
134 | |
---|
135 | * Fri Jun 9 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
136 | - modified vine-extend patch about icon layout. |
---|
137 | |
---|
138 | * Wed Jun 7 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
139 | - updated to 4.5.50 |
---|
140 | |
---|
141 | * Tue May 23 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
142 | - updated to 4.5.46 |
---|
143 | |
---|
144 | * Wed May 3 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
145 | - fixed vine-extend patch for some stability. |
---|
146 | |
---|
147 | * Sat Apr 22 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
148 | - fixed vine-extend patch for timer initialization for busy coursor. |
---|
149 | |
---|
150 | * Wed Apr 19 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
151 | - modified tempnam patch for stability. |
---|
152 | |
---|
153 | * Mon Apr 17 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
154 | - modified vine_extend patch to fix URL DnD action again, sorry... |
---|
155 | |
---|
156 | * Sat Apr 15 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
157 | - modified vine_extend patch to fix URL DnD action and clean up a little. |
---|
158 | - added the special up directory pixmap. |
---|
159 | - added ftpfs patch to reconnecte after idle timeout. |
---|
160 | - added --with-smbfs option to configure. |
---|
161 | |
---|
162 | * Tue Apr 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
163 | - modified vine_extend patch to snap and aoto-put icons to better position. |
---|
164 | - added gme-client for Gnome 1.1.x |
---|
165 | |
---|
166 | * Sat Apr 8 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
167 | - modified vine_extend patch to customize desktop icon appearance and fix dnd. |
---|
168 | - added the special home directory pixmap. |
---|
169 | |
---|
170 | * Thu Apr 6 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
171 | - updated to 4.5.44 |
---|
172 | - removed kondara's patch |
---|
173 | - add fixsh patch from RH6.2 |
---|
174 | - add kterm and vine_extend and view_fix patch instead of kondara's patch. |
---|
175 | |
---|
176 | * Wed Feb 23 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
177 | - added absoluterm.patch from RH6.2beta SRPM. |
---|
178 | - added japo patch |
---|
179 | |
---|
180 | * Tue Dec 21 1999 Jun Nishii <jun@vinelinux.org> |
---|
181 | - merge kondara patch, thanks kondara |
---|
182 | |
---|
183 | * Wed Dec 8 1999 Yasuyuki Furukawa <yasu@on.cs.keio.ac.jp> |
---|
184 | - updated to 4.5.42 |
---|
185 | |
---|
186 | * Sat Sep 18 1999 Kazuhito Nishi <nishi@imasy.or.jp> |
---|
187 | - First try at a spec file for Vine |
---|
188 | |
---|