mc-vl.spec 6.1 KB

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