]> git.pld-linux.org Git - SPECS.git/blob - perl-MasonX-Request-ExtendedCompRoot.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-MasonX-Request-ExtendedCompRoot.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    MasonX
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
10 Version:        0.03
11 Release:        2
12 # same as perl
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
20 %if %{with tests}
21 BuildRequires:  perl-HTML-Mason >= 1.24
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 MasonX::Request::ExtendedCompRoot lets you alter Mason's component
28 root during the lifetime of any given request or subrequest.
29
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.
33
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ń.
37
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ń.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48 %{__make}
49
50 %{?with_tests:%{__make} test}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc Changes README
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
68 %{_mandir}/man3/*
This page took 0.218095 seconds and 3 git commands to generate.