1 %define modname blogtheme
2 Summary: Drupal Blog Theme Module
3 Name: drupal-mod-%{modname}
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
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _moddir %{_datadir}/drupal/modules
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.
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.
28 %setup -q -n %{modname}
30 rm -f LICENSE.txt # GPL v2
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_moddir}
36 install *.module $RPM_BUILD_ROOT%{_moddir}
39 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)