3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Text::Quoted - extract the structure of a quoted mail message
9 Summary(pl): Text::Quoted - wydzielenie struktury cytowanej wiadomo¶ci pocztowej
10 Name: perl-Text-Quoted
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 24f2eda17ae8f39084005051f0c2545a
17 BuildRequires: perl-devel >= 5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-Text-Autoformat
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Text::Quoted Perl module examines the structure of some text which may
27 contain multiple different levels of quoting, and turns the text into
28 a nested data structure.
31 Modu³ Perla Text::Quoted analizuje strukturê pewnego tekstu, który
32 mo¿e zawieraæ wiele ró¿nych poziomów cytowania i przekszta³ca tekst w
33 zagnie¿d¿on± strukturê danych.
36 %setup -q -n %{pdir}-%{pnam}-%{version}
39 find -type f | xargs %{__perl} -pi -e 's,/usr/local,/usr,g'
40 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorlib}/%{pdir}/%{pnam}.pm