]> git.pld-linux.org Git - packages/perl-String-Koremutake.git/blob - perl-String-Koremutake.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-String-Koremutake.git] / perl-String-Koremutake.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    String
6 %define pnam    Koremutake
7 Summary:        String::Koremutake - Convert to/from Koremutake Memorable Random Strings
8 Summary(pl.UTF-8):      String::Koremutake - konwersja z/do Koremutake Memorable Random Strings
9 Name:           perl-String-Koremutake
10 Version:        0.30
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/String/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  9b28d2017b98015f5e1b376324673419
17 URL:            http://search.cpan.org/dist/String-Koremutake/
18 BuildRequires:  perl-Module-Build
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 %if %{with tests}
22 BuildRequires:  perl-Error >= 0.15
23 BuildRequires:  perl-Test-Exception >= 0.15
24 %endif
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 The String::Koremutake module converts to and from Koremutake
30 Memorable Random Strings.
31
32 The term "Memorable Random String" was thought up by Sean B. Palmer as
33 a name for those strings like dopynl, glargen, glonknic, spoopwiddle,
34 and kebble etc. that don't have any conventional sense, but can be
35 used as random identifiers, especially in URIs to keep them
36 persistent. See <http://infomesh.net/2001/07/MeRS/>.
37
38 %description -l pl.UTF-8
39 Moduł String::Koremutake przekształca do i z Koremutake Memorable
40 Random Strings (zapamiętywalnych losowych łańcuchów znaków).
41
42 Określenie "zapamiętywalny łańcuch losowy" (Memorable Random String)
43 zostało wymyślone przez Seana B. Palmera jako nazwa dla łańcuchów
44 znaków typu dopynl, glargen, glonknic, spoopwiddle, kebble itp., które
45 nie mają żadnego umownego sensu, ale mogą być używane jako losowe
46 identyfikatory, szczególnie w URI, aby utrzymać je stałymi. Patrz
47 <http://infomesh.net/2001/07/MeRS/>.
48
49 %prep
50 %setup -q -n %{pdir}-%{pnam}-%{version}
51
52 %build
53 %{__perl} Build.PL \
54         destdir=$RPM_BUILD_ROOT \
55         installdirs=vendor
56 ./Build
57
58 %{?with_tests:./Build test}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 ./Build install
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc CHANGES README
71 %{perl_vendorlib}/String/*.pm
72 %{_mandir}/man3/*
This page took 0.08407 seconds and 4 git commands to generate.