[drupal7-boxes] Initial commit (#924897)

Shawn Iwinski siwinski at fedoraproject.org
Thu Jun 13 02:39:28 UTC 2013


commit c0e9dbd8fffe1a8aa4665e1efc8ea835cda2cc33
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Wed Jun 12 22:39:05 2013 -0400

    Initial commit (#924897)

 .gitignore                   |    1 +
 drupal7-boxes-RPM-README.txt |    5 +++
 drupal7-boxes.spec           |   76 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 4 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..35b6b15 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/boxes-7.x-1.1.tar.gz
diff --git a/drupal7-boxes-RPM-README.txt b/drupal7-boxes-RPM-README.txt
new file mode 100644
index 0000000..e15a506
--- /dev/null
+++ b/drupal7-boxes-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/drupal7/upgrade.php script after this RPM is upgraded.
diff --git a/drupal7-boxes.spec b/drupal7-boxes.spec
new file mode 100644
index 0000000..7ca2fa9
--- /dev/null
+++ b/drupal7-boxes.spec
@@ -0,0 +1,76 @@
+%{?drupal7_find_provides_and_requires}
+
+%global module_name boxes
+
+Name:          drupal7-%{module_name}
+Version:       1.1
+Release:       2%{?dist}
+Summary:       Provides exports for custom blocks and spaces integration
+
+Group:         Applications/Publishing
+License:       GPLv2+
+URL:           http://drupal.org/project/%{module_name}
+Source0:       http://ftp.drupal.org/files/projects/%{module_name}-7.x-%{version}.tar.gz
+Source1:       %{name}-RPM-README.txt
+
+BuildArch:     noarch
+BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: drupal7-rpmbuild >= 7.22-5
+
+Requires:      drupal7-ctools
+#Requires:      drupal7(ctools)
+# phpci
+Requires:      php-pcre
+Requires:      php-spl
+
+%description
+Boxes module is a re-implementation of the custom blocks (boxes) that the core
+block module provides. It is a proof of concept for what a re-worked block
+module could do.
+
+The module assumes that custom blocks are configuration, and not content. This
+means that it is a reasonable action to ask for all blocks at one time, this is
+in fact exactly what the core block module does.
+
+Boxes provides an inline interface for editing blocks, allowing you to change
+the contents of blocks without going to an admin page.
+
+Boxes provides exportables for its blocks via the (required) Chaos tools module.
+This allows modules to provide blocks in code that can be overwritten in the UI.
+
+This package provides the following Drupal modules:
+* %{module_name}
+
+
+%prep
+%setup -q -n %{module_name}
+cp -p %{SOURCE1} .
+
+
+%build
+# Empty build section, nothing to build
+
+
+%install
+rm -rf %{buildroot}
+mkdir -p -m 0755 %{buildroot}%{drupal7_modules}/%{module_name}
+cp -pr * %{buildroot}%{drupal7_modules}/%{module_name}/
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc *.txt
+%{drupal7_modules}/%{module_name}
+%exclude %{drupal7_modules}/%{module_name}/*.txt
+
+
+%changelog
+* Sun Jun 09 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.1-2
+- Updated for drupal7-rpmbuild 7.22-5
+
+* Fri Mar 22 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..cbbe5cb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8eb469eeeecbcdf95bacbd6f17428e1d  boxes-7.x-1.1.tar.gz


More information about the scm-commits mailing list