Package php5-pspell: Specfile
%define php5_extension pspell Name: php5-%php5_extension Version: %php5_version Release: %php5_release Summary: Pspell php-extension provides spellchecking functions Group: System/Servers License: PHP Licence Url: http://www.php.net/ Packager: Sergey Kurakin <kurakin@altlinux.org> Source1: php-%php5_extension.ini Source2: php-%php5_extension-params.sh BuildRequires(pre): rpm-build-php5 BuildPreReq: php5-devel = %php5_version # Automatically added by buildreq on Sat Jan 16 2010 BuildRequires: libaspell-devel %description Pspell php5 extension uses aspell and allow you to check the spelling of a word and offer suggestions. %prep %setup -T -c cp -pr %php5_extsrcdir/%php5_extension/* . %build phpize BUILD_HAVE=`echo %php5_extension | tr '[:lower:]-' '[:upper:]_'` %add_optflags -fPIC -L%_libdir export LDFLAGS=-lphp-%_php5_version %configure \ --with-%php5_extension=%_usr %php5_make %install %php5_make_install install -D -m 644 %SOURCE1 %buildroot/%php5_extconf/%php5_extension/config install -D -m 644 %SOURCE2 %buildroot/%php5_extconf/%php5_extension/params %files %php5_extconf/%php5_extension %php5_extdir/* %doc CREDITS README %post %php5_extension_postin %preun %php5_extension_preun %changelog * Tue Aug 10 2010 Dmitriy Kulik <lnkvisitor@altlinux.org> 5.2.14.20100721-alt0.M51.1 - Build for branch 5.1 * Wed Aug 04 2010 Anton Farygin <rider@altlinux.ru> 5.2.14.20100721-alt1 - Rebuild with php5-5.2.14.20100721-alt1 * Tue Mar 09 2010 Anton Farygin <rider@altlinux.ru> 5.2.13.20100205-alt1 - Rebuild with php5-5.2.13.20100205-alt1 * Sat Feb 20 2010 Sergey Kurakin <kurakin@altlinux.org> 5.2.12.20091216-alt5 - Rebuild with php5-5.2.12.20091216-alt5 * Mon Feb 01 2010 Anton Farygin <rider@altlinux.ru> 5.2.12.20091216-alt4 - Rebuild with php5-5.2.12.20091216-alt4 * Wed Jan 27 2010 Anton Farygin <rider@altlinux.ru> 5.2.12.20091216-alt1 - Rebuild with new php (5.2.12.20091216-alt1) * Sat Jan 16 2010 Sergey Kurakin <kurakin@altlinux.org> 5.2.11.20090722-alt1 - initial build for AltLinux Sisyphus |