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