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