3 %bcond_with gnome2 # build with support for GNOME2 wm-properties
5 Summary: Small and fast window manger for the X Window
6 Summary(pl.UTF-8): Mały i szybki zarządca okien dla X Window
12 Group: X11/Window Managers
13 #Source0Download: http://openbox.org/wiki/Openbox:Download
14 Source0: http://openbox.org/dist/openbox/%{name}-%{version}.tar.xz
15 # Source0-md5: 46bf5f1edda0eda0d9e824b585988be9
17 URL: http://openbox.org/
18 BuildRequires: autoconf >= 2.54
19 BuildRequires: automake >= 1:1.11
20 BuildRequires: gettext-tools >= 0.15
21 BuildRequires: glib2-devel >= 1:2.14.0
22 BuildRequires: imlib2-devel
23 BuildRequires: librsvg-devel >= 2
24 BuildRequires: libtool
25 BuildRequires: libxml2-devel >= 1:2.6.31
26 BuildRequires: pango-devel >= 1:1.18.3
27 BuildRequires: pkgconfig
28 BuildRequires: rpm-pythonprov
29 BuildRequires: rpmbuild(macros) >= 1.197
30 BuildRequires: sed >= 4.0
31 BuildRequires: startup-notification-devel >= 0.8
32 BuildRequires: xorg-lib-libICE-devel
33 BuildRequires: xorg-lib-libSM-devel
34 BuildRequires: xorg-lib-libX11-devel
35 BuildRequires: xorg-lib-libXau-devel
36 BuildRequires: xorg-lib-libXcursor-devel
37 BuildRequires: xorg-lib-libXext-devel
38 BuildRequires: xorg-lib-libXinerama-devel
39 BuildRequires: xorg-lib-libXrandr-devel
40 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
41 Requires: %{name}-theme-base = %{epoch}:%{version}-%{release}
45 Obsoletes: openbox-themes-Allegro < 1:3.3.1
46 Obsoletes: openbox-themes-Artwiz < 1:3.3.1
47 Obsoletes: openbox-themes-Blah41 < 1:3.3.1
48 Obsoletes: openbox-themes-Om4Ob < 1:3.3.1
49 Conflicts: filesystem < 3.0-20
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52 %define _wmpropsdir /usr/share/gnome/wm-properties
55 Openbox is a completely new window manager, and is not based upon any
56 previous window manager code-base. Its primary goals are standards
57 support/compliance, and intelligent window management.
59 %description -l pl.UTF-8
60 Openbox jest całkowicie nowym zarządcą okien i nie bazuje już na
61 kodzie wcześniejszych wersji. Jego głównymi celami są wsparcie i
62 zgodność ze standardami oraz inteligentne zarządzanie oknami.
65 Summary: Openbox libraries
66 Summary(pl.UTF-8): Biblioteki Openboksa
68 Requires: glib2 >= 1:2.14.0
69 Requires: libxml2 >= 1:2.6.31
70 Requires: pango >= 1:1.18.3
75 %description libs -l pl.UTF-8
79 Summary: Header files for Openbox
80 Summary(pl.UTF-8): Pliki nagłówkowe Openboksa
81 Group: Development/Libraries
82 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
83 Requires: glib2-devel >= 1:2.14.0
84 Requires: imlib2-devel
85 Requires: librsvg-devel >= 2
86 Requires: libxml2-devel >= 1:2.6.31
87 Requires: pango-devel >= 1:1.18.3
88 Requires: xorg-lib-libICE-devel
89 Requires: xorg-lib-libSM-devel
90 Requires: xorg-lib-libX11-devel
93 Development header files for writing applications based on Openbox.
95 %description devel -l pl.UTF-8
96 Pliki nagłówkowe do tworzenia oprogramowania opartego o Openboksa.
99 Summary: Static Openbox libraries
100 Summary(pl.UTF-8): Statyczne biblioteki Openboksa
101 Group: Development/Libraries
102 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
105 Static Openbox libraries.
107 %description static -l pl.UTF-8
108 Statyczne biblioteki Openboksa.
110 %package themes-Artwiz-boxed
111 Summary: Artwiz-boxed theme for Openbox
112 Summary(pl.UTF-8): Motyw Artwiz-boxed dla Openboksa
114 Requires: %{name} = %{epoch}:%{version}-%{release}
115 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
117 %description themes-Artwiz-boxed
118 Artwiz-boxed theme for Openbox.
120 %description themes-Artwiz-boxed -l pl.UTF-8
121 Motyw Artwiz-boxed dla Openboksa.
124 Summary: Bear theme for Openbox
125 Summary(pl.UTF-8): Motyw Bear dla Openboksa
127 Requires: %{name} = %{epoch}:%{version}-%{release}
128 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
129 Obsoletes: openbox-themes-TheBear < 1:3.3.1
131 %description themes-bear
132 Bear theme for Openbox.
134 %description themes-bear -l pl.UTF-8
135 Motyw Bear dla Openboksa.
137 %package themes-Clearlooks-Olive
138 Summary: Clearlooks-Olive theme for Openbox
139 Summary(pl.UTF-8): Motyw Clearlooks-Olive dla Openboksa
141 Requires: %{name} = %{epoch}:%{version}-%{release}
142 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
144 %description themes-Clearlooks-Olive
145 Clearlooks-Olive theme for Openbox.
147 %description themes-Clearlooks-Olive -l pl.UTF-8
148 Motyw Clearlooks-Olive dla Openboksa.
150 %package themes-Clearlooks
151 Summary: Clearlooks theme for Openbox
152 Summary(pl.UTF-8): Motyw Clearlooks dla Openboksa
154 Requires: %{name} = %{epoch}:%{version}-%{release}
155 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
157 %description themes-Clearlooks
158 Clearlooks theme for Openbox.
160 %description themes-Clearlooks -l pl.UTF-8
161 Motyw Clearlooks dla Openboksa.
163 %package themes-Mikachu
164 Summary: Mikachu theme for Openbox
165 Summary(pl.UTF-8): Motyw Mikachu dla Openboksa
167 Requires: %{name} = %{epoch}:%{version}-%{release}
168 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
170 %description themes-Mikachu
171 Mikachu theme for Openbox.
173 %description themes-Mikachu -l pl.UTF-8
174 Motyw Mikachu dla Openboksa.
176 %package themes-Natura
177 Summary: Natura theme for Openbox
178 Summary(pl.UTF-8): Motyw Natura dla Openboksa
180 Requires: %{name} = %{epoch}:%{version}-%{release}
181 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
183 %description themes-Natura
184 Natura theme for Openbox.
186 %description themes-Natura -l pl.UTF-8
187 Motyw Natura dla Openboksa.
189 %package themes-Onyx-Citrus
190 Summary: Onyx-Citrus theme for Openbox
191 Summary(pl.UTF-8): Motyw Onyx-Citrus dla Openboksa
193 Requires: %{name} = %{epoch}:%{version}-%{release}
194 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
196 %description themes-Onyx-Citrus
197 Onyx-Citrus theme for Openbox.
199 %description themes-Onyx-Citrus -l pl.UTF-8
200 Motyw Onyx-Citrus dla Openboksa.
203 Summary: Onyx theme for Openbox
204 Summary(pl.UTF-8): Motyw Onyx dla Openboksa
206 Requires: %{name} = %{epoch}:%{version}-%{release}
207 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
209 %description themes-Onyx
210 Onyx theme for Openbox.
212 %description themes-Onyx -l pl.UTF-8
213 Motyw Onyx dla Openboksa.
215 %package themes-Orang
216 Summary: Orang theme for Openbox
217 Summary(pl.UTF-8): Motyw Orang dla Openboksa
219 Requires: %{name} = %{epoch}:%{version}-%{release}
220 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
222 %description themes-Orang
223 Orang theme for Openbox.
225 %description themes-Orang -l pl.UTF-8
226 Motyw Orang dla Openboksa.
228 %package themes-Syscrash
229 Summary: Syscrash theme for Openbox
230 Summary(pl.UTF-8): Motyw Syscrash dla Openboksa
232 Requires: %{name} = %{epoch}:%{version}-%{release}
233 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
235 %description themes-Syscrash
236 Syscrash theme for Openbox.
238 %description themes-Syscrash -l pl.UTF-8
239 Motyw Syscrash dla Openboksa.
251 --disable-silent-rules
255 rm -rf $RPM_BUILD_ROOT
258 DESTDIR=$RPM_BUILD_ROOT \
259 gnomewmfilesdir=%{_wmpropsdir}
261 %{!?with_gnome2:%{__rm} $RPM_BUILD_ROOT%{_wmpropsdir}/openbox.desktop}
263 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/openbox
264 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/libob*.la
266 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{no,nb}
267 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{gl_ES,gl}
269 %find_lang %{name} --all-name
272 rm -rf $RPM_BUILD_ROOT
274 %post libs -p /sbin/ldconfig
275 %postun libs -p /sbin/ldconfig
277 %files -f %{name}.lang
278 %defattr(644,root,root,755)
279 %doc AUTHORS CHANGELOG COMPLIANCE README
280 %doc data/{menu.xsd,rc.xsd,xbm/*} doc/rc-mouse-focus.xml
281 %attr(755,root,root) %{_bindir}/gnome-panel-control
282 %attr(755,root,root) %{_bindir}/openbox
283 %attr(755,root,root) %{_bindir}/openbox-gnome-session
284 %attr(755,root,root) %{_bindir}/openbox-kde-session
285 %attr(755,root,root) %{_bindir}/openbox-session
286 %attr(755,root,root) %{_bindir}/gdm-control
287 %attr(755,root,root) %{_bindir}/obxprop
288 %attr(755,root,root) %{_libexecdir}/openbox-autostart
289 %attr(755,root,root) %{_libexecdir}/openbox-xdg-autostart
290 # requires gnome-session - subpackage?
291 #%{_datadir}/gnome-session/sessions/openbox-gnome.session
292 #%{_datadir}/gnome-session/sessions/openbox-gnome-fallback.session
293 %{_datadir}/xsessions/openbox-gnome.desktop
294 %{_datadir}/xsessions/openbox-kde.desktop
295 %{_datadir}/xsessions/openbox.desktop
296 %{_mandir}/man1/obxprop.1*
297 %{_mandir}/man1/openbox-gnome-session.1*
298 %{_mandir}/man1/openbox-kde-session.1*
299 %{_mandir}/man1/openbox-session.1*
300 %{_mandir}/man1/openbox.1*
301 %dir %{_sysconfdir}/xdg/openbox
302 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/openbox/autostart
303 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/openbox/environment
304 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/openbox/menu.xml
305 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/openbox/rc.xml
306 %{?with_gnome2:%{_wmpropsdir}/openbox.desktop}
307 %{_desktopdir}/openbox.desktop
308 %{_pixmapsdir}/openbox.png
311 %defattr(644,root,root,755)
312 %attr(755,root,root) %{_libdir}/libobrender.so.*.*.*
313 %attr(755,root,root) %ghost %{_libdir}/libobrender.so.32
314 %attr(755,root,root) %{_libdir}/libobt.so.*.*.*
315 %attr(755,root,root) %ghost %{_libdir}/libobt.so.2
318 %defattr(644,root,root,755)
319 %attr(755,root,root) %{_libdir}/libobrender.so
320 %attr(755,root,root) %{_libdir}/libobt.so
321 %{_includedir}/openbox
322 %{_pkgconfigdir}/obrender-3.5.pc
323 %{_pkgconfigdir}/obt-3.5.pc
326 %defattr(644,root,root,755)
328 %{_libdir}/libobrender.a
330 %files themes-Artwiz-boxed
331 %defattr(644,root,root,755)
332 %{_datadir}/themes/Artwiz-boxed
335 %defattr(644,root,root,755)
336 %{_datadir}/themes/Bear2
338 %files themes-Clearlooks-Olive
339 %defattr(644,root,root,755)
340 %{_datadir}/themes/Clearlooks-Olive
342 %files themes-Clearlooks
343 %defattr(644,root,root,755)
344 %{_datadir}/themes/Clearlooks
345 %{_datadir}/themes/Clearlooks-3.4
347 %files themes-Mikachu
348 %defattr(644,root,root,755)
349 %{_datadir}/themes/Mikachu
352 %defattr(644,root,root,755)
353 %{_datadir}/themes/Natura
355 %files themes-Onyx-Citrus
356 %defattr(644,root,root,755)
357 %{_datadir}/themes/Onyx-Citrus
360 %defattr(644,root,root,755)
361 %{_datadir}/themes/Onyx
364 %defattr(644,root,root,755)
365 %{_datadir}/themes/Orang
367 %files themes-Syscrash
368 %defattr(644,root,root,755)
369 %{_datadir}/themes/Syscrash