File dmenu.spec of Package dmenu

#
# spec file for package MozillaFirefox
#
# Copyright (c) 2012 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:           dmenu
Version:        4.5
Release:        1
License:        MIT
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  xorg-x11-devel
Group:          System/GUI/Other
Summary:	A generic and efficient menu for X
URL:            http://tools.suckless.org/dmenu/
Source:		http://dl.suckless.org/tools/dmenu-4.5.tar.gz

%description
dmenu is a dynamic menu for X, originally designed for dwm. It manages large numbers of user-defined menu items efficiently.

Authors:

---------
    Anselm R. Garbe <garbeam at wmii dot de>
    Georg Neis <gn at wmii dot de>
    Sander van Dijk <sander at wmii dot de>

%prep
%setup -n %{name}-%{version}

%build
%{__make} OPTFLAGS="%{optflags}" \
    X11LIB="/usr/X11R6/%{_lib}"

%install
%makeinstall \
    PREFIX="%{_prefix}"\
    DESTDIR="%{buildroot}"
#
%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%{_bindir}/%{name}*
%{_mandir}/man1/%{name}*
%{_bindir}/stest
%{_mandir}/man1/stest.1.gz


%changelog
openSUSE Build Service is sponsored by