]> git.pld-linux.org Git - packages/ajax-spell.git/blobdiff - ajax-spell.spec
- BR: unzip
[packages/ajax-spell.git] / ajax-spell.spec
index 3c8b161ddeaa14c6247a519cd216b6f23424a78a..cf7ca1c4993969b29d9a3859f6bc319957f3da85 100644 (file)
@@ -2,19 +2,20 @@
 # - uses cpaint.sf.net (create package?)
 # - apache config or sth?
 Summary:       AJAX spell checker
-Summary(pl):   AJAX - narzêdzie do sprawdzania pisowni
+Summary(pl.UTF-8):     AJAX - narzędzie do sprawdzania pisowni
 Name:          ajax-spell
-Version:       2.2
-Release:       0.2
+Version:       2.8
+Release:       1
 Epoch:         0
 License:       BSD
 Group:         Applications/WWW
 Source0:       http://dl.sourceforge.net/ajax-spell/spell_checker-%{version}.zip
-# Source0-md5: 7574b0c1f6635301533f914be7caea2b
+# Source0-md5: 6ff8f7e585533d6166932608ea3541ea
 Patch0:                %{name}-fixes.patch
 URL:           http://www.broken-notebook.com/spell_checker/
-Requires:      php >= 3:4.3.0
+BuildRequires: unzip
 Requires:      pspell
+Requires:      webserver(php) >= 4.3.0
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -22,27 +23,27 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 AJAX spell checker for text areas using PHP, JavaScript, and pspell /
 aspell.
 
-%description -l pl
-AJAX to narzêdzie do sprawdzania pisowni dla pól tekstowych przy
-u¿yciu PHP, JavaScriptu oraz pspella/aspella.
+%description -l pl.UTF-8
+AJAX to narzędzie do sprawdzania pisowni dla pól tekstowych przy
+użyciu PHP, JavaScriptu oraz pspella/aspella.
 
 %prep
 %setup -q -c
 # undos the source
 find . -type f -print0 | xargs -0 sed -i -e 's,
 $,,'
-%patch0 -p1
+%patch0 -p0
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
 
-cp -a *.js *.php *.css $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -a spell_checker/js/*js spell_checker/*.php spell_checker/css/*.css $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Readme.txt
+%doc spell_checker/Readme.txt
 %{_datadir}/%{name}
This page took 0.072897 seconds and 4 git commands to generate.