Name: dvtm
Version: 0.5.1
Release: 5%{?dist}
Summary: Tiling window management for the console
Group: Applications/System
License: MIT and LGPLv2
URL: http://www.brain-dump.org/projects/%{name}/
Source0: http://www.brain-dump.org/projects/%{name}/%{name}-%{version}.tar.gz
Patch0: Makefile-%{version}.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel
%description
dvtm brings the concept of tiling window management, popularized by
X11-window managers like dwm to the console. As a console window
manager it tries to make it easy to work with multiple console based
programs like vim, mutt, cmus or irssi.
%prep
%setup -q
%patch0 -p1 -b .Makefile
%build
sed -i 's/PREFIX.*local*/PREFIX\ =\ \/usr\//' config.mk
CFLAGS=`echo $RPM_OPT_FLAGS` make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE README
%{_bindir}/%{name}
%{_bindir}/%{name}-status
%{_mandir}/man1/%{name}.1*
%changelog
* Thu Jun 04 2009 Rakesh Pandit <rakesh@fedoraproject.org> 0.5.1-5
- Removed LGPLv2 copy
* Thu Jun 04 2009 Rakesh Pandit <rakesh@fedoraproject.org> 0.5.1-4
- Updated Makefile patch to echo current execution lines for
- dvtm.c and madtty.c and added LGPLv2 txt file
* Fri May 22 2009 Rakesh Pandit <rakesh@fedoraproject.org> 0.5.1-3
- Fixed license tag
* Sun May 10 2009 Rakesh Pandit <rakesh@fedoraproject.org> 0.5.1-2
- Removed -stripping from binaries and saving timestamp while
- installing via Makefile patch.
* Sun May 10 2009 Rakesh Pandit <rakesh@fedoraproject.org> 0.5.1-1
- Initial package