]> git.pld-linux.org Git - packages/perl-Text-Quoted.git/blob - perl-Text-Quoted.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Text-Quoted.git] / perl-Text-Quoted.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Text
6 %define         pnam    Quoted
7 Summary:        Text::Quoted - extract the structure of a quoted mail message
8 Summary(pl.UTF-8):      Text::Quoted - wydzielenie struktury cytowanej wiadomości pocztowej
9 Name:           perl-Text-Quoted
10 Version:        2.10
11 Release:        1
12 # Artistic (README says: same as perl)
13 License:        Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  de86b498ed91e4a7856615f5f38c943c
17 URL:            http://search.cpan.org/dist/Text-Quoted/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-Text-Autoformat
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Text::Quoted Perl module examines the structure of some text which may
28 contain multiple different levels of quoting, and turns the text into
29 a nested data structure.
30
31 %description -l pl.UTF-8
32 Moduł Perla Text::Quoted analizuje strukturę pewnego tekstu, który
33 może zawierać wiele różnych poziomów cytowania i przekształca tekst w
34 zagnieżdżoną strukturę danych.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
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}/Text/Quoted.pm
59 %{_mandir}/man3/*
This page took 0.069355 seconds and 3 git commands to generate.