[drupal6-auto_nodetitle/f14/master] Initial import (#664303).

Peter Borsa asrob at fedoraproject.org
Wed Jan 26 15:40:04 UTC 2011


commit e5a4a6bf31e7d6eefd9531f29bfe8c8015b6595d
Author: Peter Borsa <peter.borsa at gmail.com>
Date:   Wed Jan 26 16:33:19 2011 +0100

    Initial import (#664303).

 .gitignore                               |    1 +
 drupal6-auto_nodetitle-fedora-README.txt |    6 +++
 drupal6-auto_nodetitle.spec              |   63 ++++++++++++++++++++++++++++++
 sources                                  |    1 +
 4 files changed, 71 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fabb3b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/auto_nodetitle-6.x-1.2.tar.gz
diff --git a/drupal6-auto_nodetitle-fedora-README.txt b/drupal6-auto_nodetitle-fedora-README.txt
new file mode 100644
index 0000000..0e23730
--- /dev/null
+++ b/drupal6-auto_nodetitle-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-auto_nodetitle.spec b/drupal6-auto_nodetitle.spec
new file mode 100644
index 0000000..e9474f5
--- /dev/null
+++ b/drupal6-auto_nodetitle.spec
@@ -0,0 +1,63 @@
+%global drupaldir %{_datadir}/drupal
+Name:      drupal6-auto_nodetitle
+Version:   1.2
+Release:   4%{?dist}
+Summary:   A small and efficient module that allows hiding of the content title
+
+Group:     Applications/Publishing
+License:   GPLv2+
+URL:       http://drupal.org/project/auto_nodetitle
+Source0:   http://ftp.drupal.org/files/projects/auto_nodetitle-6.x-1.2.tar.gz
+Source1:   %{name}-fedora-README.txt
+
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:  drupal6
+
+%description
+This is a small and efficient module
+that allows hiding of the content title field in the form.
+To prevent empty content title fields one can configure it
+to generate the title by a given pattern.
+When the token module is installed
+it's possible to use various node data for the
+auto generated title - e.g. use the text of a CCK field (since 5.x).
+Advanced users can also provide some PHP code,
+that is used for automatically generating an appropriate title.
+
+%prep
+%setup -qn auto_nodetitle
+chmod -x auto_nodetitle.module
+chmod -x README.txt
+chmod -x auto_nodetitle.install
+cp -p %{SOURCE1} .
+
+%build
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{drupaldir}/modules/auto_nodetitle
+cp -pr * %{buildroot}%{drupaldir}/modules/auto_nodetitle
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE.txt %{name}-fedora-README.txt README.txt
+%exclude %{drupaldir}/modules/auto_nodetitle/*.txt
+%{drupaldir}/modules/auto_nodetitle
+
+%changelog
+* Wed Jan 26 2011 Peter Borsa <peter.borsa at gmail.com> - 1.2-4
+- Corrected alignment.
+- Chmod and cp lines are copied under prep section.
+
+* Fri Jan 14 2011 Peter Borsa <peter.borsa at gmail.com> - 1.2-3
+- The License field is changed.
+
+* Sat Jan 08 2011 Peter Borsa <peter.borsa at gmail.com> - 1.2-2
+- Additional review adjustments.
+
+* Sun Dec 19 2010 Peter Borsa <peter.borsa at gmail.com> - 1.2-1
+- Initial packaging.
diff --git a/sources b/sources
index e69de29..38357f5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2d64b4c8e5a23faec1a553919731d6a8  auto_nodetitle-6.x-1.2.tar.gz


More information about the scm-commits mailing list