]> git.pld-linux.org Git - packages/blackbox.git/blob - blackbox.spec
- ok, require rpm with __cxx defined
[packages/blackbox.git] / blackbox.spec
1 Summary:        Very small and fast window manger for the X Window
2 Summary(pl):    Ma³y i szybki menad¿er okien dla X Window
3 Name:           blackbox
4 Version:        0.62.1
5 Release:        4
6 License:        GPL
7 Group:          X11/Window Managers
8 Group(de):      X11/Fenstermanager
9 Group(es):      X11/Administraadores De Ventanas
10 Group(fr):      X11/Gestionnaires De Fenêtres
11 Group(pl):      X11/Zarz±dcy Okien
12 Vendor:         Brad Hughes <blackbox@alug.org>
13 Source0:        http://prdownloads.sourceforge.net/blackboxwm/%{name}-%{version}.tar.gz
14 Source1:        %{name}.desktop
15 Patch0:         %{name}-am_fixes.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)
22
23 %define         _prefix         /usr/X11R6
24 %define         _mandir         %{_prefix}/man
25 %define         _sysconfdir     /etc/X11/%{name}
26
27 %define         _gcc_ver        %(%{__cc} --version | cut -b 1)
28 %if %{_gcc_ver} == 2
29 %define         __cxx           "%{__cc}"
30 %endif
31
32 %description
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.
39
40 %description -l pl
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.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50
51 %build
52 aclocal
53 autoconf
54 automake -a -c
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_datadir}/wm-properties
61
62 %{__make} install DESTDIR=$RPM_BUILD_ROOT
63
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/wm-properties/
65
66 gzip -9nf README* ChangeLog
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc *.gz
74 %attr(755,root,root) %{_bindir}/*
75 %dir %{_sysconfdir}
76 %dir %{_datadir}/blackbox
77 %{_datadir}/blackbox/styles/*
78 %{_datadir}/blackbox/nls/*
79 %{_datadir}/wm-properties/blackbox.desktop
80 %{_mandir}/man1/*
81 %{_sysconfdir}/menu
This page took 0.039222 seconds and 4 git commands to generate.