]> git.pld-linux.org Git - packages/blackbox.git/blob - blackbox.spec
- CONFIG_DIR support
[packages/blackbox.git] / blackbox.spec
1 # --with        epistrophy      (enables using epistorophy key grabber)
2
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
5 Name:           blackbox
6 Version:        0.65.0
7 Release:        1
8 License:        GPL
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
13 Source3:        %{name}.1
14 Source4:        bsetroot.1
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}
25 Obsoletes:      fluxbox
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _sysconfdir     /etc/X11/%{name}
29 %define         _wmpropsdir     /usr/share/wm-properties
30
31 %define         _gcc_ver        %(%{__cc} -dumpversion | cut -b 1)
32 %if %{_gcc_ver} == 2
33 %define         __cxx           "%{__cc}"
34 %endif
35
36 %description
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.
43
44 %description -l pl
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.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54 %patch1 -p1
55 %{?_with_epistrophy:%patch3 -p1}
56
57 %build
58 rm -f missing
59 %{__aclocal}
60 %{__autoconf}
61 %{__automake}
62 %configure
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_mandir}/pl/man1,%{_sysconfdir}}
68
69 %{__make} install DESTDIR=$RPM_BUILD_ROOT
70
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
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc README* ChangeLog
82 %attr(755,root,root) %{_bindir}/*
83 %dir %{_sysconfdir}
84 %dir %{_datadir}/blackbox
85 %{_datadir}/blackbox/styles
86 %{_datadir}/blackbox/nls
87 %{_wmpropsdir}/blackbox.desktop
88 %{_mandir}/man1/*
89 %lang(pl) %{_mandir}/pl/man1/*
90 %{_sysconfdir}/menu
This page took 0.121054 seconds and 3 git commands to generate.