]> git.pld-linux.org Git - packages/blackbox.git/blob - blackbox.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[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:        5
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 %{?_with_epistrophy: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 gzip -9nf README* ChangeLog
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files
85 %defattr(644,root,root,755)
86 %doc *.gz
87 %attr(755,root,root) %{_bindir}/*
88 %dir %{_sysconfdir}
89 %dir %{_datadir}/blackbox
90 %{_datadir}/blackbox/styles/*
91 %{_datadir}/blackbox/nls/*
92 %{_datadir}/wm-properties/blackbox.desktop
93 %{_mandir}/man1/*
94 %{_mandir}/pl/man1/*
95 %{_sysconfdir}/menu
This page took 0.049653 seconds and 4 git commands to generate.