fluxbox/fluxbox.spec

Name: fluxbox
Summary: Window Manager based on Blackbox
Version: 1.0.0
Release: 1
License: MIT
Group: User Interface/Desktops
URL: http://fluxbox.sourceforge.net/
Description: Fluxbox is yet another windowmanager for X. It's based on the Blackbox 0.61.1 code. Fluxbox looks like blackbox and handles styles, colors, window placement and similar thing exactly like blackbox (100% theme/style compatibility).

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag


%{?el4:%define _without_modxorg 1}
%{?el3:%define _without_modxorg 1}

Summary: Window Manager based on Blackbox
Name: fluxbox
Version: 1.0.0
Release: 1%{?dist}
License: MIT
Group: User Interface/Desktops
URL: http://fluxbox.sourceforge.net/

Source0: http://dl.sf.net/fluxbox/fluxbox-%{version}.tar.bz2
Source1: fluxbox-xdg-menu.py
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: zlib-devel, imlib2-devel, gcc-c++
%{!?_without_fontconfig:BuildRequires: fontconfig-devel}
%{!?_without_modxorg:BuildRequires: libICE-devel, libSM-devel, libX11-devel, libXext-devel, libXft-devel, libXinerama-devel, libXpm-devel, libXrandr-devel, libXrender-devel}
%{?_without_modxorg:BuildRequires: XFree86-devel}
Requires: python-xdg, artwiz-aleczapka-fonts

%description
Fluxbox is yet another windowmanager for X. It's based on the Blackbox 0.61.1
code. Fluxbox looks like blackbox and handles styles, colors, window placement
and similar thing exactly like blackbox (100% theme/style compatibility). 

%prep
%setup

%{__cat} <<EOF >fluxbox.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Fluxbox
Comment=Very small and fast window manager
Exec=startfluxbox
Terminal=False
TryExec=fluxbox

[Window Manager]
SessionManaged=true
EOF

%build
%configure \
	--x-includes="%{_includedir}" \
%{!?_without_modxorg:--x-libraries="%{_libdir}"} \
%{?_without_modxorg:--x-libraries="%{_prefix}/X11R6/%{_lib}"} \
	--enable-gnome \
	--enable-imlib2 \
	--enable-kde \
	--enable-nls \
	--enable-xft \
	--enable-xinerama
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%{__install} -Dp -m0644 fluxbox.desktop %{buildroot}%{_datadir}/xsessions/fluxbox.desktop
%{__install} -Dp -m0755 %{SOURCE1} %{buildroot}%{_bindir}/fluxbox-xdg-menu

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
%doc %{_mandir}/man1/*.1*
%{_bindir}/*
%{_datadir}/fluxbox/
%{_datadir}/xsessions/fluxbox.desktop

%changelog
* Tue Oct 09 2007 Dag Wieers <dag@wieers.com> - 1.0.0-1
- Updated to release 1.0.0.

* Tue Apr 24 2007 Dag Wieers <dag@wieers.com> - 0.9.15.1-1
- Initial package. (using DAR)