]> git.pld-linux.org Git - SPECS.git/blob - perl-Encode-IMAPUTF7.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / perl-Encode-IMAPUTF7.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # unit tests
4 #
5 %define         pdir    Encode
6 %define         pnam    IMAPUTF7
7 Summary:        Encode::IMAPUTF7 - modification of UTF-7 encoding for IMAP
8 Name:           perl-Encode-IMAPUTF7
9 Version:        1.05
10 Release:        1
11 License:        Perl
12 Group:          Development/Languages/Perl
13 Source0:        http://www.cpan.org/modules/by-module/Encode/%{pdir}-%{pnam}-%{version}.tar.gz
14 # Source0-md5:  2ef9d1a438f3fa29771d24f9e587fd2a
15 URL:            https://metacpan.org/dist/Encode-IMAPUTF7
16 BuildRequires:  perl-devel >= 1:5.8.0
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildRequires:  rpmbuild(macros) >= 1.745
19 %if %{with tests}
20 BuildRequires:  perl-Test-NoWarnings
21 %endif
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Modification of UTF-7 encoding for IMAP.
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30
31 %build
32 %{__perl} Makefile.PL \
33         INSTALLDIRS=vendor
34 %{__make}
35
36 %{?with_tests:%{__make} test}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} pure_install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc Changes INSTALL README
50 %{perl_vendorlib}/Encode/IMAPUTF7.pm
51 %{_mandir}/man3/Encode::IMAPUTF7.3*
This page took 0.672897 seconds and 3 git commands to generate.