]> git.pld-linux.org Git - SPECS.git/blob - perl-Time-Format.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Time-Format.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Time
6 %define         pnam    Format
7 Summary:        Easy-to-use date/time formatting
8 Summary(pl.UTF-8):      Łatwe w użyciu formatowanie daty/czasu
9 Name:           perl-Time-Format
10 Version:        1.11
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic     
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Time/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  20b6f13b67c6840a0527a6597c9861b2
17 URL:            http://search.cpan.org/dist/Time-Format/
18 BuildRequires:  perl-DateTime
19 BuildRequires:  perl-Date-Manip
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Easy-to-use date/time formatting.
27
28 %description -l pl.UTF-8
29 Łatwe w użyciu formatowanie daty/czasu.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37
38 %{__make}
39
40 %{?with_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} pure_install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc Changes README
54 %{perl_vendorlib}/Time/*.pm
55 %{_mandir}/man3/*
This page took 0.297442 seconds and 3 git commands to generate.