]> git.pld-linux.org Git - packages/perl-Text-Haml.git/blame - perl-Text-Haml.spec
- updated to 0.990115
[packages/perl-Text-Haml.git] / perl-Text-Haml.spec
CommitLineData
7138fff0
JR
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir Text
6%define pnam Haml
7%include /usr/lib/rpm/macros.perl
8Summary: Text::Haml - Haml Perl implementation
f208d665 9Summary(pl.UTF-8): Text::Haml - implementacja Haml dla Perla
7138fff0 10Name: perl-Text-Haml
f208d665 11Version: 0.990115
7138fff0 12Release: 1
f208d665 13License: Artistic v2.0
7138fff0 14Group: Development/Languages/Perl
f208d665
JB
15Source0: http://www.cpan.org/modules/by-module/Text/Text-Haml-%{version}.tar.gz
16# Source0-md5: 9b2b0b335e39fcc96dd7b60b5ba9c914
7138fff0 17URL: http://search.cpan.org/dist/Text-Haml/
f208d665
JB
18BuildRequires: perl-Module-Build >= 0.38
19BuildRequires: perl-devel >= 1:5.8.1
7138fff0
JR
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
549afadd 22BuildRequires: perl-Data-Section-Simple
7138fff0
JR
23BuildRequires: perl-URI
24%endif
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
f208d665
JB
29Text::Haml implements Haml specification:
30<http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html>.
7138fff0
JR
31
32Text::Haml passes specification tests written by Norman Clarke
f208d665
JB
33<http://github.com/norman/haml-spec> and supports only cross-language
34Haml features. Do not expect Ruby specific things to work.
35
36%description -l pl.UTF-8
37Text::Haml implementuje specyfikację Haml:
38<http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html>.
39
40Text::Haml przechodzi testy specifikacji napisane przez Normana
41Clarke'a (<http://github.com/norman/haml-spec>) i obsługuje tylko
42cechy Hamla wspólne dla wielu języków - nie należy się spodziewać, że
43elementy specyficzne dla języka Ruby będą działać.
7138fff0
JR
44
45%prep
46%setup -q -n %{pdir}-%{pnam}-%{version}
47
48%build
f208d665
JB
49%{__perl} Build.PL \
50 destdir=$RPM_BUILD_ROOT \
51 installdirs=vendor
52./Build
7138fff0 53
f208d665 54%{?with_tests:./Build test}
7138fff0
JR
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
f208d665 59./Build install
7138fff0
JR
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
f208d665
JB
66%doc Changes
67%{perl_vendorlib}/Text/Haml.pm
68%{_mandir}/man3/Text::Haml.3pm*
This page took 0.051125 seconds and 4 git commands to generate.