[drupal6-authfas] Import SRPM (#680423)

Paul W. Frields pfrields at fedoraproject.org
Wed Mar 9 01:42:44 UTC 2011


commit 54a7a95969f1ddbebcc2e5dd1aebbbe62c00f43d
Author: Paul W. Frields <stickster at gmail.com>
Date:   Tue Mar 8 20:42:25 2011 -0500

    Import SRPM (#680423)

 .gitignore                        |    1 +
 drupal6-authfas-fedora-README.txt |    6 ++++
 drupal6-authfas.spec              |   56 +++++++++++++++++++++++++++++++++++++
 sources                           |    1 +
 4 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8645bf5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/authfas-0.2.1.tar.bz2
diff --git a/drupal6-authfas-fedora-README.txt b/drupal6-authfas-fedora-README.txt
new file mode 100644
index 0000000..c277d1c
--- /dev/null
+++ b/drupal6-authfas-fedora-README.txt
@@ -0,0 +1,6 @@
+After installation, you must enable this module on the drupal
+administration modules page.
+
+If you upgrade this module seperately from the core drupal package,
+run the http://hostname/drupal/upgrade.php script after this package
+is upgraded.
diff --git a/drupal6-authfas.spec b/drupal6-authfas.spec
new file mode 100644
index 0000000..827ca59
--- /dev/null
+++ b/drupal6-authfas.spec
@@ -0,0 +1,56 @@
+%global drupaldir %{_datadir}/drupal6
+%global modname authfas
+
+Name:    drupal6-%{modname}
+Version: 0.2.1
+Release: 1%{?dist}
+Summary: Drupal 6 module for authentication via a Fedora Account System
+
+Group:   Applications/Publishing
+License: GPLv2+
+URL:     http://fedorahosted.org/drupal6-authfas
+Source0: https://fedorahosted.org/released/%{name}/%{modname}-%{version}.tar.bz2
+Source1: drupal6-authfas-fedora-README.txt
+
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:  drupal6 >= 6.0
+
+
+%description
+This module allows Drupal 6 users to be authenticated via an instance
+of the Fedora Account System (FAS).  Each Drupal role can also be
+mapped to a group in FAS, and group memberships are updated for a user
+before the session starts.
+
+
+%prep
+%setup -qn %{modname}
+
+
+%build
+cp %{SOURCE1} .
+
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{drupaldir}/modules/%{modname}
+cp -pr * %{buildroot}%{drupaldir}/modules/%{modname}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE.txt %{name}-fedora-README.txt
+%exclude %{drupaldir}/modules/%{modname}/LICENSE.txt
+%exclude %{drupaldir}/modules/%{modname}/%{name}-fedora-README.txt
+%{drupaldir}/modules/%{modname}
+
+
+%changelog
+* Fri Feb 25 2011 Paul W. Frields <stickster at gmail.com> - 0.2.1-1
+- Initial RPM packaging
+
diff --git a/sources b/sources
index e69de29..cafe298 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6731242c206a36a2f3014638dc983d71  authfas-0.2.1.tar.bz2


More information about the scm-commits mailing list