File lpe.spec of Package lpe

# spec file for package lpe
# Copyright (c) 2015 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

Name:		lpe
Version:	1.2.8
Release:	0
License:	GPL-2.0
Summary:	Small programming text editor
Group:		Application/Editors
Patch:		drop_gettext_version.patch
BuildRequires:	slang-devel
BuildRequires:	ncurses-devel
BuildRequires:	xz
BuildRequires:	libtool
BuildRoot:	%{_tmppath}/%{name}-%{version}-build

Lpe stands for "lightweight programmer's editor", and is exactly that.
It is designed to provide at the same time all the features that might
be required in a decent code editor and a light, intuitive feel that
makes it a pleasure to work with, making all necessary commands
accessible as easily as possible.

%setup -q -c
%patch -p1

make %{?_smp_mflags}

make DESTDIR="%{buildroot}" \
   docdir="%{_defaultdocdir}/%{name}/" \
   exdir="%{_defaultdocdir}/%{name}/" \
rm %{buildroot}%{_libdir}/lpe/*.la
%find_lang %{name} --with-man

%files -f %{name}.lang
%doc %{_defaultdocdir}/%{name}/
%dir %{_libdir}/lpe/
%dir %{_datadir}/lpe
%dir %{_mandir}/bg/
%dir %{_mandir}/bg/man1