1 %define modname htmlcorrector
2 Summary: Drupal HTML corrector
3 Summary(pl): Modu³ poprawiaj±cy HTML dla Drupala
4 Name: drupal-mod-%{modname}
8 Group: Applications/WWW
9 Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
10 # Source0-md5: 076ec184722bc10ed233d87a3ce284a8
11 URL: http://drupal.org/project/htmlcorrector
13 #BuildRequires: rpmbuild(macros) >= 1.194
14 Requires: drupal >= 4.6.0
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _drupaldir %{_datadir}/drupal
19 %define _moddir %{_drupaldir}/modules
22 This is a HTML correcting module. The filter scans the input, builds
23 up a list of open tags and closes them when needed.
25 Note that it does not validate the document according to the HTML
26 specifications, but merely ensures that any tags are properly nested.
29 To jest modu³ poprawiaj±cy HTML. Filtr przeszukuje wej¶cie, tworzy
30 listê otwartych znaczników i zamyka je tam, gdzie trzeba.
32 Nale¿y zauwa¿yæ, ¿e ten modu³ nie sprawdza poprawno¶ci dokumentu
33 wzglêdem specyfikacji HTML, a jedynie upewnia siê, ¿e wszystkie
34 znaczniki s± poprawnie zagnie¿d¿one.
37 %setup -q -n %{modname}
38 rm -f LICENSE.txt # GPL v2
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_moddir}
44 install *.module $RPM_BUILD_ROOT%{_moddir}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)