[drupal6-flexifilter] - Initial packaging.

Sven Lankes slankes at fedoraproject.org
Thu Oct 21 21:19:13 UTC 2010


commit ab4ecc7cefb0d7e558f68cbb1d8011c56ec42d12
Author: Sven Lankes <sven at lank.es>
Date:   Thu Oct 21 23:19:10 2010 +0200

    - Initial packaging.

 .gitignore                            |    1 +
 drupal6-flexifilter-fedora-README.txt |    6 ++++
 drupal6-flexifilter.spec              |   53 +++++++++++++++++++++++++++++++++
 sources                               |    1 +
 4 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a13e983 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/flexifilter-6.x-1.2.tar.gz
diff --git a/drupal6-flexifilter-fedora-README.txt b/drupal6-flexifilter-fedora-README.txt
new file mode 100644
index 0000000..0e23730
--- /dev/null
+++ b/drupal6-flexifilter-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-flexifilter.spec b/drupal6-flexifilter.spec
new file mode 100644
index 0000000..ea881f6
--- /dev/null
+++ b/drupal6-flexifilter.spec
@@ -0,0 +1,53 @@
+%define drupaldir %{_datadir}/drupal
+Name: drupal6-flexifilter
+Version:  1.2
+Release:  1%{?dist}
+Summary:  Allows non-admins to create their own, configurable custom filters
+
+Group: Applications/Publishing
+License: GPLv2
+URL: http://drupal.org/project/flexifilter
+Source0: http://ftp.drupal.org/files/projects/flexifilter-6.x-1.2.tar.gz
+Source1: drupal6-flexifilter-fedora-README.txt
+
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: drupal >= 6.0
+
+%description
+Flexifilter is a module that allows non-admins to create their own,
+configurable custom filters. It is not limited to simple text
+replacement or regexp replacement; it includes logic such as if() and
+while() statements, and is easily extendable by other modules.
+
+%prep
+
+%setup -qn flexifilter
+
+%build
+
+cp %{SOURCE1} .
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{drupaldir}/modules/flexifilter
+cp -pr * %{buildroot}%{drupaldir}/modules/flexifilter
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE.txt README.txt drupal6-flexifilter-fedora-README.txt CHANGELOG.txt API.txt MAINTAINERS.txt INSTALL.txt
+%exclude %{drupaldir}/modules/flexifilter/CHANGELOG.txt
+%exclude %{drupaldir}/modules/flexifilter/MAINTAINERS.txt
+%exclude %{drupaldir}/modules/flexifilter/LICENSE.txt
+%exclude %{drupaldir}/modules/flexifilter/README.txt
+%exclude %{drupaldir}/modules/flexifilter/INSTALL.txt
+%exclude %{drupaldir}/modules/flexifilter/API.txt
+%exclude %{drupaldir}/modules/flexifilter/drupal6-flexifilter-fedora-README.txt
+%{drupaldir}/modules/flexifilter
+
+%changelog
+* Wed Oct 13 2010 Sven Lankes <sven at lank.es> - 1.2-1
+- Initial packaging.
diff --git a/sources b/sources
index e69de29..840588e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a8ae492abae07f22c01993605d10a736  flexifilter-6.x-1.2.tar.gz


More information about the scm-commits mailing list