[drupal6-messaging] Initial import (#925991)

Shawn Iwinski siwinski at fedoraproject.org
Wed Apr 24 02:46:12 UTC 2013


commit df3509af8d0bfd77ff7c6db88c12eda104228ccc
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Tue Apr 23 22:45:57 2013 -0400

    Initial import (#925991)

 .gitignore                       |    1 +
 drupal6-messaging-RPM-README.txt |    5 ++
 drupal6-messaging.spec           |   88 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 4 files changed, 95 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b44cf4f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/messaging-6.x-2.4.tar.gz
diff --git a/drupal6-messaging-RPM-README.txt b/drupal6-messaging-RPM-README.txt
new file mode 100644
index 0000000..a098b41
--- /dev/null
+++ b/drupal6-messaging-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-messaging.spec b/drupal6-messaging.spec
new file mode 100644
index 0000000..49b4ba1
--- /dev/null
+++ b/drupal6-messaging.spec
@@ -0,0 +1,88 @@
+%{!?drupal6: %global drupal6 %{_datadir}/drupal6}
+%{!?drupal6_modules: %global drupal6_modules %{drupal6}/sites/all/modules}
+
+%global module_name messaging
+
+Name:      drupal6-%{module_name}
+Version:   2.4
+Release:   1%{?dist}
+Summary:   Messaging Framework to allow message sending in an independent way
+
+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
+# phpci
+Requires:  php-date
+Requires:  php-ereg
+Requires:  php-pcre
+
+Provides:  drupal6(%{module_name}) = %{version}
+Provides:  drupal6(%{module_name}_debug) = %{version}
+Provides:  drupal6(%{module_name}_mail) = %{version}
+Provides:  drupal6(%{module_name}_mime_mail) = %{version}
+Provides:  drupal6(%{module_name}_phpmailer) = %{version}
+Provides:  drupal6(%{module_name}_privatemsg) = %{version}
+Provides:  drupal6(%{module_name}_simple) = %{version}
+Provides:  drupal6(%{module_name}_sms) = %{version}
+Provides:  drupal6(%{module_name}_twitter) = %{version}
+Provides:  drupal6(%{module_name}_xmpp) = %{version}
+
+%description
+This is a Messaging Framework to allow message sending in a channel independent
+way. It will provide a common API for message composition and sending while
+allowing plug-ins for multiple messaging methods.
+
+When using this framework, you won't send e-mails to users anymore. You will
+send them 'messages' and they will decide how they want to get them delivered,
+that may be by mail, IM, SMS, depending on user's preferences.
+
+This package provides the following Drupal modules:
+* %{module_name}
+* %{module_name}_debug
+* %{module_name}_mail
+* %{module_name}_mime_mail (NOTE: Requires manual install of the mimemail module)
+* %{module_name}_phpmailer
+* %{module_name}_privatemsg (NOTE: Requires manual install of the privatemsg module)
+* %{module_name}_simple
+* %{module_name}_sms (NOTE: Requires manual install of the smsframework module)
+* %{module_name}_twitter (NOTE: Requires manual install of the twitter module)
+* %{module_name}_xmpp (NOTE: Requires manual install of the xmppframework module)
+
+
+%prep
+%setup -qn %{module_name}
+
+cp -p %{SOURCE1} .
+
+
+%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> 2.4-1
+- Initial package
diff --git a/sources b/sources
index e69de29..fd8c9f4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+30996e27f74e2f3cf8d7233cec8bccc9  messaging-6.x-2.4.tar.gz


More information about the scm-commits mailing list