Blob Blame History Raw
%define drupaldir %{_datadir}/drupal6
Name: drupal6-flexifilter
Version:  1.2
Release:  3%{?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: drupal6

%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
* Sun Mar 27 2011 Jon Ciesla <limb@jcomserv.net> - 1.2-3
- Dep and path fixes.

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Wed Oct 13 2010 Sven Lankes <sven@lank.es> - 1.2-1
- Initial packaging.