3 %bcond_without tests # do not perform "make test"
7 Summary: Text::Haml - Haml Perl implementation
8 Summary(pl.UTF-8): Text::Haml - implementacja Haml dla Perla
12 License: Artistic v2.0
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Text/Text-Haml-%{version}.tar.gz
15 # Source0-md5: 7f0b65b62e2515a46425ca35bf2b4808
16 URL: http://search.cpan.org/dist/Text-Haml/
17 BuildRequires: perl-Module-Build >= 0.38
18 BuildRequires: perl-Module-Build-Tiny
19 BuildRequires: perl-devel >= 1:5.8.1
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-Data-Section-Simple
23 BuildRequires: perl-URI
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Text::Haml implements Haml specification:
30 <http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html>.
32 Text::Haml passes specification tests written by Norman Clarke
33 <http://github.com/norman/haml-spec> and supports only cross-language
34 Haml features. Do not expect Ruby specific things to work.
36 %description -l pl.UTF-8
37 Text::Haml implementuje specyfikację Haml:
38 <http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html>.
40 Text::Haml przechodzi testy specifikacji napisane przez Normana
41 Clarke'a (<http://github.com/norman/haml-spec>) i obsługuje tylko
42 cechy Hamla wspólne dla wielu języków - nie należy się spodziewać, że
43 elementy specyficzne dla języka Ruby będą działać.
46 %setup -q -n %{pdir}-%{pnam}-%{version}
50 --destdir=$RPM_BUILD_ROOT \
55 %{?with_tests:./Build test}
58 rm -rf $RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
68 %{perl_vendorlib}/Text/Haml.pm
69 %{_mandir}/man3/Text::Haml.3pm*