openbox-vl.spec 14 KB

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