3 # _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 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: cec22ff657590d1e3dbf89ad17f3f94a
18 BuildRequires: perl-devel >= 5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Text::Quoted Perl module examines the structure of some text which may
25 contain multiple different levels of quoting, and turns the text into
26 a nested data structure.
29 Modu³ Perla Text::Quoted analizuje strukturê pewnego tekstu, który
30 mo¿e zawieraæ wiele ró¿nych poziomów cytowania i przekszta³ca tekst w
31 zagnie¿d¿on± strukturê danych.
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 find -type f | xargs perl -pi -e 's,/usr/local,/usr,g'
38 %{__perl} Makefile.PL \
42 %{!?_without_tests:%{__make} test}
45 rm -rf $RPM_BUILD_ROOT
47 %{__make} install DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_vendorlib}/Text/Quoted.pm