From 28fad9f40fbf4c4587571b72e12335be11ea6c2c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 10 Oct 2005 10:01:17 +0000 Subject: [PATCH] - new Changed files: drupal-mod-htmlcorrector.spec -> 1.1 --- drupal-mod-htmlcorrector.spec | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 drupal-mod-htmlcorrector.spec diff --git a/drupal-mod-htmlcorrector.spec b/drupal-mod-htmlcorrector.spec new file mode 100644 index 0000000..574df03 --- /dev/null +++ b/drupal-mod-htmlcorrector.spec @@ -0,0 +1,43 @@ +%define modname htmlcorrector +Summary: Drupal HTML corrector +Name: drupal-mod-%{modname} +Version: 4.6.0 +Release: 0.1 +License: GPL v2 +Group: Applications/WWW +Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz +# Source0-md5: 076ec184722bc10ed233d87a3ce284a8 +URL: http://drupal.org/project/htmlcorrector +# for %%banner +#BuildRequires: rpmbuild(macros) >= 1.194 +Requires: drupal >= 4.6.0 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _drupaldir %{_datadir}/drupal +%define _moddir %{_drupaldir}/modules + +%description +This is a HTML correcting module. The filter scans the input, builds +up a list of open tags and closes them when needed. + +Note that it does not validate the document according to the HTML +specifications, but merely ensures that any tags are properly nested. + +%prep +%setup -q -n %{modname} +rm -f LICENSE.txt # GPL v2 + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_moddir} + +install *.module $RPM_BUILD_ROOT%{_moddir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc *.txt +%{_moddir}/*.module -- 2.43.0