]> git.pld-linux.org Git - packages/perl-Text-Quoted.git/blob - perl-Text-Quoted.spec
- autoupdated to 1.5
[packages/perl-Text-Quoted.git] / perl-Text-Quoted.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Text
7 %define pnam    Quoted
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
11 Version:        1.5
12 Release:        1
13 License:        Artistic
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
19 %if %{with tests}
20 BuildRequires:  perl-Text-Autoformat
21 %endif
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
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.
29
30 %description -l pl
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.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 find -type f | xargs %{__perl} -pi -e 's,/usr/local,/usr,g'
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42 %{__make}
43
44 %{?with_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install\
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes
58 %{perl_vendorlib}/%{pdir}/%{pnam}.pm
59 %{_mandir}/man3/*
This page took 0.060539 seconds and 4 git commands to generate.