]> git.pld-linux.org Git - packages/php-pear-Net_URL_Mapper.git/blob - php-pear-Net_URL_Mapper.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Net_URL_Mapper.git] / php-pear-Net_URL_Mapper.spec
1 %define         _status         beta
2 %define         _pearname       Net_URL_Mapper
3 Summary:        %{_pearname} - a simple and flexible way to build nice URLs for web applications
4 Summary(pl.UTF-8):      %{_pearname} - prosty i elastyczny sposób tworzenia ładnie wyglądających URL-i dla aplikacji WWW
5 Name:           php-pear-%{_pearname}
6 Version:        0.9.1
7 Release:        1
8 License:        New BSD License
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5:  0d27b8d5a6a3e38b310807f2fcee996f
12 URL:            http://pear.php.net/package/Net_URL_Mapper/
13 BuildRequires:  php-pear-PEAR >= 1:1.4.3
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.300
16 Requires:       php-pear
17 Requires:       php-pear-Net_URL >= 1.0.14
18 Requires:       php-pear-PEAR-core >= 1:1.4.3
19 Obsoletes:      php-pear-Net_URL_Mapper-tests
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
36 %description -l pl.UTF-8
37 Net_URL_Mapper udostępnia prosty i elastyczny sposób tworzenia ładnie
38 wyglądających adresów URL dla aplikacji WWW.
39
40 Składnia URL-a jest zbliżona do tej jaką można spotkać w Ruby on Rails
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
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.
47
48 Ta klasa ma w PEAR status: %{_status}.
49
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
65 %dir %{php_pear_dir}/Net/URL
66 %{php_pear_dir}/Net/URL/Mapper
67 %{php_pear_dir}/Net/URL/Mapper.php
68
69 %{php_pear_dir}/data/%{_pearname}
This page took 0.056685 seconds and 3 git commands to generate.