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