[drupal6-pathauto] Initial import (#656190).
Peter Borsa
asrob at fedoraproject.org
Sat Jan 29 06:39:36 UTC 2011
commit 71a95b9bc3aa3799064337eb2648ff1aff83e980
Author: Peter Borsa <peter.borsa at gmail.com>
Date: Sat Jan 29 07:31:16 2011 +0100
Initial import (#656190).
.gitignore | 1 +
drupal6-pathauto-fedora-README.txt | 6 ++++
drupal6-pathauto.spec | 55 ++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f2f23fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pathauto-6.x-1.5.tar.gz
diff --git a/drupal6-pathauto-fedora-README.txt b/drupal6-pathauto-fedora-README.txt
new file mode 100644
index 0000000..0e23730
--- /dev/null
+++ b/drupal6-pathauto-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-pathauto.spec b/drupal6-pathauto.spec
new file mode 100644
index 0000000..dc2e839
--- /dev/null
+++ b/drupal6-pathauto.spec
@@ -0,0 +1,55 @@
+%global drupaldir %{_datadir}/drupal6
+Name: drupal6-pathauto
+Version: 1.5
+Release: 2%{?dist}
+Summary: Automatically generates path aliases
+
+Group: Applications/Publishing
+License: GPLv2+
+URL: http://drupal.org/project/pathauto
+Source0: http://ftp.drupal.org/files/projects/pathauto-6.x-1.5.tar.gz
+Source1: %{name}-fedora-README.txt
+
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: drupal6, drupal6-token
+
+%description
+The Pathauto module automatically generates path aliases
+for various kinds of content (nodes, categories, users)
+without requiring the user to manually specify the path alias.
+
+%prep
+%setup -qn pathauto
+chmod -x pathauto.module
+cp -p %{SOURCE1} .
+
+%build
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{drupaldir}/modules/pathauto
+cp -pr * %{buildroot}%{drupaldir}/modules/pathauto
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE.txt %{name}-fedora-README.txt README.txt API.txt INSTALL.txt
+%exclude %{drupaldir}/modules/pathauto/LICENSE.txt
+%exclude %{drupaldir}/modules/pathauto/drupal6-pathauto-fedora-README.txt
+%exclude %{drupaldir}/modules/pathauto/README.txt
+%exclude %{drupaldir}/modules/pathauto/API.txt
+%exclude %{drupaldir}/modules/pathauto/INSTALL.txt
+%{drupaldir}/modules/pathauto
+
+%changelog
+* Mon Jan 24 2011 Peter Borsa <peter.borsa at gmail.com> - 1.5-2
+- Summary became talkative and shorten.
+- Changed License to GPLv2+.
+- Chmod and cp are copied under prep section.
+- Fixed exclude lines.
+
+* Thu Nov 23 2010 Peter Borsa <peter.borsa at gmail.com> - 1.5-1
+- Initial packaging.
diff --git a/sources b/sources
index e69de29..a4c0635 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bc18f8e88b71c55b130cc21fcfc4ce0e pathauto-6.x-1.5.tar.gz
More information about the scm-commits
mailing list