From 09026164b96baa1f44225019adcf5ad1906a884b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 18 Aug 2005 14:19:10 +0000 Subject: [PATCH] - new Changed files: drupal-mod-blogtheme.spec -> 1.1 --- drupal-mod-blogtheme.spec | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 drupal-mod-blogtheme.spec diff --git a/drupal-mod-blogtheme.spec b/drupal-mod-blogtheme.spec new file mode 100644 index 0000000..0736481 --- /dev/null +++ b/drupal-mod-blogtheme.spec @@ -0,0 +1,43 @@ +%define modname blogtheme +Summary: Drupal Blog Theme Module +Name: drupal-mod-%{modname} +Version: 4.6.0 +Release: 0.1 +Epoch: 0 +License: GPL v2 +Group: Applications/WWW +Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz +# Source0-md5: a527f9efc6ec532748104e7e2904927d +URL: http://drupal.org/node/19248 +Requires: drupal >= 4.6.0 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _moddir %{_datadir}/drupal/modules + +%description +Blog theme allows users to have persistent themes for their blogs +based on the theme they choose for their account. When others view +thier main blog page, or any node created by them, the reader will see +the authors theme instead of thier own. + +The module works by using the hook_init function and setting the +$custom_theme global variable to the node/blog owner's theme. + +%prep +%setup -q -n %{modname} + +rm -f LICENSE.txt # GPL v2 + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_moddir} + +install *.module $RPM_BUILD_ROOT%{_moddir} + +%clean +rm -rf $RPM_BUILD_ROOT +%files +%defattr(644,root,root,755) +%doc *.txt +%{_moddir}/*.module -- 2.43.0