mc-vl.spec 6.4 KB

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