]> git.pld-linux.org Git - packages/perl-Unicode-Stringprep.git/blame - perl-Unicode-Stringprep.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Unicode-Stringprep.git] / perl-Unicode-Stringprep.spec
CommitLineData
d791c51f
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
d791c51f
JB
5%define pdir Unicode
6%define pnam Stringprep
7Summary: Preparation of Internationalized Strings (RFC 3454)
8Summary(pl.UTF-8): Tworzenie umiędzynarodowionych łańcuchów znaków (RFC 3454)
9Name: perl-Unicode-Stringprep
022dbc7e 10Version: 1.105
d791c51f
JB
11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
ffb6bcbc 15Source0: http://www.cpan.org/modules/by-module/Unicode/%{pdir}-%{pnam}-%{version}.tar.gz
022dbc7e 16# Source0-md5: bf9ffbc387cc12d67a3875be1cd8e105
d791c51f 17URL: http://search.cpan.org/dist/Unicode-Stringprep/
ffb6bcbc 18BuildRequires: perl-devel >= 1:5.8.3
d791c51f
JB
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
21BuildRequires: perl-Test-Simple
22BuildRequires: perl-Test-NoWarnings
23BuildRequires: perl-Unicode-Normalize >= 1
24%endif
ffb6bcbc 25Requires: perl-Unicode-Normalize >= 1
d791c51f
JB
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30This module implements the stringprep framework for preparing Unicode
31text strings in order to increase the likelihood that string input and
32string comparison work in ways that make sense for typical users
33throughout the world. The stringprep protocol is useful for protocol
34identifier values, company and personal names, internationalized
35domain names, and other text strings.
36
37%description -l pl.UTF-8
38Ten moduł implementuje szkielet stringprep do przygotowywania
39unikodowych łańcuchów znaków tak, aby zwiększyć prawdopodobieństwo, że
40wejście i porównywanie łańcuchów działa w sposób sensowny dla typowych
41użytkowników na świecie. Protokół stringprep jest przydatny dla
42wartości identyfikujących protokół, nazw firm i osób, międzynarodowych
43domen i innych łańcuchów tekstowych.
44
45%prep
46%setup -q -n %{pdir}-%{pnam}-%{version}
47
48%build
49%{__perl} Makefile.PL \
50 INSTALLDIRS=vendor
51
52%{__make}
53
54%{?with_tests:%{__make} test}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
67%doc Changes README
68%{perl_vendorlib}/Unicode/Stringprep.pm
69%{perl_vendorlib}/Unicode/Stringprep
70%{_mandir}/man3/Unicode::Stringprep*.3pm*
This page took 0.09118 seconds and 4 git commands to generate.