File svkbd.spec of Package svkbd
#
# spec file for package svkbd
#
# Copyright (c) 2013 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/
#
# for GIT snapshots
%define revision b1ab226b28e0a977162d3c04f003230a71b33d57
Name: svkbd
Version: 0.1git
Release: 0
License: MIT
Summary: Simple ncurses-based editor
Url: http://tools.suckless.org/svkbd
Group: TBD
Source: %{name}-%{revision}.tar.bz2
Patch0: config.mk.patch
#BuildRequires: pkgconfig
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xtst)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Ncurses text editor with an easy-to-read, hackable C source. Sandy
tries to maximize screen estate, minimize the SLOC used and not get
in your way too much. It can somehow be controlled using a named
pipe that lives in /tmp and all preferences and keybindings are to
be chosen at compile time.
%prep
%setup -q -n %{name}-%{revision}
%patch0 -p1
%build
%config_suckless
make %{?_smp_mflags}
%install
%make_install
%files
%defattr(-,root,root)
%doc README.md LICENSE
%{_bindir}/*
%changelog