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 Source0: http://openbox.org/releases/%{name}-%{version}.tar.xz
14 # Source0-md5: 46bf5f1edda0eda0d9e824b585988be9
15 #Patch0: %{name}-link.patch
16 URL: http://openbox.org/
17 BuildRequires: autoconf >= 2.54
18 BuildRequires: automake
19 BuildRequires: gettext-tools >= 0.15
20 BuildRequires: glib2-devel >= 1:2.14.0
21 BuildRequires: libtool
22 BuildRequires: libuuid-devel
23 BuildRequires: libxml2-devel >= 1:2.6.31
24 BuildRequires: pango-devel >= 1.18.3
25 BuildRequires: pkgconfig
26 BuildRequires: rpm-pythonprov
27 BuildRequires: rpmbuild(macros) >= 1.197
28 BuildRequires: startup-notification-devel
29 BuildRequires: xorg-lib-libSM-devel
30 BuildRequires: xorg-lib-libXcursor-devel
31 BuildRequires: xorg-lib-libXinerama-devel
32 BuildRequires: xorg-lib-libXrandr-devel
33 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
34 Requires: %{name}-theme-base = %{epoch}:%{version}-%{release}
38 Obsoletes: openbox-themes-Allegro
39 Obsoletes: openbox-themes-Artwiz
40 Obsoletes: openbox-themes-Blah41
41 Obsoletes: openbox-themes-Om4Ob
42 Conflicts: filesystem < 3.0-20
43 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 %define _wmpropsdir /usr/share/gnome/wm-properties
48 Openbox is a completely new window manager, and is not based upon any
49 previous window manager code-base. Its primary goals are standards
50 support/compliance, and intelligent window management.
52 %description -l pl.UTF-8
53 Openbox jest całkowicie nowym zarządcą okien i nie bazuje już na
54 kodzie wcześniejszych wersji. Jego głównymi celami są wsparcie i
55 zgodność ze standardami oraz inteligentne zarządzanie oknami.
58 Summary: Openbox libraries
59 Summary(pl.UTF-8): Biblioteki Openboksa
65 %description libs -l pl.UTF-8
69 Summary: Header files for Openbox
70 Summary(pl.UTF-8): Pliki nagłówkowe Openboksa
71 Group: Development/Libraries
72 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
73 Requires: glib2-devel >= 1:2.14.0
74 Requires: libxml2-devel >= 1:2.6.31
75 Requires: pango-devel >= 1.18.3
76 Requires: xorg-lib-libSM-devel
79 Development header files for writing applications based on Openbox.
81 %description devel -l pl.UTF-8
82 Pliki nagłówkowe do tworzenia oprogramowania opartego o Openboksa.
85 Summary: Static Openbox libraries
86 Summary(pl.UTF-8): Statyczne biblioteki Openboksa
87 Group: Development/Libraries
88 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
91 Static Openbox libraries.
93 %description static -l pl.UTF-8
94 Statyczne biblioteki Openboksa.
96 %package themes-Artwiz-boxed
97 Summary: Artwiz-boxed theme for Openbox
98 Summary(pl.UTF-8): Motyw Artwiz-boxed dla Openboksa
100 Requires: %{name} = %{epoch}:%{version}-%{release}
101 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
103 %description themes-Artwiz-boxed
104 Artwiz-boxed theme for Openbox.
106 %description themes-Artwiz-boxed -l pl.UTF-8
107 Motyw Artwiz-boxed dla Openboksa.
110 Summary: Bear theme for Openbox
111 Summary(pl.UTF-8): Motyw Bear dla Openboksa
113 Requires: %{name} = %{epoch}:%{version}-%{release}
114 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
115 Obsoletes: openbox-themes-TheBear
117 %description themes-bear
118 Bear theme for Openbox.
120 %description themes-bear -l pl.UTF-8
121 Motyw Bear dla Openboksa.
123 %package themes-Clearlooks-Olive
124 Summary: Clearlooks-Olive theme for Openbox
125 Summary(pl.UTF-8): Motyw Clearlooks-Olive dla Openboksa
127 Requires: %{name} = %{epoch}:%{version}-%{release}
128 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
130 %description themes-Clearlooks-Olive
131 Clearlooks-Olive theme for Openbox.
133 %description themes-Clearlooks-Olive -l pl.UTF-8
134 Motyw Clearlooks-Olive dla Openboksa.
136 %package themes-Clearlooks
137 Summary: Clearlooks theme for Openbox
138 Summary(pl.UTF-8): Motyw Clearlooks dla Openboksa
140 Requires: %{name} = %{epoch}:%{version}-%{release}
141 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
143 %description themes-Clearlooks
144 Clearlooks theme for Openbox.
146 %description themes-Clearlooks -l pl.UTF-8
147 Motyw Clearlooks dla Openboksa.
149 %package themes-Mikachu
150 Summary: Mikachu theme for Openbox
151 Summary(pl.UTF-8): Motyw Mikachu dla Openboksa
153 Requires: %{name} = %{epoch}:%{version}-%{release}
154 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
156 %description themes-Mikachu
157 Mikachu theme for Openbox.
159 %description themes-Mikachu -l pl.UTF-8
160 Motyw Mikachu dla Openboksa.
162 %package themes-Natura
163 Summary: Natura theme for Openbox
164 Summary(pl.UTF-8): Motyw Natura dla Openboksa
166 Requires: %{name} = %{epoch}:%{version}-%{release}
167 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
169 %description themes-Natura
170 Natura theme for Openbox.
172 %description themes-Natura -l pl.UTF-8
173 Motyw Natura dla Openboksa.
175 %package themes-Onyx-Citrus
176 Summary: Onyx-Citrus theme for Openbox
177 Summary(pl.UTF-8): Motyw Onyx-Citrus dla Openboksa
179 Requires: %{name} = %{epoch}:%{version}-%{release}
180 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
182 %description themes-Onyx-Citrus
183 Onyx-Citrus theme for Openbox.
185 %description themes-Onyx-Citrus -l pl.UTF-8
186 Motyw Onyx-Citrus dla Openboksa.
189 Summary: Onyx theme for Openbox
190 Summary(pl.UTF-8): Motyw Onyx dla Openboksa
192 Requires: %{name} = %{epoch}:%{version}-%{release}
193 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
195 %description themes-Onyx
196 Onyx theme for Openbox.
198 %description themes-Onyx -l pl.UTF-8
199 Motyw Onyx dla Openboksa.
201 %package themes-Orang
202 Summary: Orang theme for Openbox
203 Summary(pl.UTF-8): Motyw Orang dla Openboksa
205 Requires: %{name} = %{epoch}:%{version}-%{release}
206 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
208 %description themes-Orang
209 Orang theme for Openbox.
211 %description themes-Orang -l pl.UTF-8
212 Motyw Orang dla Openboksa.
214 %package themes-Syscrash
215 Summary: Syscrash theme for Openbox
216 Summary(pl.UTF-8): Motyw Syscrash dla Openboksa
218 Requires: %{name} = %{epoch}:%{version}-%{release}
219 Provides: openbox-theme-base = %{epoch}:%{version}-%{release}
221 %description themes-Syscrash
222 Syscrash theme for Openbox.
224 %description themes-Syscrash -l pl.UTF-8
225 Motyw Syscrash dla Openboksa.
240 rm -rf $RPM_BUILD_ROOT
243 DESTDIR=$RPM_BUILD_ROOT \
244 gnomewmfilesdir=%{_wmpropsdir}
246 %{!?with_gnome2:%{__rm} $RPM_BUILD_ROOT%{_wmpropsdir}/openbox.desktop}
248 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/openbox
249 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/libob*.la
251 %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb}
252 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/gl_ES
254 %find_lang %{name} --all-name
257 rm -rf $RPM_BUILD_ROOT
259 %post libs -p /sbin/ldconfig
260 %postun libs -p /sbin/ldconfig
262 %files -f %{name}.lang
263 %defattr(644,root,root,755)
264 %doc AUTHORS CHANGELOG COMPLIANCE README
265 %doc data/{menu.xsd,rc.xsd,xbm/*} doc/rc-mouse-focus.xml
266 %attr(755,root,root) %{_bindir}/gnome-panel-control
267 %attr(755,root,root) %{_bindir}/openbox
268 %attr(755,root,root) %{_bindir}/openbox-gnome-session
269 %attr(755,root,root) %{_bindir}/openbox-kde-session
270 %attr(755,root,root) %{_bindir}/openbox-session
271 %attr(755,root,root) %{_bindir}/gdm-control
272 %attr(755,root,root) %{_bindir}/obxprop
273 %{_datadir}/xsessions/openbox-gnome.desktop
274 %{_datadir}/xsessions/openbox-kde.desktop
275 %{_datadir}/xsessions/openbox.desktop
276 %{_mandir}/man1/obxprop.1*
277 %{_mandir}/man1/openbox-gnome-session.1*
278 %{_mandir}/man1/openbox-kde-session.1*
279 %{_mandir}/man1/openbox-session.1*
280 %{_mandir}/man1/openbox.1*
281 %dir %{_sysconfdir}/xdg/openbox
282 %{_sysconfdir}/xdg/openbox/autostart
283 %{_sysconfdir}/xdg/openbox/environment
284 %{_sysconfdir}/xdg/openbox/menu.xml
285 %{_sysconfdir}/xdg/openbox/rc.xml
286 %{?with_gnome2:%{_wmpropsdir}/openbox.desktop}
287 %{_desktopdir}/openbox.desktop
288 %{_pixmapsdir}/openbox.png
289 %attr(755,root,root) %{_libdir}/openbox-autostart
290 %attr(755,root,root) %{_libdir}/openbox-xdg-autostart
293 %defattr(644,root,root,755)
294 %attr(755,root,root) %{_libdir}/libobrender.so.*.*.*
295 %attr(755,root,root) %ghost %{_libdir}/libobrender.so.??
296 %attr(755,root,root) %{_libdir}/libobt.so.*.*.*
297 %attr(755,root,root) %ghost %{_libdir}/libobt.so.?
300 %defattr(644,root,root,755)
301 %attr(755,root,root) %{_libdir}/libobrender.so
302 %attr(755,root,root) %{_libdir}/libobt.so
303 %{_includedir}/openbox
304 %{_pkgconfigdir}/obrender-3.5.pc
305 %{_pkgconfigdir}/obt-3.5.pc
308 %defattr(644,root,root,755)
310 %{_libdir}/libobrender.a
312 %files themes-Artwiz-boxed
313 %defattr(644,root,root,755)
314 %{_datadir}/themes/Artwiz-boxed
317 %defattr(644,root,root,755)
318 %{_datadir}/themes/Bear2
320 %files themes-Clearlooks-Olive
321 %defattr(644,root,root,755)
322 %{_datadir}/themes/Clearlooks-Olive
324 %files themes-Clearlooks
325 %defattr(644,root,root,755)
326 %{_datadir}/themes/Clearlooks
328 %files themes-Mikachu
329 %defattr(644,root,root,755)
330 %{_datadir}/themes/Mikachu
333 %defattr(644,root,root,755)
334 %{_datadir}/themes/Natura
336 %files themes-Onyx-Citrus
337 %defattr(644,root,root,755)
338 %{_datadir}/themes/Onyx-Citrus
341 %defattr(644,root,root,755)
342 %{_datadir}/themes/Onyx
345 %defattr(644,root,root,755)
346 %{_datadir}/themes/Orang
348 %files themes-Syscrash
349 %defattr(644,root,root,755)
350 %{_datadir}/themes/Syscrash