]> git.pld-linux.org Git - packages/blackbox.git/blame - blackbox.spec
- fixed x86-centric thinko
[packages/blackbox.git] / blackbox.spec
CommitLineData
26294186 1#
39488c48 2# TODO: review/update patches
3#
26294186 4# Conditional build:
646073cd 5%bcond_with epistrophy # enables using epistorophy key grabber
26294186 6#
e3ab4b11 7Summary: Very small and fast window manger for the X Window
06cfb4f9
ER
8Summary(pl.UTF-8): Mały i szybki zarządca okien dla X Window
9Summary(de.UTF-8): Blackbox ist ein Windowmanager
c636f561 10Name: blackbox
39488c48 11Version: 0.70.1
ccc4181b 12Release: 3.1
26294186 13License: BSD-like
c636f561 14Group: X11/Window Managers
f9dd7778 15Source0: http://dl.sourceforge.net/blackboxwm/%{name}-%{version}.tar.gz
39488c48 16# Source0-md5: 2d173b95ca5e64ef478c6a5d2deee9df
76da209e 17Source1: %{name}.desktop
bdb11c69 18Source3: %{name}.1
19Source4: bsetroot.1
57ddee75 20Source5: %{name}-README.PLD
d03b1cd4 21Source6: %{name}-xsession.desktop
b0597b68 22Patch0: %{name}-am_fixes.patch
4b489e6f 23Patch1: %{name}-pipe.patch
8bb824c5 24Patch3: %{name}-epistrophy.patch
5731932c 25Patch4: %{name}-etc_dir.patch
26294186
JB
26Patch5: %{name}-nls-codesets.patch
27Patch6: %{name}-assert.patch
d224a78c 28Patch7: %{name}-lib64.patch
2250cf3c 29URL: http://blackboxwm.sourceforge.net/
41cb92eb 30BuildRequires: autoconf
31BuildRequires: automake
646073cd 32%{?with_epistrophy:Requires: epistrophy}
5e83988c 33BuildRequires: rpm >= 4.0.2-48
34BuildRequires: xorg-lib-libX11-devel
35BuildRequires: xorg-lib-libXft-devel
dbbba856 36Obsoletes: fluxbox
a4fa63a9 37Conflicts: filesystem < 3.0-20
a0119d34 38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
eec1e3c5 39
13f3130c 40%define _sysconfdir /etc/X11/%{name}
a4fa63a9 41%define _wmpropsdir /usr/share/gnome/wm-properties
950c8bca 42
f2b93712 43%define _gcc_ver %(%{__cc} -dumpversion | cut -b 1)
53ed1b7f 44%if %{_gcc_ver} == 2
0f3df1f5 45%define __cxx "%{__cc}"
46%endif
fe6df007 47
eec1e3c5 48%description
587c8800 49Blackbox is a window manager for the X Window environment, which is
50almost completely compliant with ICCCM specified operation policies.
51It features nice and fast interface with multiple workspaces and
52simple menus. Fast built-in graphics code that can render solids,
53gradients and bevels is used to draw window decorations. Remaining
54small in size, blackbox preserves memory and CPU.
eec1e3c5 55
5fcca84d
JR
56%description -l pl.UTF-8
57Blackbox jest zarządcą okien dla X Window spełniającym prawie
58wszystkie zalecenia ICCM. Jego zaletą jest estetyczny i szybki
59interfejs z wieloma pulpitami i prostym menu. Wbudowano weń także
60algorytm rysowania dekoracji okien, które mogą być jednokolorowe,
61gradientowe lub trójwymiarowe. Blackbox oszczędza pamięć i czas CPU.
eec1e3c5 62
5fcca84d
JR
63%description -l de.UTF-8
64Blackbox ist ein Windowmanager für offene Betriebssystem wie z.B.
65Linux oder freie BSD-Varianten. Er erfreut sich einer großen
a4c6b696 66Fangemeinde, da er sehr ressourcenschonend und voll konfigurierbar
67ist.
68
eec1e3c5 69%prep
455acc11 70%setup -q
b88995d7 71#%patch0 -p1
72#%patch1 -p1
646073cd 73%{?with_epistrophy:%patch3 -p1}
b88995d7 74#%patch4 -p1
75#%patch5 -p1
76#%patch6 -p1
ccc4181b 77%if "%{_lib}" == "lib64"
39488c48 78%patch7 -p0
79%endif
eec1e3c5 80
81%build
dd279a53 82rm -f missing
5e83988c 83%{__libtoolize}
dd279a53 84%{__aclocal}
8cfbfe17 85%{__autoconf}
86%{__automake}
e3ab4b11 87%configure
fe6df007 88%{__make}
eec1e3c5 89
eec1e3c5 90%install
91rm -rf $RPM_BUILD_ROOT
d03b1cd4 92install -d \
93 $RPM_BUILD_ROOT{%{_wmpropsdir},%{_mandir}/pl/man1,%{_sysconfdir}} \
94 $RPM_BUILD_ROOT%{_datadir}/xsessions
e3ab4b11 95
8783bb35
PG
96%{__make} install \
97 DESTDIR=$RPM_BUILD_ROOT
e3ab4b11 98
f9dd7778 99install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
bdb11c69 100install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
101install %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/pl/man1
57ddee75 102cp %{SOURCE5} README.PLD
d03b1cd4 103install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
57ddee75 104
a04a05ef 105%clean
106rm -rf $RPM_BUILD_ROOT
107
eec1e3c5 108%files
b62d2e08 109%defattr(644,root,root,755)
26294186 110%doc AUTHORS README* ChangeLog LICENSE TODO
c717dcb3 111%attr(755,root,root) %{_bindir}/*
13f3130c 112%dir %{_sysconfdir}
76da209e 113%dir %{_datadir}/blackbox
ea4de25b 114%{_datadir}/blackbox/styles
d03b1cd4 115%{_datadir}/xsessions/%{name}.desktop
f9dd7778 116%{_wmpropsdir}/blackbox.desktop
b0597b68 117%{_mandir}/man1/*
6afa71cb 118%lang(pl) %{_mandir}/pl/man1/*
b88995d7 119%{_datadir}/blackbox/menu
This page took 0.083005 seconds and 4 git commands to generate.