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
%define pear_name Net_URL2 Name: pear-%pear_name Version: 2.2.1 Release: alt1 Summary: Class for parsing and handling URL License: BSD Group: Development/Other Url: http://pear.php.net/package/%pear_name Source: http://pear.php.net/get/%pear_name-%version.tar BuildArch: noarch Requires: pear-core BuildRequires: pear-core rpm-build-pear %description Provides parsing of URLs into their constituent parts (scheme, host, path etc.), URL generation, and resolving of relative URLs. %prep %setup -c -n %pear_name-%version %build %pear_build %install %pear_install_std %post %register_pear_module %preun %unregister_pear_module %files %pear_dir/Net/ %pear_xmldir/%pear_name.xml %pear_docdir/%pear_name/ %pear_testdir/%pear_name/ %changelog * Thu Jul 28 2016 Vitaly Lipatov <lav@altlinux.ru> 2.2.1-alt1 - new version 2.2.1 (with rpmrb script) * Sat Oct 23 2010 Vitaly Lipatov <lav@altlinux.ru> 0.3.1-alt1 - initial build for ALT Linux Sisyphus