]> git.pld-linux.org Git - SPECS.git/blob - openbox.spec
SPECS updated Wed 1 May 10:14:00 CEST 2024
[SPECS.git] / openbox.spec
1 #
2 # Conditional build:
3 %bcond_with     gnome2  # build with support for GNOME2 wm-properties
4
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
7 Name:           openbox
8 Version:        3.6.1
9 Release:        7
10 Epoch:          1
11 License:        GPL v2+
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
16 Patch0:         python3.patch
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}
42 Requires:       dbus-x11
43 Suggests:       obconf
44 Provides:       gnome-wm
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)
51
52 %define         _wmpropsdir     /usr/share/gnome/wm-properties
53
54 %description
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.
58
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.
63
64 %package libs
65 Summary:        Openbox libraries
66 Summary(pl.UTF-8):      Biblioteki Openboksa
67 Group:          Libraries
68 Requires:       glib2 >= 1:2.14.0
69 Requires:       libxml2 >= 1:2.6.31
70 Requires:       pango >= 1:1.18.3
71
72 %description libs
73 Openbox libraries.
74
75 %description libs -l pl.UTF-8
76 Biblioteki Openboksa.
77
78 %package devel
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
91
92 %description devel
93 Development header files for writing applications based on Openbox.
94
95 %description devel -l pl.UTF-8
96 Pliki nagłówkowe do tworzenia oprogramowania opartego o Openboksa.
97
98 %package static
99 Summary:        Static Openbox libraries
100 Summary(pl.UTF-8):      Statyczne biblioteki Openboksa
101 Group:          Development/Libraries
102 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
103
104 %description static
105 Static Openbox libraries.
106
107 %description static -l pl.UTF-8
108 Statyczne biblioteki Openboksa.
109
110 %package themes-Artwiz-boxed
111 Summary:        Artwiz-boxed theme for Openbox
112 Summary(pl.UTF-8):      Motyw Artwiz-boxed dla Openboksa
113 Group:          Themes
114 Requires:       %{name} = %{epoch}:%{version}-%{release}
115 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
116
117 %description themes-Artwiz-boxed
118 Artwiz-boxed theme for Openbox.
119
120 %description themes-Artwiz-boxed -l pl.UTF-8
121 Motyw Artwiz-boxed dla Openboksa.
122
123 %package themes-bear
124 Summary:        Bear theme for Openbox
125 Summary(pl.UTF-8):      Motyw Bear dla Openboksa
126 Group:          Themes
127 Requires:       %{name} = %{epoch}:%{version}-%{release}
128 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
129 Obsoletes:      openbox-themes-TheBear < 1:3.3.1
130
131 %description themes-bear
132 Bear theme for Openbox.
133
134 %description themes-bear -l pl.UTF-8
135 Motyw Bear dla Openboksa.
136
137 %package themes-Clearlooks-Olive
138 Summary:        Clearlooks-Olive theme for Openbox
139 Summary(pl.UTF-8):      Motyw Clearlooks-Olive dla Openboksa
140 Group:          Themes
141 Requires:       %{name} = %{epoch}:%{version}-%{release}
142 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
143
144 %description themes-Clearlooks-Olive
145 Clearlooks-Olive theme for Openbox.
146
147 %description themes-Clearlooks-Olive -l pl.UTF-8
148 Motyw Clearlooks-Olive dla Openboksa.
149
150 %package themes-Clearlooks
151 Summary:        Clearlooks theme for Openbox
152 Summary(pl.UTF-8):      Motyw Clearlooks dla Openboksa
153 Group:          Themes
154 Requires:       %{name} = %{epoch}:%{version}-%{release}
155 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
156
157 %description themes-Clearlooks
158 Clearlooks theme for Openbox.
159
160 %description themes-Clearlooks -l pl.UTF-8
161 Motyw Clearlooks dla Openboksa.
162
163 %package themes-Mikachu
164 Summary:        Mikachu theme for Openbox
165 Summary(pl.UTF-8):      Motyw Mikachu dla Openboksa
166 Group:          Themes
167 Requires:       %{name} = %{epoch}:%{version}-%{release}
168 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
169
170 %description themes-Mikachu
171 Mikachu theme for Openbox.
172
173 %description themes-Mikachu -l pl.UTF-8
174 Motyw Mikachu dla Openboksa.
175
176 %package themes-Natura
177 Summary:        Natura theme for Openbox
178 Summary(pl.UTF-8):      Motyw Natura dla Openboksa
179 Group:          Themes
180 Requires:       %{name} = %{epoch}:%{version}-%{release}
181 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
182
183 %description themes-Natura
184 Natura theme for Openbox.
185
186 %description themes-Natura -l pl.UTF-8
187 Motyw Natura dla Openboksa.
188
189 %package themes-Onyx-Citrus
190 Summary:        Onyx-Citrus theme for Openbox
191 Summary(pl.UTF-8):      Motyw Onyx-Citrus dla Openboksa
192 Group:          Themes
193 Requires:       %{name} = %{epoch}:%{version}-%{release}
194 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
195
196 %description themes-Onyx-Citrus
197 Onyx-Citrus theme for Openbox.
198
199 %description themes-Onyx-Citrus -l pl.UTF-8
200 Motyw Onyx-Citrus dla Openboksa.
201
202 %package themes-Onyx
203 Summary:        Onyx theme for Openbox
204 Summary(pl.UTF-8):      Motyw Onyx dla Openboksa
205 Group:          Themes
206 Requires:       %{name} = %{epoch}:%{version}-%{release}
207 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
208
209 %description themes-Onyx
210 Onyx theme for Openbox.
211
212 %description themes-Onyx -l pl.UTF-8
213 Motyw Onyx dla Openboksa.
214
215 %package themes-Orang
216 Summary:        Orang theme for Openbox
217 Summary(pl.UTF-8):      Motyw Orang dla Openboksa
218 Group:          Themes
219 Requires:       %{name} = %{epoch}:%{version}-%{release}
220 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
221
222 %description themes-Orang
223 Orang theme for Openbox.
224
225 %description themes-Orang -l pl.UTF-8
226 Motyw Orang dla Openboksa.
227
228 %package themes-Syscrash
229 Summary:        Syscrash theme for Openbox
230 Summary(pl.UTF-8):      Motyw Syscrash dla Openboksa
231 Group:          Themes
232 Requires:       %{name} = %{epoch}:%{version}-%{release}
233 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
234
235 %description themes-Syscrash
236 Syscrash theme for Openbox.
237
238 %description themes-Syscrash -l pl.UTF-8
239 Motyw Syscrash dla Openboksa.
240
241 %prep
242 %setup -q
243 %patch0 -p1
244
245 %build
246 %{__libtoolize}
247 %{__aclocal} -I m4
248 %{__autoconf}
249 %{__automake}
250 %configure \
251         --disable-silent-rules
252 %{__make}
253
254 %install
255 rm -rf $RPM_BUILD_ROOT
256
257 %{__make} install \
258         DESTDIR=$RPM_BUILD_ROOT \
259         gnomewmfilesdir=%{_wmpropsdir}
260
261 %{!?with_gnome2:%{__rm} $RPM_BUILD_ROOT%{_wmpropsdir}/openbox.desktop}
262
263 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/openbox
264 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/libob*.la
265
266 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{no,nb}
267 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{gl_ES,gl}
268
269 %find_lang %{name} --all-name
270
271 %clean
272 rm -rf $RPM_BUILD_ROOT
273
274 %post   libs -p /sbin/ldconfig
275 %postun libs -p /sbin/ldconfig
276
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
309
310 %files libs
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
316
317 %files devel
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
324
325 %files static
326 %defattr(644,root,root,755)
327 %{_libdir}/libobt.a
328 %{_libdir}/libobrender.a
329
330 %files themes-Artwiz-boxed
331 %defattr(644,root,root,755)
332 %{_datadir}/themes/Artwiz-boxed
333
334 %files themes-bear
335 %defattr(644,root,root,755)
336 %{_datadir}/themes/Bear2
337
338 %files themes-Clearlooks-Olive
339 %defattr(644,root,root,755)
340 %{_datadir}/themes/Clearlooks-Olive
341
342 %files themes-Clearlooks
343 %defattr(644,root,root,755)
344 %{_datadir}/themes/Clearlooks
345 %{_datadir}/themes/Clearlooks-3.4
346
347 %files themes-Mikachu
348 %defattr(644,root,root,755)
349 %{_datadir}/themes/Mikachu
350
351 %files themes-Natura
352 %defattr(644,root,root,755)
353 %{_datadir}/themes/Natura
354
355 %files themes-Onyx-Citrus
356 %defattr(644,root,root,755)
357 %{_datadir}/themes/Onyx-Citrus
358
359 %files themes-Onyx
360 %defattr(644,root,root,755)
361 %{_datadir}/themes/Onyx
362
363 %files themes-Orang
364 %defattr(644,root,root,755)
365 %{_datadir}/themes/Orang
366
367 %files themes-Syscrash
368 %defattr(644,root,root,755)
369 %{_datadir}/themes/Syscrash
This page took 0.165995 seconds and 4 git commands to generate.