Author: glen                         Date: Wed Jan 11 20:22:07 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- drupal themes moved to separate package, so one can build completely own 
themes

---- Files affected:
SPECS:
   drupal.spec (1.51 -> 1.52) 

---- Diffs:

================================================================
Index: SPECS/drupal.spec
diff -u SPECS/drupal.spec:1.51 SPECS/drupal.spec:1.52
--- SPECS/drupal.spec:1.51      Wed Jan 11 20:34:38 2006
+++ SPECS/drupal.spec   Wed Jan 11 21:22:01 2006
@@ -1,9 +1,11 @@
 # $Revision$, $Date$
+%define                _ver            4.6
+%define                _patchlevel     5
 Summary:       Open source content management platform
 Summary(pl):   Platforma do zarządzania treścią o otwartych źródłach
 Name:          drupal
-Version:       4.6.5
-Release:       0.15
+Version:       %{_ver}.%{_patchlevel}
+Release:       0.20
 License:       GPL
 Group:         Applications/WWW
 Source0:       http://drupal.org/files/projects/%{name}-%{version}.tar.gz
@@ -25,6 +27,7 @@
 BuildRequires: rpmbuild(macros) >= 1.264
 BuildRequires: sed >= 4.0
 Requires:      %{name}(DB_Driver) = %{version}-%{release}
+Requires:      %{name}(theme) = %{_ver}
 Requires:      apache(mod_access)
 Requires:      apache(mod_alias)
 Requires:      apache(mod_dir)
@@ -140,6 +143,15 @@
 mają schematy bazy danych dla PostgreSQL-a. Można go używać na własne
 ryzyko.
 
+%package themes
+Summary:       Themes distributed with Drupal
+Group:         Applications/WWW
+Requires:      %{name} = %{version}-%{release}
+Provides:      drupal(theme) = %{_ver}
+
+%description themes
+This package contains themes distributed with Drupal.
+
 %package xmlrpc
 Summary:       XMLRPC server for Drupal
 Summary(pl):   Serwer XMLRPC dla Drupala
@@ -313,7 +325,7 @@
 %{_appdir}/includes
 %{_appdir}/modules
 %{_appdir}/scripts
-%{_appdir}/themes
+%dir %{_appdir}/themes
 %{_appdir}/po
 %{_appdir}/update.php
 # symlinks
@@ -324,7 +336,7 @@
 %{_appdir}/htdocs/*.ico
 %{_appdir}/htdocs/index.php
 %{_appdir}/htdocs/misc
-%{_appdir}/htdocs/themes
+%dir %{_appdir}/htdocs/themes
 %{_appdir}/htdocs/modules
 
 %dir %attr(775,root,http) /var/lib/%{name}
@@ -344,6 +356,11 @@
 %defattr(644,root,root,755)
 %doc database/*.pgsql
 
+%files themes
+%defattr(644,root,root,755)
+%{_appdir}/themes/*
+%{_appdir}/htdocs/themes/*
+
 %files xmlrpc
 %defattr(644,root,root,755)
 %{_appdir}/htdocs/xmlrpc.php
@@ -354,6 +371,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.52  2006/01/11 20:22:01  glen
+- drupal themes moved to separate package, so one can build completely own 
themes
+
 Revision 1.51  2006/01/11 19:34:38  glen
 - -update package dropped, you can perform updates from cli, which should be 
sufficent
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/drupal.spec?r1=1.51&r2=1.52&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to