forked from pool/herbstluftwm
Ondřej Súkup
b491605bf3
- Respect %optflags - BuildRequire only the needed x libs, not xorg-x11-devel OBS-URL: https://build.opensuse.org/request/show/554646 OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/herbstluftwm?expand=0&rev=7
104 lines
3.4 KiB
RPMSpec
104 lines
3.4 KiB
RPMSpec
#
|
|
# spec file for package herbstluftwm
|
|
#
|
|
# Copyright (c) 2017 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: herbstluftwm
|
|
Version: 0.7.0
|
|
Release: 0
|
|
Summary: A manual tiling window manager
|
|
License: BSD-2-Clause
|
|
Group: System/GUI/Other
|
|
Url: http://herbstluftwm.org
|
|
Source0: http://herbstluftwm.org/tarballs/%{name}-%{version}.tar.gz
|
|
Source1: %{name}.desktop
|
|
BuildRequires: asciidoc
|
|
BuildRequires: gcc-c++ >= 4.9
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: libxslt-devel
|
|
BuildRequires: ncurses-utils
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xext)
|
|
BuildRequires: pkgconfig(xinerama)
|
|
|
|
%description
|
|
herbstluftwm is a manual tiling window manager for X11 using Xlib and Glib.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CXXFLAGS="%optflags"
|
|
export CFLAGS="%optflags"
|
|
make VERBOSE= COLOR=0 %{?_smp_mflags}
|
|
|
|
%install
|
|
make install \
|
|
INSTALL="install -p" \
|
|
DESTDIR=%{buildroot} \
|
|
PREFIX="%{_prefix}" \
|
|
DATADIR="%{_datadir}"
|
|
DOCDIR="%{_docdir}/%{name}"
|
|
|
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/xsessions/%{name}.desktop
|
|
|
|
%files
|
|
%dir %{_datadir}/zsh/functions
|
|
%dir %{_datadir}/zsh/functions/Completion
|
|
%dir %{_datadir}/zsh/functions/Completion/X
|
|
%dir %{_datadir}/doc/%{name}/
|
|
%dir %{_datadir}/doc/%{name}/examples
|
|
%dir %{_sysconfdir}/xdg/%{name}
|
|
%{_datadir}/doc/%{name}/BUGS
|
|
%{_datadir}/doc/%{name}/INSTALL
|
|
%{_datadir}/doc/%{name}/LICENSE
|
|
%{_datadir}/doc/%{name}/NEWS
|
|
%{_datadir}/doc/%{name}/examples/README
|
|
%{_datadir}/doc/%{name}/examples/dmenu.sh
|
|
%{_datadir}/doc/%{name}/examples/dumpbeautify.sh
|
|
%{_datadir}/doc/%{name}/examples/exec_on_tag.sh
|
|
%{_datadir}/doc/%{name}/examples/execwith.sh
|
|
%{_datadir}/doc/%{name}/examples/floatmon.sh
|
|
%{_datadir}/doc/%{name}/examples/herbstcommander.sh
|
|
%{_datadir}/doc/%{name}/examples/keychain.sh
|
|
%{_datadir}/doc/%{name}/examples/lasttag.sh
|
|
%{_datadir}/doc/%{name}/examples/layout.sh
|
|
%{_datadir}/doc/%{name}/examples/loadstate.sh
|
|
%{_datadir}/doc/%{name}/examples/maximize.sh
|
|
%{_datadir}/doc/%{name}/examples/q3terminal.sh
|
|
%{_datadir}/doc/%{name}/examples/savestate.sh
|
|
%{_datadir}/doc/%{name}/examples/scratchpad.sh
|
|
%{_datadir}/doc/%{name}/examples/toggledualhead.sh
|
|
%{_datadir}/doc/%{name}/examples/windowmenu.sh
|
|
%{_datadir}/doc/%{name}/examples/wselect.sh
|
|
%{_datadir}/doc/%{name}/herbstclient.html
|
|
%{_datadir}/doc/%{name}/%{name}-tutorial.html
|
|
%{_datadir}/doc/%{name}/%{name}.html
|
|
%config %{_sysconfdir}/bash_completion.d/herbstclient-completion
|
|
%{_datadir}/zsh/functions/Completion/X/_herbstclient
|
|
%{_sysconfdir}/xdg/%{name}/autostart
|
|
%{_sysconfdir}/xdg/%{name}/panel.sh
|
|
%{_sysconfdir}/xdg/%{name}/restartpanels.sh
|
|
%{_bindir}/herbstclient
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/dmenu_run_hlwm
|
|
%{_mandir}/man1/herbstclient.1%{ext_man}
|
|
%{_mandir}/man1/%{name}.1%{ext_man}
|
|
%{_mandir}/man7/%{name}-tutorial.7%{ext_man}
|
|
%{_datadir}/xsessions/%{name}.desktop
|
|
|
|
%changelog
|