]> git.pld-linux.org Git - packages/perl-Unicode-Lite.git/blame - perl-Unicode-Lite.spec
use generic url
[packages/perl-Unicode-Lite.git] / perl-Unicode-Lite.spec
CommitLineData
ccf666a0 1#
2# Conditional build:
d559cf9d 3%bcond_without tests # do not perform "make test"
769c1ccf 4
b32fc5bc 5%define pdir Unicode
6%define pnam Lite
769c1ccf 7%include /usr/lib/rpm/macros.perl
2926d000 8Summary: Unicode::Lite - easy conversion between encodings
f641ceb9 9Summary(pl.UTF-8): Unicode::Lite - łatwa konwersja pomiędzy kodowaniami
ccf666a0 10Name: perl-Unicode-Lite
11Version: 0.12
a4cfff22 12Release: 5
5a569eba 13# same as perl
14License: GPL v1+ or Artistic
ccf666a0 15Group: Development/Languages/Perl
c62049a8 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
80f6d2fb 17# Source0-md5: f8fa78a8c113bf8b42cba6e3cb9b8797
769c1ccf 18URL: http://search.cpan.org/dist/Unicode-Lite/
ab966381 19BuildRequires: perl-devel >= 1:5.8.0
5d9dd18b 20BuildRequires: rpm-perlprov >= 4.1-13
d559cf9d 21%if %{with tests}
ccf666a0 22BuildRequires: perl-Unicode-Map
23BuildRequires: perl-enum
24%endif
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
888a4fb0 29Unicode::Lite includes string converting function from one and to
30another charset.
ccf666a0 31
96ffa9f0
JR
32%description -l pl.UTF-8
33Unicode::Lite zawiera funkcje do konwersji ciągów na różne kodowania.
ccf666a0 34
35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
5d9dd18b 39%{__perl} Makefile.PL \
896b1ecf 40 INSTALLDIRS=vendor
ccf666a0 41%{__make}
42
d559cf9d 43%{?with_tests:%{__make} test}
ccf666a0 44
45%install
46rm -rf $RPM_BUILD_ROOT
47
d559cf9d 48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
ccf666a0 50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
5d9dd18b 56%{perl_vendorlib}/%{pdir}/*.pm
ccf666a0 57%{_mandir}/man3/*
This page took 0.080596 seconds and 4 git commands to generate.