]>
Commit | Line | Data |
---|---|---|
50f30039 AG |
1 | %define _status beta |
2 | %define _pearname Net_URL_Mapper | |
11124dc8 | 3 | Summary: %{_pearname} - a simple and flexible way to build nice URLs for web applications |
8862eb2e | 4 | Summary(pl.UTF-8): %{_pearname} - prosty i elastyczny sposób tworzenia ładnie wyglądających URL-i dla aplikacji WWW |
50f30039 | 5 | Name: php-pear-%{_pearname} |
028219f2 ER |
6 | Version: 0.9.1 |
7 | Release: 1 | |
50f30039 AG |
8 | License: New BSD License |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
028219f2 | 11 | # Source0-md5: 0d27b8d5a6a3e38b310807f2fcee996f |
50f30039 | 12 | URL: http://pear.php.net/package/Net_URL_Mapper/ |
0fb0722f | 13 | BuildRequires: php-pear-PEAR >= 1:1.4.3 |
50f30039 | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
e5550e8d | 15 | BuildRequires: rpmbuild(macros) >= 1.300 |
50f30039 AG |
16 | Requires: php-pear |
17 | Requires: php-pear-Net_URL >= 1.0.14 | |
5222fcd0 | 18 | Requires: php-pear-PEAR-core >= 1:1.4.3 |
028219f2 | 19 | Obsoletes: php-pear-Net_URL_Mapper-tests |
50f30039 AG |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Net_URL_Mapper provides a simple and flexible way to build nice URLs | |
25 | for your web applications. | |
26 | ||
27 | The URL syntax is similar to what can be found in Ruby on Rails or | |
28 | Python Routes module and as such, this package can be compared to what | |
29 | they call a router. | |
30 | ||
31 | Still, Net_URL_Mapper does not perform the dispatching like these | |
32 | frameworks and therefore can be used with your own router. | |
33 | ||
34 | In PEAR status of this package is: %{_status}. | |
35 | ||
4151733f | 36 | %description -l pl.UTF-8 |
0fb0722f ER |
37 | Net_URL_Mapper udostępnia prosty i elastyczny sposób tworzenia ładnie |
38 | wyglądających adresów URL dla aplikacji WWW. | |
50f30039 | 39 | |
11124dc8 | 40 | Składnia URL-a jest zbliżona do tej jaką można spotkać w Ruby on Rails |
50f30039 AG |
41 | czy module Routes języka Python i w związku z tym pakiet ten może być |
42 | porównany z tym co nazywane jest tam routerem. | |
43 | ||
11124dc8 JB |
44 | Mimo to, w odróżnieniu od wspomnianych frameworków, Net_URL_Mapper nie |
45 | zajmuje się przekazywaniem zapytań i w związku z tym może być użyty | |
46 | wraz z osobnym routerem. | |
50f30039 AG |
47 | |
48 | Ta klasa ma w PEAR status: %{_status}. | |
49 | ||
50f30039 AG |
50 | %prep |
51 | %pear_package_setup | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
56 | %pear_package_install | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
63 | %doc install.log | |
64 | %{php_pear_dir}/.registry/*.reg | |
45134a96 | 65 | %dir %{php_pear_dir}/Net/URL |
50f30039 AG |
66 | %{php_pear_dir}/Net/URL/Mapper |
67 | %{php_pear_dir}/Net/URL/Mapper.php | |
68 | ||
028219f2 | 69 | %{php_pear_dir}/data/%{_pearname} |