3 %bcond_without tests # do not perform "make test"
6 %define pnam Request-ExtendedCompRoot
7 Summary: MasonX::Request::ExtendedCompRoot - extend functionality of Mason's component root
8 Summary(pl.UTF-8): MasonX::Request::ExtendedCompRoot - rozszerzanie funkcjonalności korzenia komponentów Masona
9 Name: perl-MasonX-Request-ExtendedCompRoot
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/MasonX/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 487b2f30bed5462803330ebaff1701cb
17 URL: http://search.cpan.org/dist/MasonX-Request-ExtendedCompRoot/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-HTML-Mason >= 1.24
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 MasonX::Request::ExtendedCompRoot lets you alter Mason's component
28 root during the lifetime of any given request or subrequest.
30 MasonX::Request::ExtendedCompRoot also provides syntactical glue to
31 enable calling a component in a specific component root that would
32 otherwise be inaccessible via the usual search path.
34 %description -l pl.UTF-8
35 MasonX::Request::ExtendedCompRoot umożliwia modyfikowanie korzenia
36 komponentów Masona w czasie istnienia dowolnych żądań lub podżądań.
38 MasonX::Request::ExtendedCompRoot dostarcza także "klej składniowy"
39 umożliwiający wywoływanie komponentu w takim korzeniu komponentów,
40 który bez tego byłby niedostępny w normalnej ścieżce wyszukiwań.
43 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
50 %{?with_tests:%{__make} test}
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %dir %{perl_vendorlib}/MasonX/Request
65 %{perl_vendorlib}/MasonX/Request/ExtendedCompRoot.pm
66 %dir %{perl_vendorlib}/MasonX/Resolver
67 %{perl_vendorlib}/MasonX/Resolver/ExtendedCompRoot.pm