File echinus.spec of Package echinus

#
# spec file for package echinus
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           echinus
Version:        0.4.9
Release:        0
Summary:        Lightweight Window Manager for X
License:        X11
Group:          System/X11/Displaymanagers
Url:            https://github.com/polachok/echinus
Source:         https://plhk.ru/static/%{name}/%{name}-%{version}.tar.gz
BuildRequires:  gcc
BuildRequires:  make
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  xorg-x11-devel

%description
Echinus is a lightweight window manager for X based on dwm's source code. It
manages windows in tiled, maximized, and floating layouts. It is extremely
small, rather fast, and supports Xft. It features nice titlebars, multiple
desktops, theming support, a simple configuration file, the ability to switch
desktops with the mouse wheel, X bitmaps for title buttons, and true
transparency support (through xcompmgr). There is no need to recompile or
restart X to change its configuration.

%prep
%setup -q

%build
make %{?_smp_mflags} CC="gcc" OPTFLAGS="%{optflags}"

%install
%make_install \
         PREFIX="%{_prefix}" \
	 CONFPREFIX="%{_sysconfdir}" \

%files
%doc LICENSE README
%dir %{_sysconfdir}/%{name}
%dir %{_datadir}/doc/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/echinusrc
%config(noreplace) %{_sysconfdir}/%{name}/close.xbm
%config(noreplace) %{_sysconfdir}/%{name}/iconify.xbm
%config(noreplace) %{_sysconfdir}/%{name}/max.xbm
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{ext_man}
%{_datadir}/doc/%{name}/README

%changelog
openSUSE Build Service is sponsored by