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