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