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