[drupal6-wikitools] Initial import (#925984)

Shawn Iwinski siwinski at fedoraproject.org
Wed Apr 24 03:01:18 UTC 2013


commit 8e08b654432eee00c65b7ce3253bdd54d7e55d2e
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Tue Apr 23 23:01:16 2013 -0400

    Initial import (#925984)

 .gitignore                       |    1 +
 drupal6-wikitools-RPM-README.txt |    5 ++
 drupal6-wikitools.spec           |   84 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 4 files changed, 91 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..584e3e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/wikitools-6.x-1.3.tar.gz
diff --git a/drupal6-wikitools-RPM-README.txt b/drupal6-wikitools-RPM-README.txt
new file mode 100644
index 0000000..a098b41
--- /dev/null
+++ b/drupal6-wikitools-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-wikitools.spec b/drupal6-wikitools.spec
new file mode 100644
index 0000000..94ec435
--- /dev/null
+++ b/drupal6-wikitools.spec
@@ -0,0 +1,84 @@
+%{!?drupal6: %global drupal6 %{_datadir}/drupal6}
+%{!?drupal6_modules: %global drupal6_modules %{drupal6}/sites/all/modules}
+
+%global module_name wikitools
+
+Name:      drupal6-%{module_name}
+Version:   1.3
+Release:   1%{?dist}
+Summary:   Provides helper functionality to have wiki-like behavior
+
+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-pcre
+
+Provides:  drupal6(%{module_name}) = %{version}
+
+%description
+The wikitools module provides some settings to get a more wiki-like behavior.
+It aims to be lightweight; all features are optional, and it provides no
+database tables of its own.
+
+Some of the features of this module are:
+* Node Creation: Let users create new nodes when they type in a node name which
+  does not exist.
+* Node Search: Let users search for nodes when they type in a node name which
+  does not exist.
+* Automatic Redirect: If a title of a moved page is entered, redirect
+  automatically.
+* Unique Titles: Enforce that titles are unique over all wiki node types
+* Move Protection: Disallow change of node titles for users without administer
+  nodes permission.
+* Underscore as Space: Treat underscores as spaces when doing a node-lookup by
+  title.
+* Dash as Space: Treat dashes as spaces when doing a node-lookup by title.
+* Custom wiki 404 pages: pick and choose from links to create, links to search,
+  and an inline node add form.
+
+The module can be used in conjunction with the flexifilter module (of course),
+the freelinking module by hijacking freelinking links, or together with the
+pearwiki filter module for various wiki formats.
+
+This package provides the following Drupal modules:
+* %{module_name}
+
+
+%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.3-1
+- Initial package
diff --git a/sources b/sources
index e69de29..ec2fe63 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f6a1a99aca36bdfb690089ec9327aae7  wikitools-6.x-1.3.tar.gz


More information about the scm-commits mailing list