[drupal6-user_badges] Initial import (#925974)

Shawn Iwinski siwinski at fedoraproject.org
Wed Apr 24 02:51:59 UTC 2013


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

    Initial import (#925974)

 .gitignore                         |    1 +
 drupal6-user_badges-RPM-README.txt |    5 ++
 drupal6-user_badges.spec           |   83 ++++++++++++++++++++++++++++++++++++
 sources                            |    1 +
 4 files changed, 90 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..15bc727 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/user_badges-6.x-1.6.tar.gz
diff --git a/drupal6-user_badges-RPM-README.txt b/drupal6-user_badges-RPM-README.txt
new file mode 100644
index 0000000..a098b41
--- /dev/null
+++ b/drupal6-user_badges-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-user_badges.spec b/drupal6-user_badges.spec
new file mode 100644
index 0000000..59f2bd9
--- /dev/null
+++ b/drupal6-user_badges.spec
@@ -0,0 +1,83 @@
+%{!?drupal6: %global drupal6 %{_datadir}/drupal6}
+%{!?drupal6_modules: %global drupal6_modules %{drupal6}/sites/all/modules}
+
+%global module_name user_badges
+
+Name:      drupal6-%{module_name}
+Version:   1.6
+Release:   1%{?dist}
+Summary:   Enables assignment of graphical badges to users and roles
+
+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(upload)
+#Requires:  drupal6(ecommerce)
+# phpci
+Requires:  php-pcre
+
+Provides:  drupal6(%{module_name}) = %{version}
+Provides:  drupal6(%{module_name}_products) = %{version}
+
+%description
+The User Badges module allows each user to be assigned 'badges' which can be
+displayed as a series of iconic images.
+
+A common use will probably be to display the badges along with the user's
+information within forums, comments, or node postings. These badges can be
+assigned individually by the administrator or attached to a role so that,
+for example, all users in the 'admin' role will show the 'Administrator'
+badge which could display as a graphic letter 'A'.
+
+Any badge can optionally be associated to a URL that links the image to a
+description page. If a user has more than one badge, there is also a mechanism
+that allows administrators to only show the highest-level badge. You can also
+set a special badge for blocked users and even override their role badges with
+this one.
+
+User Badges can be used as a way to establish trust (in the same way as eBay's
+star graphics), or as an incentive for users. They can also be a quick way to
+identify moderators, administrators, or anyone with a given role.
+
+This package provides the following Drupal modules:
+* %{module_name}
+* %{module_name}_products (NOTE: Requires manual install of the ecommerce 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.6-1
+- Initial package
diff --git a/sources b/sources
index e69de29..ab95fa2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+10778129757d1ac9871093508b128e84  user_badges-6.x-1.6.tar.gz


More information about the scm-commits mailing list