[drupal6-userpoints] Initial import (#925975)

Shawn Iwinski siwinski at fedoraproject.org
Wed Apr 24 02:53:28 UTC 2013


commit 69518dfb5c470ab1ca9f92b2b76f65028ab75c16
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Tue Apr 23 22:53:26 2013 -0400

    Initial import (#925975)

 .gitignore                        |    1 +
 drupal6-userpoints-RPM-README.txt |    5 ++
 drupal6-userpoints.spec           |   81 +++++++++++++++++++++++++++++++++++++
 sources                           |    1 +
 4 files changed, 88 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a381447 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/userpoints-6.x-1.2.tar.gz
diff --git a/drupal6-userpoints-RPM-README.txt b/drupal6-userpoints-RPM-README.txt
new file mode 100644
index 0000000..a098b41
--- /dev/null
+++ b/drupal6-userpoints-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-userpoints.spec b/drupal6-userpoints.spec
new file mode 100644
index 0000000..42b6900
--- /dev/null
+++ b/drupal6-userpoints.spec
@@ -0,0 +1,81 @@
+%{!?drupal6: %global drupal6 %{_datadir}/drupal6}
+%{!?drupal6_modules: %global drupal6_modules %{drupal6}/sites/all/modules}
+
+%global module_name userpoints
+
+Name:      drupal6-%{module_name}
+Version:   1.2
+Release:   1%{?dist}
+Summary:   Provides an API for users to gain or lose points
+
+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-rules
+#Requires:  drupal6(rules)
+# phpci
+Requires:  php-date
+
+Provides:  drupal6(%{module_name}) = %{version}
+Provides:  drupal6(%{module_name}_rules) = %{version}
+Provides:  drupal6(%{module_name}_service) = %{version}
+
+%description
+This module provides an API for users to gain or lose points for performing
+certain actions on your site.
+
+In conjunction with other modules, such as the Userpoints Nodes and Comments
+(http://drupal.org/project/userpoints_nc) users can accumulate points for
+actions such as posting nodes, commenting or moderation duties.
+
+Use one of the many contributed modules
+(http://drupal.org/project/userpoints_contrib) to extend the functionality of
+the module to include point accumulation on page views or votes, upgrade roles
+based on point balance, or purchase goods from your store.
+
+This module is useful in providing an incentive for users to participate in
+the site, and be more active.
+
+This package provides the following Drupal modules:
+* %{module_name}
+* %{module_name}_rules
+* %{module_name}_service (NOTE: Requires manual install of the services 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> 1.2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..0ae4c02 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7566436eda44bf8c7a1bf6892449bfee  userpoints-6.x-1.2.tar.gz


More information about the scm-commits mailing list