]> git.pld-linux.org Git - packages/drupal-mod-htmlcorrector.git/blame - drupal-mod-htmlcorrector.spec
- converted to UTF-8
[packages/drupal-mod-htmlcorrector.git] / drupal-mod-htmlcorrector.spec
CommitLineData
28fad9f4
ER
1%define modname htmlcorrector
2Summary: Drupal HTML corrector
b8cf09ca 3Summary(pl.UTF-8): Moduł poprawiający HTML dla Drupala
28fad9f4
ER
4Name: drupal-mod-%{modname}
5Version: 4.6.0
6Release: 0.1
7License: GPL v2
8Group: Applications/WWW
9Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
10# Source0-md5: 076ec184722bc10ed233d87a3ce284a8
11URL: http://drupal.org/project/htmlcorrector
12# for %%banner
13#BuildRequires: rpmbuild(macros) >= 1.194
14Requires: drupal >= 4.6.0
15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%define _drupaldir %{_datadir}/drupal
19%define _moddir %{_drupaldir}/modules
20
21%description
22This is a HTML correcting module. The filter scans the input, builds
23up a list of open tags and closes them when needed.
24
25Note that it does not validate the document according to the HTML
26specifications, but merely ensures that any tags are properly nested.
27
b8cf09ca
JR
28%description -l pl.UTF-8
29To jest moduł poprawiający HTML. Filtr przeszukuje wejście, tworzy
30listę otwartych znaczników i zamyka je tam, gdzie trzeba.
0d0c9722 31
b8cf09ca
JR
32Należy zauważyć, że ten moduł nie sprawdza poprawności dokumentu
33względem specyfikacji HTML, a jedynie upewnia się, że wszystkie
34znaczniki są poprawnie zagnieżdżone.
0d0c9722 35
28fad9f4
ER
36%prep
37%setup -q -n %{modname}
38rm -f LICENSE.txt # GPL v2
39
40%install
41rm -rf $RPM_BUILD_ROOT
42install -d $RPM_BUILD_ROOT%{_moddir}
43
44install *.module $RPM_BUILD_ROOT%{_moddir}
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%doc *.txt
52%{_moddir}/*.module
This page took 0.065534 seconds and 4 git commands to generate.