]> git.pld-linux.org Git - packages/drupal-theme-box_grey_smarty.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 19 Aug 2005 09:39:16 +0000 (09:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drupal-theme-box_grey_smarty.spec -> 1.1

drupal-theme-box_grey_smarty.spec [new file with mode: 0644]

diff --git a/drupal-theme-box_grey_smarty.spec b/drupal-theme-box_grey_smarty.spec
new file mode 100644 (file)
index 0000000..1cdf03d
--- /dev/null
@@ -0,0 +1,47 @@
+%define                themename box_grey_smarty
+Summary:       Drupal Theme Box_grey_smarty
+Name:          drupal-mod-%{themename}
+Version:       4.6.0
+Release:       0.2
+Epoch:         0
+License:       GPL v2
+Group:         Applications/WWW
+Source0:       http://drupal.org/files/projects/%{themename}-%{version}.tar.gz
+# Source0-md5: 5b6cf02791e36c7a9b97686c270dbd46
+URL:           http://drupal.org/node/13811
+Requires:      drupal >= 4.6.0
+Requires:      drupal-themeengine-smarty >= 4.6.0
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _themedir               %{_datadir}/drupal/themes
+%define                _themehtmldir   %{_datadir}/drupal/htdocs/themes
+
+%description
+A port of the original box_grey theme for the Smarty template engine.
+
+%prep
+%setup -q -n %{themename}
+rm -f LICENSE.txt # GPL v2
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_themehtmldir},%{_themedir}}/%{themename}
+
+# box_grey_smarty
+install *.{css,png}  $RPM_BUILD_ROOT%{_themehtmldir}/%{themename}
+install *.tpl $RPM_BUILD_ROOT%{_themedir}/%{themename}
+ln -s ../../htdocs/themes/%{themename}/screenshot.png $RPM_BUILD_ROOT%{_themedir}/%{themename}
+
+# subtheme box_cleanslate_smarty
+install -d $RPM_BUILD_ROOT{%{_themehtmldir},%{_themedir}}/%{themename}/box_cleanslate_smarty
+install box_cleanslate_smarty/*.{css,png} $RPM_BUILD_ROOT%{_themehtmldir}/%{themename}/box_cleanslate_smarty
+ln -s ../../../htdocs/themes/%{themename}/box_cleanslate_smarty/screenshot.png $RPM_BUILD_ROOT%{_themedir}/%{themename}/box_cleanslate_smarty
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+%files
+%defattr(644,root,root,755)
+%doc *.txt
+%{_themedir}/%{themename}
+%{_themehtmldir}/%{themename}
This page took 0.076693 seconds and 4 git commands to generate.