wmconfig-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Summary: A configuration tool for X window managers.
  2. Summary(ja): ウィンドウ・マネージャ設定ツール
  3. Name: wmconfig
  4. %define version 0.9.8
  5. Version: %{version}
  6. Release: 1vl5
  7. License: GPL
  8. Group: User Interface/Desktops
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: Yasuyuki Furukawa <furukawa@vinelinux.org>
  12. Source: ftp://ftp.redhat.com/home/gafton/wmconfig/wmconfig-%{version}.tar.gz
  13. # Patches for Vine
  14. Patch100: wmconfig-0.9.8-noneed_libgnome.patch
  15. Patch101: wmconfig-0.9.8-gnome_i18n_dir.patch
  16. Patch102: wmconfig-0.9.8-gnome_terminal.patch
  17. Patch103: wmconfig-0.9.8-short_lang.patch
  18. Patch104: wmconfig-0.9.8-kde_i18n.patch
  19. Patch105: wmconfig-0.9.8-ignorecase.patch
  20. Patch106: wmconfig-0.9.8-vine.patch
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. BuildRequires: autoconf213, automake14
  23. %description
  24. The wmconfig program is a helper program which provides output for use
  25. in configuring window managers. Wmconfig will produce a list of menu
  26. definitions for a specified X window manager (currently, FVWM2,
  27. FVWM95, AfterStep, MWM, IceWM and KDE are supported). Wmconfig's
  28. output can be placed into your .rc file or you can use the output for
  29. other configuration purposes.
  30. %description -l ja
  31. Wmconfigプログラムはウィンドウマネージャの設定のための出力を吐き出す、
  32. 補助プログラムです。Wmconfigは指定のXウィンドウマネージャ用のメニュー
  33. 定義の一覧を出力します。現在, Fvwm2, Fvwm95, AfterStep, MWM, IceWM,
  34. KDEをサポートしています。
  35. Wmconfig の出力は 自分の .rc ファイルへ置いたり、あるいは別の設定目的
  36. で出力を利用することができます。
  37. %prep
  38. %setup -q
  39. %patch100 -p1 -b .noneed_libgnome
  40. %patch101 -p1 -b .gnome_i18n_dir
  41. %patch102 -p1 -b .gnome_terminal
  42. %patch103 -p1 -b .short_lang
  43. %patch104 -p1 -b .kde_i18n
  44. %patch105 -p1 -b .ignore_case
  45. # If the vine patch is used, please modify the menus of fvwm2, too.
  46. #%patch106 -p1 -b .vine
  47. %build
  48. # Workaround for legacy auto* tools
  49. [ -x /usr/bin/autoconf-2.13 ] && ln -s /usr/bin/autoconf-2.13 autoconf
  50. [ -x /usr/bin/autoheader-2.13 ] && ln -s /usr/bin/autoheader-2.13 autoheader
  51. [ -x /usr/bin/aclocal-1.4 ] && ln -s /usr/bin/aclocal-1.4 aclocal
  52. [ -x /usr/bin/automake-1.4 ] && ln -s /usr/bin/automake-1.4 automake
  53. export PATH=`pwd`:$PATH
  54. # End workaround
  55. automake
  56. autoconf
  57. CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr/X11R6 \
  58. --enable-gnome
  59. make
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. make DESTDIR=$RPM_BUILD_ROOT install-strip
  63. mkdir -p $RPM_BUILD_ROOT/etc/X11/wmconfig
  64. %clean
  65. rm -rf $RPM_BUILD_ROOT
  66. %files
  67. %defattr(-,root,root)
  68. /usr/X11R6/bin/wmconfig
  69. %dir /etc/X11/wmconfig
  70. /usr/X11R6/man/man1/wmconfig.1*
  71. %doc COPYING
  72. %changelog
  73. * Sat Jul 19 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.8-1vl5
  74. - rebuilt with new toolchains
  75. - add BuildRequires: autoconf213, automake14
  76. - fixed BuildRoot to use rpmmacro
  77. - s/Copyright/License/
  78. * Fri Sep 08 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  79. - 0.9.8-1vl4
  80. - modified %files section to handle compressed man page(s)
  81. * Wed Mar 13 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  82. - modified gnome_dir_i18n and kde_i1n patches for KDE users
  83. * Tue Feb 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  84. - added a ignorecase patch.
  85. * Sun Feb 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  86. - updated 0.9.8
  87. - added noneed_libgnome patch for nodepend to gnome libraries.
  88. - added gnome_i18n_dir, gnome_terminal patch
  89. - added vine(but not used) patch
  90. - added short_lang and kde_i18n patch.
  91. - enable gnome again
  92. * Wed Jan 26 2000 Jun Nishii <jun@vinelinux.org>
  93. - disable gnome
  94. * Sat Oct 23 1999 Jun Nishii <jun@flatout.org>
  95. - added %defattr in %files