File dmenu.spec of Package dmenu
#
# spec file for package dmenu (Version 4.0)
#
# Copyright 2008 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.
Summary: A generic menu for X, originally designed for dwm
Name: dmenu
Version: 4.0
Release: 1
Source0: %{name}-%{version}.tar.gz
Source1: http://code.suckless.org/dl/tools/%{name}-%{version}.tar.gz
Patch0: %{name}-%{version}-defs.patch
Vendor: %{vendor}
URL: http://tools.suckless.org/dmenu
License: X11/MIT
Group: System/GUI/Other
BuildRequires: xorg-x11-devel
BuildRequires: xorg-x11-util-devel
BuildRoot: %{_builddir}/%{name}-%{version}-build
%description
dmenu is a generic menu for X, originally designed for dwm(1).
It manages huge amounts (up to 10.000 and more) of user defined
menu items efficiently.
%prep
%setup -q
%patch0 -p1
%build
%install
%{__make} DESTDIR=$RPM_BUILD_ROOT clean install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%attr(0755,root,root)%{_bindir}/%{name}
%attr(0755,root,root)%{_bindir}/%{name}_path
%attr(0755,root,root)%{_bindir}/%{name}_run
%doc %{_mandir}/man1/%{name}.1.gz
%changelog
* Thu Jun 18 2009 Mario GarcĂa H. <code933k@gmail.com> - 4.0
- Initial package.