- new
[packages/drupal-mod-htmlcorrector.git] / drupal-mod-htmlcorrector.spec
CommitLineData
28fad9f4
ER
1%define modname htmlcorrector
2Summary: Drupal HTML corrector
3Name: drupal-mod-%{modname}
4Version: 4.6.0
5Release: 0.1
6License: GPL v2
7Group: Applications/WWW
8Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
9# Source0-md5: 076ec184722bc10ed233d87a3ce284a8
10URL: http://drupal.org/project/htmlcorrector
11# for %%banner
12#BuildRequires: rpmbuild(macros) >= 1.194
13Requires: drupal >= 4.6.0
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%define _drupaldir %{_datadir}/drupal
18%define _moddir %{_drupaldir}/modules
19
20%description
21This is a HTML correcting module. The filter scans the input, builds
22up a list of open tags and closes them when needed.
23
24Note that it does not validate the document according to the HTML
25specifications, but merely ensures that any tags are properly nested.
26
27%prep
28%setup -q -n %{modname}
29rm -f LICENSE.txt # GPL v2
30
31%install
32rm -rf $RPM_BUILD_ROOT
33install -d $RPM_BUILD_ROOT%{_moddir}
34
35install *.module $RPM_BUILD_ROOT%{_moddir}
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39
40%files
41%defattr(644,root,root,755)
42%doc *.txt
43%{_moddir}/*.module
This page took 0.031313 seconds and 4 git commands to generate.