]> git.pld-linux.org Git - packages/perl-URI-imaps.git/blame - perl-URI-imaps.spec
use generic url
[packages/perl-URI-imaps.git] / perl-URI-imaps.spec
CommitLineData
6e31d07b
AG
1#
2# Conditional build:
938bdffd 3%bcond_without tests # do not perform "make test"
cdf7b394 4
985ccd5f 5%define pdir URI
6%define pnam imaps
cdf7b394 7%include /usr/lib/rpm/macros.perl
6e31d07b 8Summary: URI::imaps - Support IMAPS URI
863f6f43 9Summary(pl.UTF-8): URI::imaps - Wsparcie dla URI IMAPS
6e31d07b
AG
10Name: perl-URI-imaps
11Version: 1.01
8e1efc82 12Release: 2
6e31d07b
AG
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: 0fdb2371e9f64ea7acbe385ca8d8a708
cdf7b394 18URL: http://search.cpan.org/dist/URI-imaps/
6e31d07b
AG
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl(URI)
23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28Support IMAPS schemas with URI.
29
0e665f14
JR
30%description -l pl.UTF-8
31Wsparcie dla schematów IMAPS z URI.
6e31d07b
AG
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
44rm -rf $RPM_BUILD_ROOT
45
46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%doc Changes README
55%{perl_vendorlib}/URI/*.pm
56%{_mandir}/man3/*
This page took 0.10359 seconds and 4 git commands to generate.