1 %define modname htmlcorrector
2 Summary: Drupal HTML corrector
3 Summary(pl.UTF-8): 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.
28 %description -l pl.UTF-8
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)