openbox-vl.spec 12 KB

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