2 # --with pipe Experimental pipe usage for use with wmconfig mainly
4 Summary: Very small and fast window manger for the X Window
5 Summary(pl): Ma³y i szybki menad¿er okien dla X Window
10 Group: X11/Window Managers
11 Vendor: Brad Hughes <blackbox@alug.org>
12 Source0: http://prdownloads.sourceforge.net/blackboxwm/%{name}-%{version}.tar.gz
13 Source1: %{name}.desktop
14 Patch0: %{name}-am_fixes.patch
15 Patch1: %{name}-pipe.patch
16 URL: http://blackboxwm.sourceforge.net/
17 BuildRequires: XFree86-devel
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: rpm >= 4.0.2-48
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _prefix /usr/X11R6
24 %define _mandir %{_prefix}/man
25 %define _sysconfdir /etc/X11/%{name}
27 %define _gcc_ver %(%{__cc} --version | cut -b 1)
29 %define __cxx "%{__cc}"
33 Blackbox is a window manager for the X Window environment, which is
34 almost completely compliant with ICCCM specified operation policies.
35 It features nice and fast interface with multiple workspaces and
36 simple menus. Fast built-in graphics code that can render solids,
37 gradients and bevels is used to draw window decorations. Remaining
38 small in size, blackbox preserves memory and CPU.
41 Blackbox jest mened¿erem okien dla X Window spe³niaj±cym prawie
42 wszystkie zalecenia ICCM. Jego zalet± jest estetyczny i szybki
43 interfejs z wieloma pulpitami i prostym menu. Wbudowano weñ tak¿e
44 algorytm rysowania dekoracji okien, które mog± byæ jednokolorowe,
45 gradientowe lub trójwymiarowe. Blackbox oszczêdza pamiêæ i czas CPU.
50 %{?_with_pipe:%patch1 -p1}
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT%{_datadir}/wm-properties
63 %{__make} install DESTDIR=$RPM_BUILD_ROOT
65 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/wm-properties/
67 gzip -9nf README* ChangeLog
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_bindir}/*
77 %dir %{_datadir}/blackbox
78 %{_datadir}/blackbox/styles/*
79 %{_datadir}/blackbox/nls/*
80 %{_datadir}/wm-properties/blackbox.desktop