]> git.pld-linux.org Git - packages/blackbox.git/blob - blackbox.spec
- obsolettes fluxbox
[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.7
6 License:        GPL
7 Group:          X11/Window Managers
8 Vendor:         Brad Hughes <blackbox@alug.org>
9 Source0:        http://prdownloads.sourceforge.net/blackboxwm/%{name}-%{version}.tar.gz
10 Source1:        %{name}.desktop
11 Source2:        %{name}-nls-pl.tar.bz2
12 Source3:        %{name}.1
13 Source4:        bsetroot.1
14 Patch0:         %{name}-am_fixes.patch
15 Patch1:         %{name}-pipe.patch
16 Patch2:         %{name}-nls-pl.patch
17 URL:            http://blackboxwm.sourceforge.net/
18 BuildRequires:  XFree86-devel
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  rpm >= 4.0.2-48
22 Obsoletes:      fluxbox
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _prefix         /usr/X11R6
26 %define         _mandir         %{_prefix}/man
27 %define         _sysconfdir     /etc/X11/%{name}
28
29 %define         _gcc_ver        %(%{__cc} --version | cut -b 1)
30 %if %{_gcc_ver} == 2
31 %define         __cxx           "%{__cc}"
32 %endif
33
34 %description
35 Blackbox is a window manager for the X Window environment, which is
36 almost completely compliant with ICCCM specified operation policies.
37 It features nice and fast interface with multiple workspaces and
38 simple menus. Fast built-in graphics code that can render solids,
39 gradients and bevels is used to draw window decorations. Remaining
40 small in size, blackbox preserves memory and CPU.
41
42 %description -l pl
43 Blackbox jest mened¿erem okien dla X Window spe³niaj±cym prawie
44 wszystkie zalecenia ICCM. Jego zalet± jest estetyczny i szybki
45 interfejs z wieloma pulpitami i prostym menu. Wbudowano weñ tak¿e
46 algorytm rysowania dekoracji okien, które mog± byæ jednokolorowe,
47 gradientowe lub trójwymiarowe. Blackbox oszczêdza pamiêæ i czas CPU.
48
49 %prep
50 %setup -q -a2
51 %patch0 -p1
52 %patch1 -p1
53 %patch2 -p1
54
55 %build
56 aclocal
57 autoconf
58 automake -a -c -f
59 %configure
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_datadir}/wm-properties,%{_mandir}/pl/man1}
65
66 %{__make} install DESTDIR=$RPM_BUILD_ROOT
67
68 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/wm-properties/
69 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
70 install %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/pl/man1
71 gzip -9nf README* ChangeLog
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc *.gz
79 %attr(755,root,root) %{_bindir}/*
80 %dir %{_sysconfdir}
81 %dir %{_datadir}/blackbox
82 %{_datadir}/blackbox/styles/*
83 %{_datadir}/blackbox/nls/*
84 %{_datadir}/wm-properties/blackbox.desktop
85 %{_mandir}/man1/*
86 %{_mandir}/pl/man1/*
87 %{_sysconfdir}/menu
This page took 0.06947 seconds and 4 git commands to generate.