]> git.pld-linux.org Git - packages/perl-Time-Warp.git/blob - perl-Time-Warp.spec
perl 5.38.0 rebuild
[packages/perl-Time-Warp.git] / perl-Time-Warp.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Time
6 %define pnam    Warp
7 Summary:        Time::Warp - control over the flow of time
8 Summary(pl.UTF-8):      Time::Warp - kontrola nad upływem czasu
9 Name:           perl-Time-Warp
10 Version:        0.5
11 Release:        17
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-authors/id/J/JP/JPRIT/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  33652a9dfdc11366ddba95efe6432a51
17 URL:            http://search.cpan.org/dist/Time-Warp/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Our external experience unfolds in 3 1/2 dimensions (time has a
24 dimensionality of 1/2). The Time::Warp module offers developers
25 control over the measurement of time.
26
27 %description -l pl.UTF-8
28 Nasze zewnętrzne doświadczenie odsłania się w 3.5 wymiarach (czas ma
29 pół wymiaru). Moduł Time::Warp oferuje programistom kontrolę nad
30 pomiarem czasu.
31
32 %prep
33 %setup -q -n %{pdir}-%{pnam}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38 %{__make} \
39         CC="%{__cc}" \
40         OPTIMIZE="%{rpmcflags}"
41
42 %{?with_tests:%{__make} test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc README
56 %{perl_vendorarch}/Time/*.pm
57 %dir %{perl_vendorarch}/auto/Time/Warp
58 %attr(755,root,root) %{perl_vendorarch}/auto/Time/Warp/*.so
59 %{_mandir}/man3/*
This page took 0.092548 seconds and 4 git commands to generate.