#
# Conditional build:
%bcond_without tests # do not perform "make test"
-
+#
%include /usr/lib/rpm/macros.perl
-%define pdir Text
-%define pnam Quoted
+%define pdir Text
+%define pnam Quoted
Summary: Text::Quoted - extract the structure of a quoted mail message
-Summary(pl): Text::Quoted - wydzielenie struktury cytowanej wiadomo¶ci pocztowej
+Summary(pl.UTF-8): Text::Quoted - wydzielenie struktury cytowanej wiadomości pocztowej
Name: perl-Text-Quoted
-Version: 1.3
+Version: 2.10
Release: 1
+# Artistic (README says: same as perl)
License: Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 00860205de13d5802e8402b385426abe
-BuildRequires: perl-devel >= 5.8.0
+Source0: http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: de86b498ed91e4a7856615f5f38c943c
+URL: http://search.cpan.org/dist/Text-Quoted/
+BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
BuildRequires: perl-Text-Autoformat
contain multiple different levels of quoting, and turns the text into
a nested data structure.
-%description -l pl
-Modu³ Perla Text::Quoted analizuje strukturê pewnego tekstu, który
-mo¿e zawieraæ wiele ró¿nych poziomów cytowania i przekszta³ca tekst w
-zagnie¿d¿on± strukturê danych.
+%description -l pl.UTF-8
+Moduł Perla Text::Quoted analizuje strukturę pewnego tekstu, który
+może zawierać wiele różnych poziomów cytowania i przekształca tekst w
+zagnieżdżoną strukturę danych.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
-find -type f | xargs %{__perl} -pi -e 's,/usr/local,/usr,g'
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make}