]> git.pld-linux.org Git - packages/perl-Test-Timestamp.git/blob - perl-Test-Timestamp.spec
use generic url
[packages/perl-Test-Timestamp.git] / perl-Test-Timestamp.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do perform "make test"
4
5 %define         pdir    Test
6 %define         pnam    Timestamp
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        Test::Timestamp Perl module
9 Summary(cs.UTF-8):      Modul Test::Timestamp pro Perl
10 Summary(da.UTF-8):      Perlmodul Test::Timestamp
11 Summary(de.UTF-8):      Test::Timestamp Perl Modul
12 Summary(es.UTF-8):      Módulo de Perl Test::Timestamp
13 Summary(fr.UTF-8):      Module Perl Test::Timestamp
14 Summary(it.UTF-8):      Modulo di Perl Test::Timestamp
15 Summary(ja.UTF-8):      Test::Timestamp Perl モジュール
16 Summary(ko.UTF-8):      Test::Timestamp 펄 모줄
17 Summary(nb.UTF-8):      Perlmodul Test::Timestamp
18 Summary(pl.UTF-8):      Moduł Perla Test::Timestamp
19 Summary(pt.UTF-8):      Módulo de Perl Test::Timestamp
20 Summary(pt_BR.UTF-8):   Módulo Perl Test::Timestamp
21 Summary(ru.UTF-8):      Модуль для Perl Test::Timestamp
22 Summary(sv.UTF-8):      Test::Timestamp Perlmodul
23 Summary(uk.UTF-8):      Модуль для Perl Test::Timestamp
24 Summary(zh_CN.UTF-8):   Test::Timestamp Perl 模块
25 Name:           perl-Test-Timestamp
26 Version:        1.2
27 Release:        4
28 License:        unknown
29 Group:          Development/Languages/Perl
30 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
31 # Source0-md5:  ec7c96f3d6e218de1a58661eef7fde51
32 URL:            http://search.cpan.org/dist/Test-Timestamp/
33 BuildRequires:  perl-devel >= 1:5.8.0
34 BuildRequires:  rpm-perlprov >= 4.1-13
35 BuildArch:      noarch
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 With this module you can create one or more timestamp objects which
40 can be used to record the exact time when a certain point in your code
41 was executed.
42
43 %description -l pl.UTF-8
44 Używając tego modułu możesz stworzyć jeden lub więcej obiektów ze
45 znacznikami czasu, które mogą być użyte do zapamiętania dokładnego
46 czasu wykonania konkretnej części kodu.
47
48 %prep
49 %setup -q -n %{pdir}-%{pnam}-%{version}
50
51 %build
52 %{__perl} Makefile.PL \
53         INSTALLDIRS=vendor
54 %{__make}
55
56 %{?with_tests:%{__make} test}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %{perl_vendorlib}/Test/*.pm
70 %{_mandir}/man3/*
This page took 0.083117 seconds and 3 git commands to generate.