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