1 %define modname htmlcorrector
2 Summary: Drupal HTML corrector
3 Name: drupal-mod-%{modname}
7 Group: Applications/WWW
8 Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
9 # Source0-md5: 076ec184722bc10ed233d87a3ce284a8
10 URL: http://drupal.org/project/htmlcorrector
12 #BuildRequires: rpmbuild(macros) >= 1.194
13 Requires: drupal >= 4.6.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _drupaldir %{_datadir}/drupal
18 %define _moddir %{_drupaldir}/modules
21 This is a HTML correcting module. The filter scans the input, builds
22 up a list of open tags and closes them when needed.
24 Note that it does not validate the document according to the HTML
25 specifications, but merely ensures that any tags are properly nested.
28 %setup -q -n %{modname}
29 rm -f LICENSE.txt # GPL v2
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_moddir}
35 install *.module $RPM_BUILD_ROOT%{_moddir}
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)