File tile.spec of Package tile

# norootforbuild

Summary:	X11 window tiling utility
Name:		tile
Version:	0.7.4
Release:	1
License:	GPL
Group:		Productivity/Multimedia/Sound/Utilities
Source:		%{name}-%{version}.tar.gz
URL:		http://www.unixdev.net/projects/tile
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
BuildRequires:	xorg-x11-devel
AutoReq:        on


%description
This program tiles windows on the desktop (vertically or horizontally). It has been tested with the Motif Window Manager, FluxBox, and Oroborus. It can also avoid certain screen objects, currently based on a tunable file.


#%debug_package

%prep
#%setup -q -n %{name}-%{version}
%setup

%build
%configure
make

%install

mkdir -p $RPM_BUILD_ROOT%{_bindir}
cp tile $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
cp tile.1 $RPM_BUILD_ROOT%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT%{_datadir}/tile
cp wmprofiles rc $RPM_BUILD_ROOT%{_datadir}/tile
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/
cp horizontal.desktop $RPM_BUILD_ROOT%{_datadir}/applications/
cp vertical.desktop $RPM_BUILD_ROOT%{_datadir}/applications/

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root)
%doc ChangeLog TODO README
%{_bindir}/%{name}
%{_mandir}/man1/*
%{_datadir}/%{name}
%{_datadir}/applications/*.desktop

%changelog

openSUSE Build Service is sponsored by