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