]> git.pld-linux.org Git - packages/perl-Text-Quoted.git/blobdiff - perl-Text-Quoted.spec
- up to 2.10
[packages/perl-Text-Quoted.git] / perl-Text-Quoted.spec
index 32f64570d65ecf09a06ef4df0a87368444ecf85b..d0aec4e9e048a07326ae07e373607348ac669e05 100644 (file)
@@ -1,22 +1,26 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%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.2
+Version:       2.10
 Release:       1
-# same as perl
-License:       GPL v1+ or Artistic
+# 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: cec22ff657590d1e3dbf89ad17f3f94a
-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
+%endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -25,26 +29,26 @@ Text::Quoted Perl module examines the structure of some text which may
 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}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install\
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.100289 seconds and 4 git commands to generate.