[drupal6-devel] Initial import (#925989)
Shawn Iwinski
siwinski at fedoraproject.org
Mon Apr 22 16:15:22 UTC 2013
commit 075470ceb8fe40945c0e488378afc12cfb0a7a34
Author: Shawn Iwinski <siwinski at redhat.com>
Date: Mon Apr 22 12:15:13 2013 -0400
Initial import (#925989)
.gitignore | 1 +
drupal6-devel-RPM-README.txt | 5 ++
drupal6-devel.spec | 96 ++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 103 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e0fc5c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/devel-6.x-1.27.tar.gz
diff --git a/drupal6-devel-RPM-README.txt b/drupal6-devel-RPM-README.txt
new file mode 100644
index 0000000..a098b41
--- /dev/null
+++ b/drupal6-devel-RPM-README.txt
@@ -0,0 +1,5 @@
+After installation, you must enable this module from the Drupal administration
+page.
+
+If upgrading this module separately from the core Drupal package, be sure to
+run the http://hostname/drupal6/upgrade.php script after this RPM is upgraded.
diff --git a/drupal6-devel.spec b/drupal6-devel.spec
new file mode 100644
index 0000000..9abbd49
--- /dev/null
+++ b/drupal6-devel.spec
@@ -0,0 +1,96 @@
+%{!?drupal6: %global drupal6 %{_datadir}/drupal6}
+%{!?drupal6_modules: %global drupal6_modules %{drupal6}/sites/all/modules}
+
+%global module_name devel
+
+Name: drupal6-%{module_name}
+Version: 1.27
+Release: 1%{?dist}
+Summary: Various blocks, pages, and functions for developers
+
+Group: Applications/Publishing
+License: GPLv2
+URL: http://drupal.org/project/%{module_name}
+Source0: http://ftp.drupal.org/files/projects/%{module_name}-6.x-%{version}.tar.gz
+Source1: %{name}-RPM-README.txt
+
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires: drupal6
+#Requires: drupal6(menu)
+# phpci
+Requires: php-date
+Requires: php-pcre
+Requires: php-reflection
+Requires: php-session
+
+Provides: drupal6(%{module_name}) = %{version}
+Provides: drupal6(%{module_name}_generate) = %{version}
+Provides: drupal6(%{module_name}_node_access) = %{version}
+
+%description
+A suite of modules containing fun for module developers and themers.
+
+Devel
+* Helper functions for Drupal developers and inquisitive admins. This module can
+ print a summary of all database queries for each page request at the bottom of
+ each page. The summary includes how many times each query was executed on a
+ page (shouldn't run same query multiple times), and how long each query took
+ (short is good - use cache for complex queries).
+* Also a dprint_r($array) function is provided, which pretty prints arrays.
+ Useful during development. Similarly, a ddebug_backtrace() is offerred.
+* much more. See this helpful demo page
+ (http://ratatosk.net/drupal/tutorials/debugging-drupal.html).
+
+Generate content
+* Accelerate development of your site or module by quickly generating nodes,
+ comments, terms, users, and more.
+
+Devel Node Access (DNA)
+* View the node access entries for the node(s) that are shown on a page.
+ Essential for developers of node access modules and useful for site admins in
+ debugging problems with those modules.
+
+This package provides the following Drupal modules:
+* %{module_name}
+* %{module_name}_generate
+* %{module_name}_node_access
+
+
+%prep
+%setup -qn %{module_name}
+
+cp -p %{SOURCE1} .
+
+# Remove executable bits
+find krumo -type f | xargs chmod a-x
+
+# Fix wrong-script-end-of-line-encoding
+find krumo -type f | xargs sed -i 's/\r//'
+
+
+%build
+# Empty build section, nothing required
+
+
+%install
+rm -rf %{buildroot}
+mkdir -p -m 0755 %{buildroot}%{drupal6_modules}/%{module_name}
+cp -pr * %{buildroot}%{drupal6_modules}/%{module_name}/
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc *.txt
+%{drupal6_modules}/%{module_name}
+%exclude %{drupal6_modules}/%{module_name}/*.txt
+
+
+%changelog
+* Fri Mar 22 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.27-1
+- Initial package
diff --git a/sources b/sources
index e69de29..d7d6bc3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4270ae90a0d6cedd675bb5459f308ade devel-6.x-1.27.tar.gz
More information about the scm-commits
mailing list