1 # --with epistrophy (enables using epistorophy key grabber)
3 Summary: Very small and fast window manger for the X Window
4 Summary(pl): Ma³y i szybki menad¿er okien dla X Window
9 Group: X11/Window Managers
10 Vendor: Brad Hughes <blackbox@alug.org>
11 Source0: http://prdownloads.sourceforge.net/blackboxwm/%{name}-%{version}.tar.gz
12 Source1: %{name}.desktop
13 Source2: %{name}-nls-pl.tar.bz2
16 Source5: %{name}-README.PLD
17 Patch0: %{name}-am_fixes.patch
18 Patch1: %{name}-pipe.patch
19 Patch2: %{name}-nls-pl.patch
20 Patch3: %{name}-epistrophy.patch
21 URL: http://blackboxwm.sourceforge.net/
22 BuildRequires: XFree86-devel
23 BuildRequires: autoconf
24 BuildRequires: automake
25 BuildRequires: rpm >= 4.0.2-48
26 %{?_with_epistrophy:Requires: epistrophy}
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 %define _prefix /usr/X11R6
31 %define _mandir %{_prefix}/man
32 %define _sysconfdir /etc/X11/%{name}
34 %define _gcc_ver %(%{__cc} -dumpversion | cut -b 1)
36 %define __cxx "%{__cc}"
40 Blackbox is a window manager for the X Window environment, which is
41 almost completely compliant with ICCCM specified operation policies.
42 It features nice and fast interface with multiple workspaces and
43 simple menus. Fast built-in graphics code that can render solids,
44 gradients and bevels is used to draw window decorations. Remaining
45 small in size, blackbox preserves memory and CPU.
48 Blackbox jest mened¿erem okien dla X Window spe³niaj±cym prawie
49 wszystkie zalecenia ICCM. Jego zalet± jest estetyczny i szybki
50 interfejs z wieloma pulpitami i prostym menu. Wbudowano weñ tak¿e
51 algorytm rysowania dekoracji okien, które mog± byæ jednokolorowe,
52 gradientowe lub trójwymiarowe. Blackbox oszczêdza pamiêæ i czas CPU.
59 %{?_with_epistrophy:%patch3 -p1}
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT{%{_datadir}/wm-properties,%{_mandir}/pl/man1}
72 %{__make} install DESTDIR=$RPM_BUILD_ROOT
74 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/wm-properties/
75 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
76 install %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/pl/man1
77 cp %{SOURCE5} README.PLD
80 rm -rf $RPM_BUILD_ROOT
83 %defattr(644,root,root,755)
84 %doc README* ChangeLog
85 %attr(755,root,root) %{_bindir}/*
87 %dir %{_datadir}/blackbox
88 %{_datadir}/blackbox/styles
89 %{_datadir}/blackbox/nls
90 %{_datadir}/wm-properties/blackbox.desktop
92 %lang(pl) %{_mandir}/pl/man1/*
93 %lang(ja) %{_mandir}/ja_JP/man1/*
94 %lang(nl) %{_mandir}/nl_NL/man1/*
95 %lang(sl) %{_mandir}/sl_SI/man1/*