]> git.pld-linux.org Git - packages/drupal-mod-front.git/blame - drupal-mod-front.spec
- unified or fixed %clean section
[packages/drupal-mod-front.git] / drupal-mod-front.spec
CommitLineData
a04e8b6e
ER
1%define modname front
2Summary: Drupal Frontpage Module
f206e3a7 3Summary(pl.UTF-8): Moduł Frontpage (strony tytułowej) dla Drupala
a04e8b6e
ER
4Name: drupal-mod-%{modname}
5Version: 4.6.0
6f6847b0 6Release: 0.7
a04e8b6e
ER
7License: GPL
8Group: Applications/WWW
9Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
6f6847b0 10# Source0-md5: 83e2fc918b3cbd1ad43a1290220bd608
a04e8b6e
ER
11URL: http://drupal.org/project/front
12Requires: drupal >= 4.6.0
13BuildArch: noarch
14BuildRoot: %{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
20The Front Page module allows user to specify splash pages or front
21pages to their site that are different in layout to the default
22theme/style.
23
24Useful 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
34Moduł Front Page pozwala na określenie stron startowych lub tytułowych
35na stronie różniących się w wyglądzie od domyślnego motywu/stylu.
36
37Jest 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
50rm -rf $RPM_BUILD_ROOT
51install -d $RPM_BUILD_ROOT%{_moddir}
52
53install *.module $RPM_BUILD_ROOT%{_moddir}
54
55%clean
56rm -rf $RPM_BUILD_ROOT
ce63b2b0 57
a04e8b6e
ER
58%files
59%defattr(644,root,root,755)
60%doc *.txt
61%{_moddir}/*.module
This page took 0.066258 seconds and 4 git commands to generate.