File st.spec of Package st
#
# spec file for package st
#
# Copyright (c) 2014 SUSE LINUX Products 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: st
Version: 0.8.2
Release: 0
License: MIT
Summary: Simple terminal
Url: http://st.suckless.org/
Group: System/X11/Terminals
Source: %{name}-%{version}.tar.gz
# it's needed for post build checks
BuildRequires: pkgconfig(fontconfig)
BuildRequires: xorg-x11-proto-devel
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xft)
BuildRequires: pkgconfig(xext)
BuildRequires: ncurses-devel
Requires: pkgconfig(fontconfig)
Requires: xorg-x11-proto-devel
Requires: pkgconfig(x11)
Requires: pkgconfig(xft)
Requires: pkgconfig(xext)
Requires: ncurses-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Simple terminal from suckless.org
%prep
%setup -q
%suckless_config
sed -i 's@# CC = c99@CC = gcc@g' config.mk
%build
%install
%suckless_manpage
%suckless_src_copy
%suckless_store_config
%posttrans
%suckless_post_build
%files
%defattr(-,root,root)
%suckless_files