]>
Commit | Line | Data |
---|---|---|
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 | 8 | Summary: Test::Timestamp Perl module |
dc0bcf4e ER |
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 模块 | |
ca94c8a8 | 25 | Name: perl-Test-Timestamp |
279d2691 | 26 | Version: 1.2 |
7a17b50d | 27 | Release: 4 |
6f736d9e | 28 | License: unknown |
279d2691 | 29 | Group: Development/Languages/Perl |
30 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz | |
ca6b7694 | 31 | # Source0-md5: ec7c96f3d6e218de1a58661eef7fde51 |
7ec4e4ea | 32 | URL: http://search.cpan.org/dist/Test-Timestamp/ |
d3cb7056 | 33 | BuildRequires: perl-devel >= 1:5.8.0 |
39df379e | 34 | BuildRequires: rpm-perlprov >= 4.1-13 |
279d2691 | 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 | ||
8a5619bc JR |
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. | |
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 |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
6f736d9e | 61 | %{__make} install \ |
62 | DESTDIR=$RPM_BUILD_ROOT | |
279d2691 | 63 | |
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
39df379e | 69 | %{perl_vendorlib}/Test/*.pm |
279d2691 | 70 | %{_mandir}/man3/* |