1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
%define pear_name DbUnit Name: pear-DbUnit Version: 1.0.0 Release: alt1 Summary: DbUnit port for PHP/PHPUnit License: BSD License Group: Development/Other Url: http://pear.php.net/package/%pear_name Packager: Vitaly Lipatov <lav@altlinux.ru> Source: http://pear.phpunit.de/get/%pear_name-%version.tar BuildArchitectures: noarch Requires: pear-core BuildRequires: pear-core rpm-build-pear %description DbUnit port for PHP/PHPUnit %prep %setup -c -n %pear_name-%version # Hack against Unknown channel "pear.phpunit.de" %__subst "s|pear.phpunit.de|pear.php.net|g" package.xml %build %pear_build %install %pear_install_std %post %register_pear_module %preun %unregister_pear_module %files %doc LICENSE CHANGELOG %_bindir/dbunit %pear_dir/PHPUnit/ #%pear_testdir/MDB2/ #%pear_datadir/MDB2/LICENSE #%pear_dir/MDB2.php %pear_docdir/%pear_name/ %pear_xmldir/%pear_name.xml %changelog * Mon Dec 20 2010 Vitaly Lipatov <lav@altlinux.ru> 1.0.0-alt1 - initial build for ALT Linux Sisyphus