Name: dmenu
Version: 4.1.1
Release: 1%{?dist}
Summary: Generic menu for X
Group: User Interface/Desktops
License: MIT
URL: http://www.suckless.org/programs/dmenu.html
Source0: http://code.suckless.org/dl/tools/%{name}-%{version}.tar.gz
Patch0: dmenu-4.0-makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libX11-devel
BuildRequires: libXinerama-devel
Requires: terminus-fonts
Requires: sselp
%description
Dynamic menu is a generic menu for X, originally designed for dwm. It manages
huge amounts (up to 10.000 and more) of user defined menu items efficiently.
%prep
%setup -q
%patch0 -p1 -b .makefile
sed -i -e 's|\t@|\t|' Makefile
%build
make \
X11INC=%{_includedir} \
X11LIB=%{_libdir} \
OPTFLAGS="%{optflags}"
%install
rm -rf %{buildroot}
make install \
DESTDIR=%{buildroot} \
PREFIX=%{_prefix} \
MANPREFIX=%{_mandir}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE README
%{_bindir}/%{name}*
%{_mandir}/man*/%{name}.*
%changelog
* Mon Jun 28 2010 Simon Wesp <cassmodiah@fedoraproject.org> - 4.1.1-1
- New upstrem version
* Sat Dec 12 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 4.0-2
- merged with the spec-file of Jan Blazek
* Thu Oct 15 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 4.0-1
- Initial Package Build