File jwm.spec of Package jwm

Name: jwm
Version: 2.3.5
Release: 3
License: GPL-2.0
Summary: A light-weight window manager for the X11 Window System
Group: System/GUI/Other
Source: %name-%version.tar.xz
Source1: %name.desktop
Source2: %{name}
Patch1: %name-2.3.5-example.jwmrc.patch
Patch2: %{name}
Provides: %name-lang = %version-%release
Obsoletes: %name-lang < %version-%release
Recommends: %name-lang
BuildRequires: autoconf automake
BuildRequires: libjpeg-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libpng) pkgconfig(cairo) pkgconfig(librsvg-2.0) pkgconfig(freetype2) pkgconfig(fribidi)
BuildRequires: pkgconfig(xext) pkgconfig(xmu) pkgconfig(xft) pkgconfig(xrender) pkgconfig(xinerama) pkgconfig(xpm)

JWM is a light-weight window manager for the X11 Window System. JWM is written in
C and uses only Xlib at a minimum. Because of its small footprint, JWM makes a
good window manager for older computers and less powerful systems, such as the
Raspberry Pi, though it is perfectly capable of running on modern systems.

%setup -q
install -p -m 0644 %{S:2} ./%{name}
%patch1 -p1

make %{?_smp_mflags}

install -pD -m 0644 %{S:1} %buildroot%_datadir/xsessions/%name.desktop
install -p -m 0755 %{name} %buildroot%_datadir/%name/
%find_lang %name

%files -f %name.lang
%doc README*
%config %_sysconfdir/*

openSUSE Build Service is sponsored by