File smenu.spec of Package smenu

Name:           smenu
Version:        0.9.13
Release:        0
Summary:        Selection Window for the Terminal
Group:          System/GUI/Other
License:        GPL
URL:            https://github.com/p-gen/smenu
Source:         smenu-%{version}.tar.xz
BuildRequires:  gcc make automake autoconf libtool
BuildRequires:  ncurses-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Powerful terminal utility that allows you to use words coming from the standard
input to create a nice selection window just below the cursor. Once done, your
selection will be sent to standard output.

%prep
%setup -q

%build
autoreconf -fiv
%configure --disable-silent-rules
make %{?_smp_flags}

%install
%makeinstall

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root)
%doc examples
%doc COPYRIGHT LICENSE.rst README.rst SUMMARY TODO ChangeLog
%{_bindir}/smenu
%doc %{_mandir}/man1/smenu.1*

%changelog
openSUSE Build Service is sponsored by