SPECS: drupal-mod-blogtheme.spec (NEW) - new
glen
glen at pld-linux.org
Thu Aug 18 16:19:15 CEST 2005
Author: glen Date: Thu Aug 18 14:19:15 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
drupal-mod-blogtheme.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/drupal-mod-blogtheme.spec
diff -u /dev/null SPECS/drupal-mod-blogtheme.spec:1.1
--- /dev/null Thu Aug 18 16:19:15 2005
+++ SPECS/drupal-mod-blogtheme.spec Thu Aug 18 16:19:10 2005
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+%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
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/08/18 14:19:10 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list