]> git.pld-linux.org Git - packages/drupal-mod-htmlcorrector.git/blob - drupal-mod-htmlcorrector.spec
4d511cbcb576a346246f46302a74b021505f7a61
[packages/drupal-mod-htmlcorrector.git] / drupal-mod-htmlcorrector.spec
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}
5 Version:        4.6.0
6 Release:        0.1
7 License:        GPL v2
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
12 # for %%banner
13 #BuildRequires: rpmbuild(macros) >= 1.194
14 Requires:       drupal >= 4.6.0
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _drupaldir      %{_datadir}/drupal
19 %define         _moddir         %{_drupaldir}/modules
20
21 %description
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.
24
25 Note that it does not validate the document according to the HTML
26 specifications, but merely ensures that any tags are properly nested.
27
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.
31
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.
35
36 %prep
37 %setup -q -n %{modname}
38 rm -f LICENSE.txt # GPL v2
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_moddir}
43
44 install *.module $RPM_BUILD_ROOT%{_moddir}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc *.txt
52 %{_moddir}/*.module
This page took 0.103797 seconds and 4 git commands to generate.