]>
Commit | Line | Data |
---|---|---|
a04e8b6e ER |
1 | %define modname front |
2 | Summary: Drupal Frontpage Module | |
f206e3a7 | 3 | Summary(pl.UTF-8): Moduł Frontpage (strony tytułowej) dla Drupala |
a04e8b6e ER |
4 | Name: drupal-mod-%{modname} |
5 | Version: 4.6.0 | |
6f6847b0 | 6 | Release: 0.7 |
a04e8b6e ER |
7 | License: GPL |
8 | Group: Applications/WWW | |
9 | Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz | |
6f6847b0 | 10 | # Source0-md5: 83e2fc918b3cbd1ad43a1290220bd608 |
a04e8b6e ER |
11 | URL: http://drupal.org/project/front |
12 | Requires: drupal >= 4.6.0 | |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
99d2b789 ER |
16 | %define _drupaldir %{_datadir}/drupal |
17 | %define _moddir %{_drupaldir}/modules | |
a04e8b6e ER |
18 | |
19 | %description | |
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 | |
22 | theme/style. | |
23 | ||
24 | Useful if you want to do the following: | |
acc3ca7c | 25 | - Have a splash front page to your Drupal site that is different from |
a04e8b6e ER |
26 | your default layout, |
27 | - Automatically display a different front page for Anonymous and | |
28 | Authenticated Users, | |
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). | |
32 | ||
67622ebd JR |
33 | %description -l pl.UTF-8 |
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. | |
36 | ||
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 | |
39 | domyślnego wyglądu, | |
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. | |
acc3ca7c | 45 | |
a04e8b6e ER |
46 | %prep |
47 | %setup -q -n %{modname} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | install -d $RPM_BUILD_ROOT%{_moddir} | |
52 | ||
53 | install *.module $RPM_BUILD_ROOT%{_moddir} | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
ce63b2b0 | 57 | |
a04e8b6e ER |
58 | %files |
59 | %defattr(644,root,root,755) | |
60 | %doc *.txt | |
61 | %{_moddir}/*.module |