]> git.pld-linux.org Git - packages/drupal-mod-blogtheme.git/blob - drupal-mod-blogtheme.spec
- new
[packages/drupal-mod-blogtheme.git] / drupal-mod-blogtheme.spec
1 %define         modname blogtheme
2 Summary:        Drupal Blog Theme Module
3 Name:           drupal-mod-%{modname}
4 Version:        4.6.0
5 Release:        0.1
6 Epoch:          0
7 License:        GPL v2
8 Group:          Applications/WWW
9 Source0:        http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
10 # Source0-md5:  a527f9efc6ec532748104e7e2904927d
11 URL:            http://drupal.org/node/19248
12 Requires:       drupal >= 4.6.0
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _moddir         %{_datadir}/drupal/modules
17
18 %description
19 Blog theme allows users to have persistent themes for their blogs
20 based on the theme they choose for their account. When others view
21 thier main blog page, or any node created by them, the reader will see
22 the authors theme instead of thier own. 
23
24 The module works by using the hook_init function and setting the
25 $custom_theme global variable to the node/blog owner's theme.
26
27 %prep
28 %setup -q -n %{modname}
29
30 rm -f LICENSE.txt # GPL v2
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_moddir}
35
36 install *.module $RPM_BUILD_ROOT%{_moddir}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40 %files
41 %defattr(644,root,root,755)
42 %doc *.txt
43 %{_moddir}/*.module
This page took 0.066597 seconds and 3 git commands to generate.