]> git.pld-linux.org Git - packages/perl-Test-Timestamp.git/blob - perl-Test-Timestamp.spec
bdd19c0fb73cc6626240a910f0216e9bd80edd9a
[packages/perl-Test-Timestamp.git] / perl-Test-Timestamp.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Test
7 %define         pnam    Timestamp
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 BuildRequires:  perl-devel >= 1:5.8.0
33 BuildRequires:  rpm-perlprov >= 4.1-13
34 BuildArch:      noarch
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 With this module you can create one or more timestamp objects which
39 can be used to record the exact time when a certain point in your code
40 was executed.
41
42 %description -l pl.UTF-8
43 Używając tego modułu możesz stworzyć jeden lub więcej obiektów ze
44 znacznikami czasu, które mogą być użyte do zapamiętania dokładnego
45 czasu wykonania konkretnej części kodu.
46
47 %prep
48 %setup -q -n %{pdir}-%{pnam}-%{version}
49
50 %build
51 %{__perl} Makefile.PL \
52         INSTALLDIRS=vendor
53 %{__make}
54
55 %{?with_tests:%{__make} test}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %{perl_vendorlib}/Test/*.pm
69 %{_mandir}/man3/*
This page took 0.041937 seconds and 2 git commands to generate.