[drupal6-rules] Initial import (#669509).

Peter Borsa asrob at fedoraproject.org
Wed Jan 26 16:50:52 UTC 2011


commit 7b372b158e0bee3c34b19cbc86cc1e7f36b4bdbb
Author: Peter Borsa <peter.borsa at gmail.com>
Date:   Wed Jan 26 17:44:34 2011 +0100

    Initial import (#669509).

 .gitignore                      |    1 +
 drupal6-rules-fedora-README.txt |    6 ++++
 drupal6-rules.spec              |   53 +++++++++++++++++++++++++++++++++++++++
 sources                         |    1 +
 4 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b3ac876 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/rules-6.x-1.4.tar.gz
diff --git a/drupal6-rules-fedora-README.txt b/drupal6-rules-fedora-README.txt
new file mode 100644
index 0000000..0e23730
--- /dev/null
+++ b/drupal6-rules-fedora-README.txt
@@ -0,0 +1,6 @@
+After installation, you must enable this module from the drupal
+administration.
+
+If upgrading this module seperately from the core drupal package, 
+be sure to run the http://hostname/drupal/upgrade.php script after this
+rpm is upgraded.
diff --git a/drupal6-rules.spec b/drupal6-rules.spec
new file mode 100644
index 0000000..0df164b
--- /dev/null
+++ b/drupal6-rules.spec
@@ -0,0 +1,53 @@
+%global drupaldir %{_datadir}/drupal6
+Name:      drupal6-rules
+Version:   1.4
+Release:   3%{?dist}
+Summary:   It allows site administrators to define conditionally executed actions
+
+Group:     Applications/Publishing
+License:   GPLv2+
+URL:       http://drupal.org/project/rules
+Source0:   http://ftp.drupal.org/files/projects/rules-6.x-1.4.tar.gz
+Source1:   %{name}-fedora-README.txt
+
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:  drupal6, php >= 5.1
+
+%description
+The rules modules allows site administrators to define conditionally executed
+actions based on occurring events (known as reactive or ECA rules).
+It's a replacement with more features for the trigger module in core
+and the successor of the Drupal 5 workflow-ng module.
+
+%prep
+%setup -qn rules
+chmod -x rules/rules.module
+cp -p %{SOURCE1} .
+
+%build
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{drupaldir}/modules/rules
+cp -pr * %{buildroot}%{drupaldir}/modules/rules
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE.txt %{name}-fedora-README.txt README.txt UPGRADE.txt
+%exclude %{drupaldir}/modules/rules/*.txt
+%{drupaldir}/modules/rules
+
+%changelog
+* Wed Jan 26 2011 Peter Borsa <peter.borsa at gmail.com> - 1.4-3
+- Corrected alignment.
+- Chmod and cp lines are copied under prep section.
+
+* Wed Jan 19 2010 Peter Borsa <peter.borsa at gmail.com> - 1.4-2
+- Fixed License field.
+
+* Thu Jan 13 2010 Peter Borsa <peter.borsa at gmail.com> - 1.4-1
+- Initial packaging.
diff --git a/sources b/sources
index e69de29..d8d5157 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+00d7543f88421950f5b123bf09a7008c  rules-6.x-1.4.tar.gz


More information about the scm-commits mailing list