]> git.pld-linux.org Git - packages/perl-Email-FolderType.git/blob - perl-Email-FolderType.spec
- formatting
[packages/perl-Email-FolderType.git] / perl-Email-FolderType.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    Email
7 %define         pnam    FolderType
8 Summary:        Email::FolderType - return type of a mail folder
9 Summary(pl):    Email::FolderType - sprawdzenie rodzaju folderu pocztowego
10 Name:           perl-Email-FolderType
11 Version:        0.7
12 Release:        1
13 # same as perl
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:  92fdcdd0f59aee9b53fadddf2b9833c4
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-Test-Simple >= 0.47
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Provides a utility module for detecting the type of a given mail box.
28
29 %description -l pl
30 Jest to modu³ narzêdziowy do wykrywania rodzaju podanej skrzynki
31 pocztowej.
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make}
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc Changes
55 %{perl_vendorlib}/%{pdir}/*.pm
56 %{perl_vendorlib}/%{pdir}/%{pnam}
57 %{_mandir}/man3/*
This page took 0.085278 seconds and 4 git commands to generate.