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