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