From 50f300394dd467412a565a467da68616f921e3b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Sun, 2 Sep 2007 21:24:01 +0000 Subject: [PATCH 1/1] - new Changed files: php-pear-Net_URL_Mapper.spec -> 1.1 --- php-pear-Net_URL_Mapper.spec | 85 ++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 php-pear-Net_URL_Mapper.spec diff --git a/php-pear-Net_URL_Mapper.spec b/php-pear-Net_URL_Mapper.spec new file mode 100644 index 0000000..acfb4ec --- /dev/null +++ b/php-pear-Net_URL_Mapper.spec @@ -0,0 +1,85 @@ +%include /usr/lib/rpm/macros.php +%define _class Net +%define _subclass URL_Mapper +%define _status beta +%define _pearname Net_URL_Mapper +Summary: %{_pearname} - Provides a simple and flexible way to build nice URLs for web applications +Summary(pl.UTF_8): %{_pearname} - dostarcza prostego i elastycznego sposobu do tworzenia ładnie wyglądających URLi dla aplikacji web +Name: php-pear-%{_pearname} +Version: 0.9.0 +Release: 1 +License: New BSD License +Group: Development/Languages/PHP +Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz +# Source0-md5: 11a4d002f881ac5d957cdbb6b46139f7 +URL: http://pear.php.net/package/Net_URL_Mapper/ +BuildRequires: php-pear-PEAR +BuildRequires: rpm-php-pearprov >= 4.4.2-11 +Requires: php-pear +Requires: php-pear-Net_URL >= 1.0.14 +Requires: php-pear-PEAR >= 1.4.3 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Net_URL_Mapper provides a simple and flexible way to build nice URLs +for your web applications. + +The URL syntax is similar to what can be found in Ruby on Rails or +Python Routes module and as such, this package can be compared to what +they call a router. + +Still, Net_URL_Mapper does not perform the dispatching like these +frameworks and therefore can be used with your own router. + +In PEAR status of this package is: %{_status}. + +%description -l pl.UTF_8 +Net_URL_Mapper dostarcza prostego i elastycznego sposobu do tworzenia +ładnie wyglądających adresów URL dla aplikacji web. + +Składnia URL jest zbliżona do tej jaką można spotkać w Ruby on Rails +czy module Routes języka Python i w związku z tym pakiet ten może być +porównany z tym co nazywane jest tam routerem. + +Mimo to, w odróżnieniu od wspomnianych frameworków Net_URL_Mapper nie +robi zajmuje się przekazywaniem zapytań i w związku z tym może być +użyty wraz z Twoim routerem. + +Ta klasa ma w PEAR status: %{_status}. + +%package tests +Summary: Tests for PEAR::%{_pearname} +Summary(pl): Testy dla PEAR::%{_pearname} +Group: Development/Languages/PHP +AutoReq: no +Requires: %{name} = %{version}-%{release} +AutoProv: no + +%description tests +Tests for PEAR::%{_pearname}. + +%description tests -l pl +Testy dla PEAR::%{_pearname}. + +%prep +%pear_package_setup + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{php_pear_dir} +%pear_package_install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc install.log +%{php_pear_dir}/.registry/*.reg +%{php_pear_dir}/Net/URL/Mapper +%{php_pear_dir}/Net/URL/Mapper.php + +%files tests +%defattr(644,root,root,755) +%{php_pear_dir}/tests/Net_URL_Mapper -- 2.44.0