]> git.pld-linux.org Git - packages/drupal-mod-blogtheme.git/blame - drupal-mod-blogtheme.spec
- tabs in preamble
[packages/drupal-mod-blogtheme.git] / drupal-mod-blogtheme.spec
CommitLineData
09026164
ER
1%define modname blogtheme
2Summary: Drupal Blog Theme Module
8d79ab9c 3Summary(pl.UTF-8): Moduł Drupal Blog Theme
09026164
ER
4Name: drupal-mod-%{modname}
5Version: 4.6.0
4fa4bea4 6Release: 0.2
09026164
ER
7Epoch: 0
8License: GPL v2
9Group: Applications/WWW
10Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
11# Source0-md5: a527f9efc6ec532748104e7e2904927d
12URL: http://drupal.org/node/19248
13Requires: drupal >= 4.6.0
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
4fa4bea4
ER
17%define _drupaldir %{_datadir}/drupal
18%define _moddir %{_drupaldir}/modules
09026164
ER
19
20%description
21Blog theme allows users to have persistent themes for their blogs
22based on the theme they choose for their account. When others view
41b4c737
JB
23their main blog page, or any node created by them, the reader will see
24the author's theme instead of their own.
09026164
ER
25
26The module works by using the hook_init function and setting the
27$custom_theme global variable to the node/blog owner's theme.
28
db849ea2
JR
29%description -l pl.UTF-8
30Blog theme pozwala użytkownikom mieć trwałe motywy dla swoich blogów w
31oparciu o motyw wybrany dla własnego konta. Kiedy inni oglądają ich
32główną stronę bloga lub dowolny utworzony węzeł, czytelnik zobaczy
33motyw autora zamiast własnego.
41b4c737 34
db849ea2
JR
35Moduł działa poprzez użycie funkcji hook_init i ustawienie zmiennej
36globalnej $custom_theme na motyw właściciela węzła/bloga.
41b4c737 37
09026164
ER
38%prep
39%setup -q -n %{modname}
40
41rm -f LICENSE.txt # GPL v2
42
43%install
44rm -rf $RPM_BUILD_ROOT
45install -d $RPM_BUILD_ROOT%{_moddir}
46
47install *.module $RPM_BUILD_ROOT%{_moddir}
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51%files
52%defattr(644,root,root,755)
53%doc *.txt
54%{_moddir}/*.module
This page took 0.11472 seconds and 4 git commands to generate.