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 zarz±dca okien dla X Window
9 Group: X11/Window Managers
10 Vendor: Brad Hughes <blackbox@alug.org>
11 Source0: http://dl.sourceforge.net/blackboxwm/%{name}-%{version}.tar.gz
12 Source1: %{name}.desktop
15 Source5: %{name}-README.PLD
16 Patch0: %{name}-am_fixes.patch
17 Patch1: %{name}-pipe.patch
18 Patch3: %{name}-epistrophy.patch
19 URL: http://blackboxwm.sourceforge.net/
20 BuildRequires: XFree86-devel
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: rpm >= 4.0.2-48
24 %{?_with_epistrophy:Requires: epistrophy}
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 %define _sysconfdir /etc/X11/%{name}
29 %define _wmpropsdir /usr/share/wm-properties
31 %define _gcc_ver %(%{__cc} -dumpversion | cut -b 1)
33 %define __cxx "%{__cc}"
37 Blackbox is a window manager for the X Window environment, which is
38 almost completely compliant with ICCCM specified operation policies.
39 It features nice and fast interface with multiple workspaces and
40 simple menus. Fast built-in graphics code that can render solids,
41 gradients and bevels is used to draw window decorations. Remaining
42 small in size, blackbox preserves memory and CPU.
45 Blackbox jest zarz±dc± okien dla X Window spe³niaj±cym prawie
46 wszystkie zalecenia ICCM. Jego zalet± jest estetyczny i szybki
47 interfejs z wieloma pulpitami i prostym menu. Wbudowano weñ tak¿e
48 algorytm rysowania dekoracji okien, które mog± byæ jednokolorowe,
49 gradientowe lub trójwymiarowe. Blackbox oszczêdza pamiêæ i czas CPU.
55 %{?_with_epistrophy:%patch3 -p1}
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_mandir}/pl/man1,%{_sysconfdir}}
69 %{__make} install DESTDIR=$RPM_BUILD_ROOT
71 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
72 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
73 install %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/pl/man1
74 cp %{SOURCE5} README.PLD
77 rm -rf $RPM_BUILD_ROOT
80 %defattr(644,root,root,755)
81 %doc README* ChangeLog
82 %attr(755,root,root) %{_bindir}/*
84 %dir %{_datadir}/blackbox
85 %{_datadir}/blackbox/styles
86 %{_datadir}/blackbox/nls
87 %{_wmpropsdir}/blackbox.desktop
89 %lang(pl) %{_mandir}/pl/man1/*