3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: Text::Haml - Haml Perl implementation
13 Group: Development/Languages/Perl
14 Source0: http://search.cpan.org/CPAN/authors/id/V/VT/VTI/Text-Haml-0.990110.tar.gz
15 # Source0-md5: b3f422b25582c019fa667d5c8be49047
16 URL: http://search.cpan.org/dist/Text-Haml/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-URI
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Text::Haml implements Haml
27 http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html specification.
29 Text::Haml passes specification tests written by Norman Clarke
30 http://github.com/norman/haml-spec and supports only cross-language Haml
31 features. Do not expect Ruby specific things to work.
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
46 %{__make} pure_install \
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %{perl_vendorlib}/Text/*.pm
55 %{perl_vendorlib}/Text/Haml