]> git.pld-linux.org Git - packages/ajax-spell.git/blob - ajax-spell.spec
f1741b8be0f47c427fa6f6ac5dd07d87af9a4a6c
[packages/ajax-spell.git] / ajax-spell.spec
1 # TODO
2 # - uses cpaint.sf.net (create package?)
3 # - apache config or sth?
4 Summary:        AJAX spell checker
5 Summary(pl.UTF-8):      AJAX - narzędzie do sprawdzania pisowni
6 Name:           ajax-spell
7 Version:        2.2
8 Release:        1
9 Epoch:          0
10 License:        BSD
11 Group:          Applications/WWW
12 Source0:        http://dl.sourceforge.net/ajax-spell/spell_checker-%{version}.zip
13 # Source0-md5:  7574b0c1f6635301533f914be7caea2b
14 Patch0:         %{name}-fixes.patch
15 URL:            http://www.broken-notebook.com/spell_checker/
16 Requires:       pspell
17 Requires:       webserver(php) >= 4.3.0
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 AJAX spell checker for text areas using PHP, JavaScript, and pspell /
23 aspell.
24
25 %description -l pl.UTF-8
26 AJAX to narzędzie do sprawdzania pisowni dla pól tekstowych przy
27 użyciu PHP, JavaScriptu oraz pspella/aspella.
28
29 %prep
30 %setup -q -c
31 # undos the source
32 find . -type f -print0 | xargs -0 sed -i -e 's,
33 $,,'
34 %patch0 -p1
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
39
40 cp -a *.js *.php *.css $RPM_BUILD_ROOT%{_datadir}/%{name}
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc Readme.txt
48 %{_datadir}/%{name}
This page took 0.03302 seconds and 2 git commands to generate.