fvwm2-vl.spec 8.9 KB

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