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