openbox-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. Name: openbox
  2. Version: 3.4.11
  3. Release: 1%{?_dist_release}
  4. Summary: A highly configurable and standards-compliant X11 window manager
  5. Summary(ja): 高度に設定可能な標準準拠の X11 ウィンドウマネージャ
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://icculus.org/openbox
  9. Source0: http://icculus.org/openbox/releases/%{name}-%{version}.tar.gz
  10. Source1: http://icculus.org/openbox/tools/setlayout.c
  11. Source2: xdg-menu
  12. Source3: menu.xml
  13. Source4: openbox.desktop
  14. Patch0: openbox-3.4.9-autostartdir.patch
  15. Patch1: openbox-3.4.8-gdm.patch
  16. Patch3: openbox-3.4.7.2-autostartid.patch
  17. Patch6: 05_fix_gnome-settings-daemon_path.patch
  18. Patch7: openbox-3.4.7.2-24bit.patch
  19. Patch9: openbox-3.4.10-obxpropman.patch
  20. Patch10: openbox-3.4.11-Xau.patch
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. Requires: %{name}-libs = %{version}-%{release}
  23. BuildRequires: gettext
  24. BuildRequires: desktop-file-utils
  25. BuildRequires: pango-devel
  26. BuildRequires: startup-notification-devel
  27. BuildRequires: libxml2-devel
  28. BuildRequires: libXcursor-devel
  29. BuildRequires: libXt-devel
  30. BuildRequires: libXrandr-devel
  31. BuildRequires: libXinerama-devel
  32. # The xdg-menu dynamic pipe menu requires the gmenu Python module
  33. Requires: gnome-menus
  34. %description
  35. Openbox is a window manager designed explicity for standards-compliance and
  36. speed. It is fast, lightweight, and heavily configurable (using XML for its
  37. configuration data). It has many features that make it unique among window
  38. managers: window resistance, chainable key bindings, customizable mouse
  39. actions, multi-head/Xinerama support, and dynamically generated "pipe menus."
  40. For a full list of the FreeDesktop.org standards with which it is compliant,
  41. please see the COMPLIANCE file in the included documentation of this package.
  42. For a graphical configuration editor, you'll need to install the obconf
  43. package. For a graphical menu editor, you'll need to install the obmenu
  44. package.
  45. %package devel
  46. Summary: Development files for %{name}
  47. Summary(ja): %{name} の開発ファイル
  48. Group: Development/Libraries
  49. Requires: %{name}-libs = %{version}-%{release}
  50. Requires: pkgconfig
  51. Requires: pango-devel
  52. Requires: libxml2-devel
  53. Requires: glib2-devel
  54. %description devel
  55. The %{name}-devel package contains libraries and header files for
  56. developing applications that use %{name}.
  57. %package libs
  58. Summary: Shared libraries for %{name}
  59. Summary: %{name} の共有ライブラリ
  60. Group: System Environment/Libraries
  61. %description libs
  62. The %{name}-libs package contains shared libraries used by %{name}.
  63. %prep
  64. %setup -q
  65. %patch0 -p1 -b .autostartdir
  66. %patch1 -p1 -b .gdm
  67. %patch3 -p1 -b .autostartid
  68. %patch6
  69. %patch7 -p1 -b .24bit
  70. %patch9 -p1 -b .obxpropman
  71. %patch10 -p1 -b .Xau
  72. %build
  73. %configure \
  74. --disable-static
  75. ## Fix RPATH hardcoding.
  76. sed -ie 's|^hardcode_libdir_flag_spec=.*$|hardcode_libdir_flag_spec=""|g' libtool
  77. sed -ie 's|^runpath_var=LD_RUN_PATH$|runpath_var=DIE_RPATH_DIE|g' libtool
  78. make %{?_smp_mflags}
  79. gcc %{optflags} -o setlayout %{SOURCE1} -lX11
  80. %install
  81. rm -rf %{buildroot}
  82. make install DESTDIR=%{buildroot}
  83. install setlayout %{buildroot}%{_bindir}
  84. install -p %{SOURCE2} %{buildroot}%{_datadir}/%{name}/xdg-menu
  85. sed 's|_XDGMENU_|%{_datadir}/%{name}/xdg-menu|g' < %{SOURCE3} \
  86. > %{buildroot}%{_sysconfdir}/xdg/%{name}/menu.xml
  87. desktop-file-install --vendor="" \
  88. --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
  89. %{SOURCE4}
  90. %find_lang %{name}
  91. rm -f %{buildroot}%{_libdir}/*.la
  92. rm -rf %{buildroot}%{_datadir}/doc/%{name}
  93. %clean
  94. rm -rf %{buildroot}
  95. %files -f %{name}.lang
  96. %defattr(-,root,root,-)
  97. %doc AUTHORS CHANGELOG COMPLIANCE COPYING README
  98. %doc data/*.xsd data/menu.xml doc/rc-mouse-focus.xml
  99. %dir %{_sysconfdir}/xdg/%{name}/
  100. %config(noreplace) %{_sysconfdir}/xdg/%{name}/*
  101. %{_bindir}/gnome-panel-control
  102. %{_bindir}/gdm-control
  103. %{_bindir}/%{name}*
  104. %{_bindir}/obxprop
  105. %{_bindir}/setlayout
  106. %{_datadir}/applications/*%{name}.desktop
  107. %{_datadir}/%{name}
  108. %{_datadir}/themes/*/
  109. %{_datadir}/pixmaps/%{name}.png
  110. %{_datadir}/gnome/wm-properties/
  111. %{_datadir}/xsessions/%{name}*.desktop
  112. %{_mandir}/man1/*
  113. %files libs
  114. %{_libdir}/libobrender.so.*
  115. %{_libdir}/libobparser.so.*
  116. %files devel
  117. %{_includedir}/%{name}/
  118. %{_libdir}/libobrender.so
  119. %{_libdir}/libobparser.so
  120. %{_libdir}/pkgconfig/*.pc
  121. %post libs -p /sbin/ldconfig
  122. %postun libs -p /sbin/ldconfig
  123. %changelog
  124. * Thu Feb 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.11-1
  125. - new upstream release
  126. - added Patch10 from Fedora
  127. - added summary(ja) in -devel and -libs
  128. * Sun Jan 10 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.10-1
  129. - new upstream release
  130. - dropt Patch8
  131. - Patch9 from Fedora
  132. * Wed Dec 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.9-1
  133. - new upstream release
  134. - dropt patch2
  135. - replaced and renamed Patch0 from Fedora
  136. * Tue Dec 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.8-1
  137. - new upstream release
  138. - dropt patch4,5
  139. - added Patch8 from Fedora
  140. - added Requires: gnome-menus
  141. * Tue Oct 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.7.2-4
  142. - improved Source3
  143. - enabled administration menu (disabled preference menu because included)
  144. - added Patch6 from Mandriva
  145. - added Patch7 from Fedora
  146. - replaced Source1 from Fedora
  147. * Sun Sep 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.7.2-3
  148. - updated Source4
  149. - added Patch4,5 from Debian
  150. * Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.7.2-2vl5
  151. - changed openbox-libs Group: System Environment/Libraries
  152. - spec in UTF-8
  153. * Fri Mar 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.4.7.2-1vl5
  154. - initial build for VineSeed
  155. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.7.2-8
  156. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  157. * Tue Dec 09 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-7
  158. - Restore gnome session script (#474143)
  159. - Use DESKTOP_AUTOSTART_ID to avoid gnome-session registration timeout
  160. * Thu Oct 02 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-6
  161. - Drop gnome session script (gnome-session no longer supports $WINDOW_MANAGER)
  162. - Add application desktop file to allow starting openbox in gnome-session
  163. when configured in gconf
  164. * Thu Sep 04 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-5
  165. - Don't use --choose-session option in gnome session script
  166. * Fri Aug 01 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-4
  167. - Remove field codes from commands in xdg-menu (#452403)
  168. - Add support for launching applications in xterm to xdg-menu
  169. * Tue Jun 10 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-3
  170. - Clean up properties after gdm in session scripts (#444135)
  171. - Add license to xdg-menu script
  172. * Tue May 20 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-2
  173. - Drop numdesks patch (#444135)
  174. * Wed May 14 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-1
  175. - Update to 3.4.7.2
  176. - Use gnome menus by default (Luke Macken) (#443548)
  177. - Force setting number of desktops (#444135)
  178. * Thu Apr 17 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.1-1
  179. - Update to 3.4.7.1
  180. - Don't require /usr/share/themes
  181. * Wed Feb 06 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.6.1-1
  182. - Update to 3.4.6.1
  183. * Sun Feb 03 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.6-1
  184. - Update to 3.4.6
  185. * Mon Jan 07 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.5-1
  186. - Update to 3.4.5
  187. * Wed Aug 22 2007 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.4-2
  188. - Rebuild
  189. * Sun Aug 05 2007 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.4-1
  190. - Update to 3.4.4
  191. - Update license tag
  192. * Mon Jul 23 2007 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.3-1
  193. - Update to 3.4.3
  194. - Package setlayout tool
  195. * Wed Jun 13 2007 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.2-1
  196. - Update to 3.4.2
  197. * Mon Jun 04 2007 Peter Gordon <peter@thecodergeek.com> - 3.3.1-7
  198. - Own %%{_datadir}/gnome/wm-properties instead of depending on gnome-session
  199. in order to reduce dependency bloat. (Resolves bug 242339; thanks to Miroslav
  200. Lichvar for the bug report.)
  201. * Tue Mar 27 2007 Peter Gordon <peter@thecodergeek.com> - 3.3.1-6
  202. - Split shared libraries into a -libs subpackage to properly handle multilib
  203. setups. (This precludes the further need to %%ghost the byte-compiled
  204. themeupdate scripts which was introduced in the previous release.)
  205. - Fix handling of the startup_notification build conditional. It will actually
  206. work properly now. :)
  207. - Remove the hardcoded RPATH using some sed invocations from the packaging
  208. guidelines.
  209. * Mon Feb 12 2007 Peter Gordon <peter@thecodergeek.com> - 3.3.1-5
  210. - %%ghost the byte-compiled themeupdate scripts to fix multilib conflict
  211. (bug #228379).
  212. * Thu Nov 23 2006 Peter Gordon <peter@thecodergeek.com> - 3.3.1-4
  213. - Don't own %%{_datadir}/gnome/wm-properties anymore, as that's now owned
  214. by gnome-session in Rawhide and we should not have ownership conflicts with
  215. Core packages.
  216. * Mon Oct 02 2006 Peter Gordon <peter@thecodergeek.com> - 3.3.1-3
  217. - Rebuild to pick up unwind info generation fixes in new GCC
  218. * Wed Sep 20 2006 Peter Gordon <peter@thecodergeek.com> - 3.3.1-2
  219. - Allow building with startup-notification as an rpmbuild option (though it is
  220. disabled by default as recommended by upstream).
  221. * Sun Sep 09 2006 Peter Gordon <peter@thecodergeek.com> - 3.3.1-1
  222. - Update to new 3.3.1 from upstream
  223. * Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-3
  224. - Mass FC6 rebuild
  225. * Sat Aug 26 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-2
  226. - Bump release to fix sources tagging issue
  227. * Sat Aug 26 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-1
  228. - Update to 3.3 final release from upstream
  229. - Remove the slew of versioning macros, as it's overkill for this and just adds
  230. unneeded complexity to the spec.
  231. * Wed Jun 28 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.8.rc2.1
  232. - Add missing BuildRequires: libXxf86vm-devel
  233. * Wed Jun 28 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.8.rc2
  234. - Unconditionalize the BuildRequires for modular X.org, since it's branched
  235. for a specific Fedora release.
  236. * Mon Jun 26 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.7.rc2
  237. - Own the %%{_datadir}/gnome/wm-properties directory (#195292)
  238. * Fri Jun 23 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.6.rc2
  239. - Add %%{_datadir}/themes to Requires (#195292)
  240. * Tue Jun 20 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.5.rc2
  241. - Own all created theme directories (#195292)
  242. - Fix previous review bug IDs in this %%changelog to point to the recreated
  243. review bug (due to recent bugzilla outage)
  244. * Sun Jun 18 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.4.rc2
  245. - Don't default to an executable xsession script (#195292)
  246. * Mon Jun 12 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.3.rc2
  247. - Fix versioning to conform to the Extras packaging guidelines
  248. * Mon Jun 12 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.rc2.2
  249. - Add %%{_datadir}/xsessions .desktop file for easy selection of Openbox at
  250. login screen (#195292)
  251. * Fri Jun 09 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.rc2.1
  252. - Unorphan, rewriting nearly all of the spec file
  253. - Update to upstream 3.3 RC2
  254. * Sun Jul 27 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.5
  255. - Need to own /etc/X11/gdm/Sessions && /etc/X11/gdm (#440)
  256. - Need to conflict with fluxbox (#422 / #440)
  257. * Tue Jul 22 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.4
  258. - Need to own /usr/share/apps/switchdesk (#422)
  259. * Mon Jul 21 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.3
  260. - More spec revisions (#422); change make and preserve timestamps
  261. * Sun Jul 20 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.2
  262. - Minor spec revisions (#422); add epoch and versions to changelogs
  263. * Sun Jul 06 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.1
  264. - Add switchdesk support
  265. - Add display manager support
  266. - Fix NLS build on Cambridge
  267. - Fedora'ize the spec
  268. * Sun Jun 29 2003 Chris Ricker <kaboom@gatech.edu>
  269. - Rev to 2.3.1 release
  270. - Make go with GCC 3.3
  271. * Tue Mar 18 2003 Chris Ricker <kaboom@gatech.edu>
  272. - Package of 2.3.0 release