]> git.pld-linux.org Git - packages/drupal.git/commitdiff
- drupal themes moved to separate package, so one can build completely own themes
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 11 Jan 2006 20:22:01 +0000 (20:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drupal.spec -> 1.52

drupal.spec

index f46421fd8a77a5245e898c9e5a889a067fd08685..3ce54a9eaf8fc65972197d7b4a4f5944a1025e0c 100644 (file)
@@ -1,8 +1,10 @@
+%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
@@ -24,6 +26,7 @@ URL:          http://drupal.org/
 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)
@@ -139,6 +142,15 @@ UWAGA: Ten sterownik nie by
 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
@@ -312,7 +324,7 @@ fi
 %{_appdir}/includes
 %{_appdir}/modules
 %{_appdir}/scripts
-%{_appdir}/themes
+%dir %{_appdir}/themes
 %{_appdir}/po
 %{_appdir}/update.php
 # symlinks
@@ -323,7 +335,7 @@ fi
 %{_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}
@@ -343,6 +355,11 @@ fi
 %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
This page took 0.073847 seconds and 4 git commands to generate.