2 Summary: Drupal Frontpage Module
3 Summary(pl): Modu³ Frontpage (strony tytu³owej) dla Drupala
4 Name: drupal-mod-%{modname}
9 Group: Applications/WWW
10 Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
11 # Source0-md5: af29a96b70cc45e941e6c68631991161
12 URL: http://drupal.org/project/front
13 Requires: drupal >= 4.6.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _moddir %{_datadir}/drupal/modules
20 The Front Page module allows user to specify splash pages or front
21 pages to their site that are different in layout to the default
24 Useful if you want to do the following:
25 - Have a splash front page to your Drupal site that is different from
27 - Automatically display a different front page for Anonymous and
29 - Easily update/change the contents or the redirects of your front
30 page(s) from within the Drupal Administration area,
31 - Include PHP code in your Front Page(s).
34 Modu³ Front Page pozwala na okre¶lenie stron startowych lub tytu³owych
35 na stronie ró¿ni±cych siê w wygl±dzie od domy¶lnego motywu/stylu.
37 Jest to przydatne je¶li chcemy zrobiæ takie rzeczy, jak:
38 - mieæ tytu³ow± stronê startow± na witrynie Drupala ró¿ni±c± siê od
40 - automatycznie wy¶wietlaæ ró¿ne strony tytu³owe dla anonimowych i
41 uwierzytelnionych u¿ytkowników,
42 - ³atwo uaktualniaæ/zmieniaæ zawarto¶æ lub przekierowania strony
43 tytu³owej z obszaru administracyjnego Drupala,
44 - w³±czaæ kod PHP na stronie tytu³owej.
47 %setup -q -n %{modname}
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{_moddir}
53 install *.module $RPM_BUILD_ROOT%{_moddir}
56 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)