]> git.pld-linux.org Git - packages/perl-Time-Progress.git/blob - perl-Time-Progress.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Time-Progress.git] / perl-Time-Progress.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4
5 %define         pdir    Time
6 %define         pnam    Progress
7 Summary:        Time::Progress - Elapsed and estimated finish time reporting
8 Summary(pl.UTF-8):      Time::Progress - informowanie o minionym i oczekiwanym czasie zakończenia operacji
9 Name:           perl-Time-Progress
10 Version:        1.7
11 Release:        1
12 License:        GPL v2
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Time/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  83471e25b5b243be3ffa4e71387b020c
16 URL:            http://search.cpan.org/dist/Time-Progress/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Time::Progress reports elapsed and estimated finish time. Shortest
24 time interval that can be measured is 1 second (This should be fixed
25 in the future perhaps).
26
27 %description -l pl.UTF-8
28 Time::Progress informuje o mimionym i oczekiwanym czasie zakończenia
29 operacji. Najkrótszy mierzony czas to 1 sekunda (być może zostanie to
30 poprawione w przyszłości).
31
32 %prep
33 %setup -q -n %{pdir}-%{pnam}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38 %{__make}
39
40 %{?with_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} 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 %{_mandir}/man3/Time::Progress.3pm*
55 %{perl_vendorlib}/Time/Progress.pm
This page took 0.088856 seconds and 4 git commands to generate.