icewm-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. Summary: Fast and small X11 window manager
  2. Summary(ja): 高速で軽量なウィンドウマネージャ
  3. Name: icewm
  4. Version: 1.2.37
  5. Release: 2%{?_dist_release}
  6. Source: http://ftp1.sourceforge.net/icewm/icewm-%{version}.tar.gz
  7. Source1: %{name}.desktop
  8. Source2: %{name}-1.2.32-ja.po
  9. # default menu file for Vine Linux
  10. Source10: %{name}-menu.vine
  11. Source11: %{name}-toolbar.vine
  12. # addtional themes
  13. Source100: truecurve-default-1.0.4.tar.gz
  14. Source101: SilverXP-1.2.17-double-1.tar.bz2
  15. Source102: icecrack-default-2.1.0.tar.gz
  16. Patch0: icewm-1.2.37-gnome2.patch
  17. URL: http://icewm.sourceforge.net/
  18. License: GPL
  19. Group: User Interface/Desktops
  20. Buildroot: %{_tmppath}/%{name}-%{version}-root
  21. BuildRequires: imlib-devel libpng-devel freetype2-devel
  22. BuildRequires: gnome-desktop-devel startup-notification-devel
  23. BuildRequires: gnome-vfs2-devel libgnomeui-devel
  24. BuildRequires: xorg-x11-font-utils
  25. BuildRequires: libSM-devel
  26. # default apps
  27. # Prereq: mlterm firefox sylpheed
  28. %description
  29. A lightweight window manager for the X Window System. Optimized for
  30. "feel" and speed, not looks. Features multiple workspaces, opaque
  31. move/resize, task bar, window list, clock, mailbox, CPU, Network, APM
  32. status.
  33. %package menu-gnome2
  34. Summary: GNOME menu support for icewm (using gnome 2.x).
  35. Summary(ja): IceWM における GNOME メニューのサポート
  36. Group: User Interface/Desktops
  37. Requires: icewm = %{version}
  38. Requires: gnome-desktop-libs
  39. %description menu-gnome2
  40. GNOME menu support for icewm (using gnome 2.x).
  41. %prep
  42. %setup -q -a 100 -a 101 -a 102
  43. %patch0 -p1
  44. cp -p %{SOURCE2} po/ja.po
  45. autoconf
  46. %build
  47. %configure --enable-menus-gnome2
  48. make
  49. %install
  50. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  51. make DESTDIR=$RPM_BUILD_ROOT install
  52. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/dm/Sessions
  53. install -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/dm/Sessions
  54. # installs default menu and toobar
  55. install -m644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/icewm/menu
  56. install -m644 %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/icewm/toolbar
  57. # installs additional themes
  58. cp -pr TrueCurve-1.0.4 $RPM_BUILD_ROOT%{_datadir}/icewm/themes/TrueCurve
  59. cp -pr icewm/themes/SilverXP-1.2.17-double-1 $RPM_BUILD_ROOT%{_datadir}/icewm/themes/SilverXP
  60. cp -pr IceCrack2 $RPM_BUILD_ROOT%{_datadir}/icewm/themes/IceCrack
  61. %find_lang %{name}
  62. %clean
  63. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  64. %files -f %{name}.lang
  65. %defattr(-,root,root)
  66. %doc AUTHORS BUGS CHANGES COPYING INSTALL README TODO
  67. %doc doc/*.html doc/icewm.sgml
  68. %{_sysconfdir}/X11/dm/Sessions/%{name}.desktop
  69. %{_bindir}/icehelp
  70. %{_bindir}/icesh
  71. %{_bindir}/icewm
  72. %{_bindir}/icewm-session
  73. %{_bindir}/icewmbg
  74. %{_bindir}/icewmhint
  75. %{_bindir}/icewmtray
  76. %{_datadir}/icewm
  77. %files menu-gnome2
  78. %defattr(-,root,root)
  79. %{_bindir}/icewm-menu-gnome2
  80. %changelog
  81. * Fri Apr 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.37-2
  82. - rebuild with rpm-4.8.1
  83. - add BuildRequires: libSM-devel
  84. * Mon Apr 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.37-1vl5
  85. - new upstream release
  86. - added Patch0
  87. * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.32-1vl5
  88. - applied new versioning policy, spec in utf-8
  89. * Thu Aug 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.32-0vl2
  90. - rebuilt for VineSeed
  91. * Thu Aug 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.32-0vl1
  92. - new upstream release
  93. - updated ja.po
  94. * Sun Jul 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.30-0vl1
  95. - new upstream release
  96. - rebuilt with new toolchain
  97. * Mon Sep 04 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.26-0vl4
  98. - rebuilt for VineSeed (4.0)
  99. * Mon Sep 04 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.26-0vl3
  100. - drop Prereq: mlterm firefox sylpheed <BTS:VineLinux:90>
  101. * Sun Jul 23 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.26-0vl2
  102. - rebuilt for VineSeed (4.0)
  103. * Sun Jul 23 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.26-0vl1
  104. - new upstream release
  105. - added Source10 and 11 for default settings
  106. - added Prereq for default settings
  107. - added Source100, 101 and 102 for additional themes
  108. - added BuildPrereq: libpng-devel
  109. * Sat Aug 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.23-0vl2
  110. - rebuild with VineSeed Plus
  111. - removed BuildPrereq: libjpeg-devel, libtiff-devel, libungif-devel
  112. * Sat Aug 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.23-0vl1
  113. - new upstream release
  114. - added BuildPrereq: startup-notification-devel,
  115. - added BuildPrereq: libjpeg-devel, libtiff-devel, libungif-devel
  116. - updated ja.po
  117. * Tue Jun 14 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.21-0vl1
  118. - new upstream release
  119. * Sat Jan 15 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.20-0vl1
  120. - new upstream release
  121. - updated ja.po
  122. * Sun Dec 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.17-0vl1
  123. - new upstream release
  124. - updated ja.po
  125. * Mon Aug 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.16-0vl1
  126. - new upstream release
  127. - added ice.desktop file for gdm
  128. - added icewm-menu-gnome2 sub-package
  129. - updated ja.po
  130. * Sat May 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.2.7-0vl1
  131. - first release