]> git.pld-linux.org Git - packages/ajax-spell.git/blob - ajax-spell.spec
- BR: unzip
[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.8
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:  6ff8f7e585533d6166932608ea3541ea
14 Patch0:         %{name}-fixes.patch
15 URL:            http://www.broken-notebook.com/spell_checker/
16 BuildRequires:  unzip
17 Requires:       pspell
18 Requires:       webserver(php) >= 4.3.0
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 AJAX spell checker for text areas using PHP, JavaScript, and pspell /
24 aspell.
25
26 %description -l pl.UTF-8
27 AJAX to narzędzie do sprawdzania pisowni dla pól tekstowych przy
28 użyciu PHP, JavaScriptu oraz pspella/aspella.
29
30 %prep
31 %setup -q -c
32 # undos the source
33 find . -type f -print0 | xargs -0 sed -i -e 's,
34 $,,'
35 %patch0 -p0
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
40
41 cp -a spell_checker/js/*js spell_checker/*.php spell_checker/css/*.css $RPM_BUILD_ROOT%{_datadir}/%{name}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc spell_checker/Readme.txt
49 %{_datadir}/%{name}
This page took 0.058009 seconds and 3 git commands to generate.