File menumaker.spec of Package menumaker
#
# spec file for package menumaker
#
# 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: menumaker
Version: 0.99.9
Release: 0
License: BSD-2-Clause
Summary: A menu generation utility
Url: http://menumaker.sourceforge.net/
Group: System/X11/Utilities
Source: %{name}-%{version}.tar.gz
BuildRequires: makeinfo
BuildRequires: python
BuildRequires: dpkg
PreReq: %install_info_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Menu Maker is 100% Python heuristics-driven menu generator for a number of
X Window Managers and desktop environments. It features large knowledge
base of known programs, powerful and flexible search algorithms, persistence
of menus across several WMs
%prep
%setup -q
%build
%configure --prefix=%{_prefix} --infodir=%{_infodir}
make %{?_smp_mflags}
%install
%make_install
%{__rm} %{buildroot}%{_infodir}/dir
%post
%install_info --info-dir=%{_infodir} %{_infodir}/mmaker.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/mmaker.info.gz
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README
%{_bindir}/mmaker
%{_datadir}/%{name}
%{_infodir}/mmaker.info.*