mc-vl.spec 6.0 KB

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