%define modname front Summary: Drupal Frontpage Module Name: drupal-mod-%{modname} Version: 4.6.0 Release: 0.4 Epoch: 0 License: GPL Group: Applications/WWW Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz # Source0-md5: 607dd16dea4d743653d201da454c96ca URL: http://drupal.org/project/front Requires: drupal >= 4.6.0 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _moddir %{_datadir}/drupal/modules %description The Front Page module allows user to specify splash pages or front pages to their site that are different in layout to the default theme/style. Useful if you want to do the following: - Have a splash front page to your drupal site that is different from your default layout, - Automatically display a different front page for Anonymous and Authenticated Users, - Easily update/change the contents or the redirects of your front page(s) from within the Drupal Administration area, - Include PHP code in your Front Page(s). %prep %setup -q -n %{modname} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_moddir} install *.module $RPM_BUILD_ROOT%{_moddir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.txt %{_moddir}/*.module