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