fvwm2-vl.spec 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. Summary: An improved version of the FVWM window manager for X.
  2. Summary(ja): fvwm2 (F(?) Virtual Window Manager version 2) の日本語対応版
  3. Name: fvwm2
  4. Version: 2.5.28
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. Url: http://www.fvwm.org
  9. Source0: ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-%{version}.tar.bz2
  10. Source1: fvwm-2.0.46.icons.tar.gz
  11. ##Source2: compat-icons.tar.gz
  12. Source3: fvwm2rc.vine
  13. Source4: fvwm2rc.vine.ja
  14. Source10: start_fvwm2
  15. Source11: fvwm.desktop
  16. Source12: fvwm-setwallpaper
  17. Source13: fvwm-resetwallpaper
  18. Source20: fvwm.ja.po
  19. Source21: FvwmTaskBar.ja.po
  20. Source22: FvwmScript.ja.po
  21. Source30: Blue-Vine-theme.tar.bz2
  22. Source31: fvwm-backgrounds.tar.bz2
  23. Source32: fvwm-system-styles.tar.bz2
  24. Source40: Exit.png
  25. Source41: fvwm-start.png
  26. Source42: mlterm.png
  27. ##Patch0: fvwm-2.2.5-I18N_mb-2.1.patch
  28. ##Patch1: fvwm-2.2.2-vine.patch
  29. ##Patch2: fvwm-2.2.2-adhoc.patch
  30. Patch10: fvwm2-config.patch
  31. Patch11: fvwm-form-setup.patch
  32. Patch12: fvwm-script-setup95.patch
  33. BuildRequires: glibc-devel xorg-x11-proto-devel libXpm-devel readline-devel
  34. BuildRequires: ncurses-devel perl gtk+-devel imlib-devel libXft-devel
  35. BuildRequires: fribidi-devel libpng-devel librsvg2-devel libSM-devel
  36. BuildRequires: libxslt-devel libXrender-devel libXinerama-devel libXt-devel
  37. Requires: glibc libXpm readline
  38. Requires: ncurses perl >= 5.004 gtk+ imlib libXft
  39. Requires: fribidi libpng librsvg2 libSM
  40. Requires: libxslt libXrender libXinerama libXt
  41. Requires: Gtk-Perl zenity xsri ImageMagick w3m
  42. Buildroot: %{_tmppath}/%{name}-%{version}-root
  43. %description
  44. FVWM2 (the F stands for whatever you want, but the VWM stands for
  45. Virtual Window Manager) is an improved version of the FVWM window
  46. manager for the X Window System and shares the same characteristics as
  47. FVWM.
  48. Install the fvwm2 package if you'd like to use the FVWM2 window manager.
  49. If you install fvwm2, you'll also need to install fvwm2-icons.
  50. %description -l ja
  51. 高機能でカラフルな X 用ウィンドウマネージャ fvwm2 (FVWM version 2) の
  52. 日本語版です。ウィンドウマネージャとは、X 上の各クライアントのウィンド
  53. ウを操作(移動・リサイズ等)したり、枠を装飾したりするソフトウェアです。
  54. %prep
  55. %setup -n fvwm-%{version} -q -a 1 -a 30 -a 31 -a 32
  56. ##%patch0 -p1 -b .mb
  57. ##%patch1 -p1 -b .redhat
  58. ##%ifarch ppc
  59. ##%patch2 -p1 -b .adhoc
  60. ##%endif
  61. %patch10 -p1
  62. %patch11 -p1
  63. %patch12 -p1
  64. cp -p %{SOURCE3} sample.fvwmrc/system.fvwm2rc
  65. cp -p %{SOURCE4} sample.fvwmrc/system.fvwm2rc.ja
  66. #cp -p %{SOURCE10} .
  67. #cp -p %{SOURCE11} .
  68. cp -p %{SOURCE20} %{SOURCE21} %{SOURCE22} po/
  69. %build
  70. %configure --enable-htmldoc
  71. if [ "$SMP" != "" ]; then
  72. make -j$SMP "MAKE=make -j$SMP"
  73. else
  74. make
  75. fi
  76. pushd po
  77. make fvwm.ja.gmo
  78. make FvwmScript.ja.gmo
  79. make FvwmTaskBar.ja.gmo
  80. popd
  81. %install
  82. # fvwm2 package
  83. rm -rf %{buildroot}
  84. mkdir -p %{buildroot}/%{_libexecdir}/%{name}/%{version}
  85. %makeinstall
  86. #----- startup script
  87. %__install %{SOURCE10} %{buildroot}/%{_bindir}/
  88. #----- wallpaper utility
  89. %__install %{SOURCE12} %{buildroot}/%{_bindir}/
  90. %__install %{SOURCE13} %{buildroot}/%{_bindir}/
  91. #----- desktop session entry file
  92. %__mkdir -p %{buildroot}/%{_sysconfdir}/X11/dm/Sessions
  93. %__install -m0644 %{SOURCE11} %{buildroot}/%{_sysconfdir}/X11/dm/Sessions/
  94. #----- fvwm config files
  95. %__mkdir -p %{buildroot}/%{_datadir}/fvwm/Blue-Vine-theme
  96. %__install -m0644 Blue-Vine-theme/.fvwm2rc %{buildroot}/%{_datadir}/fvwm/Blue-Vine-theme
  97. %__install -m0644 Blue-Vine-theme/* %{buildroot}/%{_datadir}/fvwm/Blue-Vine-theme
  98. #----- wallpaper
  99. %__mkdir -p %{buildroot}/%{_datadir}/fvwm/backgrounds
  100. %__install -m0644 backgrounds/* %{buildroot}/%{_datadir}/fvwm/backgrounds
  101. #----- mini icons
  102. mkdir -p %{buildroot}%{_datadir}/icons/mini
  103. install -m 644 icons/*.xpm %{buildroot}%{_datadir}/icons/mini/
  104. install -m 644 %{SOURCE40} %{SOURCE41} %{SOURCE42} %{buildroot}%{_datadir}/icons/mini/
  105. #----- modified styles
  106. mkdir %{buildroot}/%{_datadir}/fvwm/fvwm-system-styles/
  107. install -m 644 fvwm-system-styles/* %{buildroot}/%{_datadir}/fvwm/fvwm-system-styles/
  108. ###find docs/ -type f -perm +111 | xargs -r chmod -x
  109. %clean
  110. rm -rf %{buildroot}
  111. #-----------------------------------
  112. %files
  113. %defattr(-,root,root)
  114. %doc AUTHORS COPYING INSTALL INSTALL.fvwm NEWS README
  115. %doc docs/ANNOUNCE docs/BUGS docs/COMMANDS docs/DEVELOPERS docs/FAQ docs/TODO
  116. %doc docs/error_codes docs/fvwm.lsm
  117. %{_bindir}/*
  118. %{_sysconfdir}/*
  119. %{_datadir}/fvwm/*
  120. %{_datadir}/locale/*
  121. %{_datadir}/man/*
  122. %{_datadir}/icons/mini/*
  123. %{_libexecdir}/fvwm/%{version}/*
  124. %dir %{_datadir}/fvwm
  125. %dir %{_libexecdir}/fvwm/%{version}
  126. %dir %{_datadir}/icons/mini
  127. %changelog
  128. * Sat Oct 3 2009 KATO Masashi <mkato@par.odn.ne.jp> 2.5.28-1
  129. - new upstream release
  130. * Sun Aug 30 2009 KATO Masashi <mkato@par.odn.ne.jp> 2.5.27-2
  131. - update documents(converted text to html)
  132. * Mon Aug 17 2009 KATO Masashi <mkato@par.odn.ne.jp> 2.5.27-1
  133. - new upstream release
  134. - dropped patchs(0-2)
  135. - added patch10(for Japanese translation)
  136. - added patch11,12(prevents garbled characters)
  137. - added po files(fvwm.ja.po,FvwmScript.ja.po,FvwmTaskBar.ja.po).
  138. - added theme files(Blue-Vine)
  139. - added dm-session entry
  140. - added startup script
  141. * Thu Nov 28 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.5-0vl4
  142. - rebuilt with new toolchain
  143. * Tue Jan 29 2002 Toru Sagami <sagami@vinelinux.org> 2.2.5-0vl3
  144. - eliminate executable bit in %doc (requierment for /bin/sh)
  145. * Thu Jul 12 2001 <sagami@vinelinux.org>
  146. - 2.2.5-0vl2: added COPYING README.mb docs
  147. * Mon Feb 26 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  148. - 2.2.5-0vl1
  149. * Mon Dec 25 2000 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  150. - 2.2.4-0vl4
  151. - fixed fvwm2rc for Vine 2.1+
  152. * Sun Nov 12 2000 MACHINO, Satoshi <machino@vinelinux.org> 2.2.4-0vl2
  153. - build on gcc-2.95.3
  154. - partially used rpmmacros
  155. * Mon Oct 16 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  156. - 2.2.4-0vl2
  157. - added ad-hoc patch to stop segfaults on ppc
  158. (va_* in fvwm/{read,misc}.c should be faulty though...)
  159. * Mon Feb 7 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  160. - update to 2.2.4
  161. * Mon Nov 8 1999 Yasuyuki Furukawa <furukawa@vinelinux.or>, Vine vl3,vl4
  162. - update fontset_wrapper patch(I18N)
  163. - make default menu NLS (English/Japanese).
  164. * Wed Oct 20 1999 Jun Nishii <jun@flatout.org>
  165. - modify default menu
  166. * Tue Oct 19 1999 Jun Nishii <jun@flatout.org>
  167. - build with jp patch by Mr. Furukawa
  168. * Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
  169. - added ability to read wmconfig generated menu (# 2665)
  170. * Thu Sep 09 1999 Preston Brown <pbrown@redhat.com>
  171. - removed compatibility icon pak.
  172. * Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
  173. - 2.2.2 bugfix release
  174. * Fri Apr 09 1999 Preston Brown <pbrown@redhat.com>
  175. - added some icons from kdebase back to this package for upgrade
  176. - compatibility.
  177. * Wed Mar 24 1999 Bill Nottingham <notting@redhat.com>
  178. - don't require xterm-color
  179. * Mon Mar 22 1999 Preston Brown <pbrown@redhat.com>
  180. - better default system.fvwm2rc
  181. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  182. - auto rebuild in the new build environment (release 2)
  183. * Fri Feb 26 1999 Cristian Gafton <gafton@redhat.com>
  184. - package is still not finished yet
  185. - upgraded to 2.2, got rid of all the cruft in the spec file
  186. * Thu Sep 24 1998 Cristian Gafton <gafton@redhat.com>
  187. - updated to 2.0.47
  188. - mark config files as %config files
  189. * Mon Jun 29 1998 Michael Maher <mike@redhat.com>
  190. - removed duplicate files found in the package Another level.
  191. - fixes bug: 651
  192. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  193. - translations modified for de, fr, tr
  194. * Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
  195. - long time no new version released :-(. -> misc patch
  196. - major spec file cleanups
  197. * Mon Nov 03 1997 Cristian Gafton <gafton@redhat.com>
  198. - Fixed more bugs (bugs patch)
  199. * Fri Oct 24 1997 Cristian Gafton <gafton@redhat.com>
  200. - fixed Alpha build
  201. * Thu Oct 16 1997 Cristian Gafton <gafton@redhat.com>
  202. - fixed FvwmTaskBar severe bug (taskbar patch)
  203. - misc fixes
  204. * Mon Oct 13 1997 Cristian Gafton <gafton@redhat.com>
  205. - built against glibc; added -rh and -fixes patches