[drupal6-token/f14/master] Initial import (#655954).

Peter Borsa asrob at fedoraproject.org
Sat Jan 8 21:12:07 UTC 2011


commit a05dc5f716ebee533828fe7216901dbd0068ba61
Author: Peter Borsa <peter.borsa at gmail.com>
Date:   Sat Jan 8 22:08:09 2011 +0100

    Initial import (#655954).

 .gitignore                      |    1 +
 drupal6-token-fedora-README.txt |    6 ++++
 drupal6-token.spec              |   51 +++++++++++++++++++++++++++++++++++++++
 sources                         |    1 +
 4 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..22fdf11 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/token-6.x-1.15.tar.gz
diff --git a/drupal6-token-fedora-README.txt b/drupal6-token-fedora-README.txt
new file mode 100644
index 0000000..0e23730
--- /dev/null
+++ b/drupal6-token-fedora-README.txt
@@ -0,0 +1,6 @@
+After installation, you must enable this module from the drupal
+administration.
+
+If upgrading this module seperately from the core drupal package, 
+be sure to run the http://hostname/drupal/upgrade.php script after this
+rpm is upgraded.
diff --git a/drupal6-token.spec b/drupal6-token.spec
new file mode 100644
index 0000000..c7e33b9
--- /dev/null
+++ b/drupal6-token.spec
@@ -0,0 +1,51 @@
+%global drupaldir %{_datadir}/drupal
+Name: drupal6-token
+Version:  1.15
+Release:  2%{?dist}
+Summary:  Tokens are small bits of text that can be placed into larger documents
+
+Group: Applications/Publishing
+License: GPLv2
+URL: http://drupal.org/project/token
+Source0: http://ftp.drupal.org/files/projects/token-6.x-1.15.tar.gz
+Source1: %{name}-fedora-README.txt
+
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: drupal
+
+%description
+Tokens are small bits of text that can be placed into larger documents
+via simple placeholders.
+The Token module provides a central API for modules to use these tokens,
+and expose their own token values.
+
+%prep
+
+%setup -qn token
+
+%build
+
+chmod -x token.module
+cp %{SOURCE1} .
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{drupaldir}/modules/token
+cp -pr * %{buildroot}%{drupaldir}/modules/token
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE.txt %{name}-fedora-README.txt README.txt API.txt
+%exclude %{drupaldir}/modules/token/*.txt
+%{drupaldir}/modules/token
+
+%changelog
+* Sat Jan  8 2011 Peter Borsa <peter.borsa at gmail.com> - 1.15-2
+- Additional adjustments in the spec file
+
+* Sun Dec 19 2010 Peter Borsa <peter.borsa at gmail.com> - 1.15-1
+- Initial packaging.
diff --git a/sources b/sources
index e69de29..8cdc195 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+65749e2a67c3a8725be611ea75244873  token-6.x-1.15.tar.gz


More information about the scm-commits mailing list