]> git.pld-linux.org Git - SPECS.git/blob - openbox.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[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:        4
10 Epoch:          1
11 License:        GPL v2+
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}
35 Requires:       dbus-x11
36 Suggests:       obconf
37 Provides:       gnome-wm
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)
44
45 %define         _wmpropsdir     /usr/share/gnome/wm-properties
46
47 %description
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.
51
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.
56
57 %package libs
58 Summary:        Openbox libraries
59 Summary(pl.UTF-8):      Biblioteki Openboksa
60 Group:          Libraries
61
62 %description libs
63 Openbox libraries.
64
65 %description libs -l pl.UTF-8
66 Biblioteki Openboksa.
67
68 %package devel
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
77
78 %description devel
79 Development header files for writing applications based on Openbox.
80
81 %description devel -l pl.UTF-8
82 Pliki nagłówkowe do tworzenia oprogramowania opartego o Openboksa.
83
84 %package static
85 Summary:        Static Openbox libraries
86 Summary(pl.UTF-8):      Statyczne biblioteki Openboksa
87 Group:          Development/Libraries
88 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
89
90 %description static
91 Static Openbox libraries.
92
93 %description static -l pl.UTF-8
94 Statyczne biblioteki Openboksa.
95
96 %package themes-Artwiz-boxed
97 Summary:        Artwiz-boxed theme for Openbox
98 Summary(pl.UTF-8):      Motyw Artwiz-boxed dla Openboksa
99 Group:          Themes
100 Requires:       %{name} = %{epoch}:%{version}-%{release}
101 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
102
103 %description themes-Artwiz-boxed
104 Artwiz-boxed theme for Openbox.
105
106 %description themes-Artwiz-boxed -l pl.UTF-8
107 Motyw Artwiz-boxed dla Openboksa.
108
109 %package themes-bear
110 Summary:        Bear theme for Openbox
111 Summary(pl.UTF-8):      Motyw Bear dla Openboksa
112 Group:          Themes
113 Requires:       %{name} = %{epoch}:%{version}-%{release}
114 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
115 Obsoletes:      openbox-themes-TheBear
116
117 %description themes-bear
118 Bear theme for Openbox.
119
120 %description themes-bear -l pl.UTF-8
121 Motyw Bear dla Openboksa.
122
123 %package themes-Clearlooks-Olive
124 Summary:        Clearlooks-Olive theme for Openbox
125 Summary(pl.UTF-8):      Motyw Clearlooks-Olive dla Openboksa
126 Group:          Themes
127 Requires:       %{name} = %{epoch}:%{version}-%{release}
128 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
129
130 %description themes-Clearlooks-Olive
131 Clearlooks-Olive theme for Openbox.
132
133 %description themes-Clearlooks-Olive -l pl.UTF-8
134 Motyw Clearlooks-Olive dla Openboksa.
135
136 %package themes-Clearlooks
137 Summary:        Clearlooks theme for Openbox
138 Summary(pl.UTF-8):      Motyw Clearlooks dla Openboksa
139 Group:          Themes
140 Requires:       %{name} = %{epoch}:%{version}-%{release}
141 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
142
143 %description themes-Clearlooks
144 Clearlooks theme for Openbox.
145
146 %description themes-Clearlooks -l pl.UTF-8
147 Motyw Clearlooks dla Openboksa.
148
149 %package themes-Mikachu
150 Summary:        Mikachu theme for Openbox
151 Summary(pl.UTF-8):      Motyw Mikachu dla Openboksa
152 Group:          Themes
153 Requires:       %{name} = %{epoch}:%{version}-%{release}
154 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
155
156 %description themes-Mikachu
157 Mikachu theme for Openbox.
158
159 %description themes-Mikachu -l pl.UTF-8
160 Motyw Mikachu dla Openboksa.
161
162 %package themes-Natura
163 Summary:        Natura theme for Openbox
164 Summary(pl.UTF-8):      Motyw Natura dla Openboksa
165 Group:          Themes
166 Requires:       %{name} = %{epoch}:%{version}-%{release}
167 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
168
169 %description themes-Natura
170 Natura theme for Openbox.
171
172 %description themes-Natura -l pl.UTF-8
173 Motyw Natura dla Openboksa.
174
175 %package themes-Onyx-Citrus
176 Summary:        Onyx-Citrus theme for Openbox
177 Summary(pl.UTF-8):      Motyw Onyx-Citrus dla Openboksa
178 Group:          Themes
179 Requires:       %{name} = %{epoch}:%{version}-%{release}
180 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
181
182 %description themes-Onyx-Citrus
183 Onyx-Citrus theme for Openbox.
184
185 %description themes-Onyx-Citrus -l pl.UTF-8
186 Motyw Onyx-Citrus dla Openboksa.
187
188 %package themes-Onyx
189 Summary:        Onyx theme for Openbox
190 Summary(pl.UTF-8):      Motyw Onyx dla Openboksa
191 Group:          Themes
192 Requires:       %{name} = %{epoch}:%{version}-%{release}
193 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
194
195 %description themes-Onyx
196 Onyx theme for Openbox.
197
198 %description themes-Onyx -l pl.UTF-8
199 Motyw Onyx dla Openboksa.
200
201 %package themes-Orang
202 Summary:        Orang theme for Openbox
203 Summary(pl.UTF-8):      Motyw Orang dla Openboksa
204 Group:          Themes
205 Requires:       %{name} = %{epoch}:%{version}-%{release}
206 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
207
208 %description themes-Orang
209 Orang theme for Openbox.
210
211 %description themes-Orang -l pl.UTF-8
212 Motyw Orang dla Openboksa.
213
214 %package themes-Syscrash
215 Summary:        Syscrash theme for Openbox
216 Summary(pl.UTF-8):      Motyw Syscrash dla Openboksa
217 Group:          Themes
218 Requires:       %{name} = %{epoch}:%{version}-%{release}
219 Provides:       openbox-theme-base = %{epoch}:%{version}-%{release}
220
221 %description themes-Syscrash
222 Syscrash theme for Openbox.
223
224 %description themes-Syscrash -l pl.UTF-8
225 Motyw Syscrash dla Openboksa.
226
227 %prep
228 %setup -q
229 #%patch0 -p1
230
231 %build
232 %{__libtoolize}
233 %{__aclocal} -I m4
234 %{__autoconf}
235 %{__automake}
236 %configure
237 %{__make} V=1
238
239 %install
240 rm -rf $RPM_BUILD_ROOT
241
242 %{__make} install \
243         DESTDIR=$RPM_BUILD_ROOT \
244         gnomewmfilesdir=%{_wmpropsdir}
245
246 %{!?with_gnome2:%{__rm} $RPM_BUILD_ROOT%{_wmpropsdir}/openbox.desktop}
247
248 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/openbox
249 %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/libob*.la
250
251 %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{no,nb}
252 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/gl_ES
253
254 %find_lang %{name} --all-name
255
256 %clean
257 rm -rf $RPM_BUILD_ROOT
258
259 %post   libs -p /sbin/ldconfig
260 %postun libs -p /sbin/ldconfig
261
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
291
292 %files libs
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.?
298
299 %files devel
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
306
307 %files static
308 %defattr(644,root,root,755)
309 %{_libdir}/libobt.a
310 %{_libdir}/libobrender.a
311
312 %files themes-Artwiz-boxed
313 %defattr(644,root,root,755)
314 %{_datadir}/themes/Artwiz-boxed
315
316 %files themes-bear
317 %defattr(644,root,root,755)
318 %{_datadir}/themes/Bear2
319
320 %files themes-Clearlooks-Olive
321 %defattr(644,root,root,755)
322 %{_datadir}/themes/Clearlooks-Olive
323
324 %files themes-Clearlooks
325 %defattr(644,root,root,755)
326 %{_datadir}/themes/Clearlooks
327
328 %files themes-Mikachu
329 %defattr(644,root,root,755)
330 %{_datadir}/themes/Mikachu
331
332 %files themes-Natura
333 %defattr(644,root,root,755)
334 %{_datadir}/themes/Natura
335
336 %files themes-Onyx-Citrus
337 %defattr(644,root,root,755)
338 %{_datadir}/themes/Onyx-Citrus
339
340 %files themes-Onyx
341 %defattr(644,root,root,755)
342 %{_datadir}/themes/Onyx
343
344 %files themes-Orang
345 %defattr(644,root,root,755)
346 %{_datadir}/themes/Orang
347
348 %files themes-Syscrash
349 %defattr(644,root,root,755)
350 %{_datadir}/themes/Syscrash
This page took 0.547027 seconds and 3 git commands to generate.