]> git.pld-linux.org Git - packages/blackbox.git/blob - blackbox.spec
cad75b1953ce314cd2a1210b536a5b1aa3eb0632
[packages/blackbox.git] / blackbox.spec
1 # Conditional build
2 # --with pipe   Experimental pipe usage for use with wmconfig mainly
3 #
4 Summary:        Very small and fast window manger for the X Window
5 Summary(pl):    Ma³y i szybki menad¿er okien dla X Window
6 Name:           blackbox
7 Version:        0.62.1
8 Release:        4
9 License:        GPL
10 Group:          X11/Window Managers
11 Vendor:         Brad Hughes <blackbox@alug.org>
12 Source0:        http://prdownloads.sourceforge.net/blackboxwm/%{name}-%{version}.tar.gz
13 Source1:        %{name}.desktop
14 Patch0:         %{name}-am_fixes.patch
15 Patch1:         %{name}-pipe.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 %{?_with_pipe:%patch1 -p1}
51
52 %build
53 aclocal
54 autoconf
55 automake -a -c
56 %configure
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT%{_datadir}/wm-properties
62
63 %{__make} install DESTDIR=$RPM_BUILD_ROOT
64
65 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/wm-properties/
66
67 gzip -9nf README* ChangeLog
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc *.gz
75 %attr(755,root,root) %{_bindir}/*
76 %dir %{_sysconfdir}
77 %dir %{_datadir}/blackbox
78 %{_datadir}/blackbox/styles/*
79 %{_datadir}/blackbox/nls/*
80 %{_datadir}/wm-properties/blackbox.desktop
81 %{_mandir}/man1/*
82 %{_sysconfdir}/menu
This page took 0.057264 seconds and 3 git commands to generate.