]> git.pld-linux.org Git - packages/perl-Date-Manip.git/blame_incremental - perl-Date-Manip.spec
- updated to 6.76
[packages/perl-Date-Manip.git] / perl-Date-Manip.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Date
7%define pnam Manip
8Summary: Date::Manip - date manipulation routines
9Summary(pl.UTF-8): Date::Manip - procedury do operowania na datach
10Name: perl-Date-Manip
11Version: 6.76
12Release: 1
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/Date/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: a539820a8725e79c67826158a6b940a1
18URL: http://search.cpan.org/dist/Date-Manip/
19BuildRequires: perl-ExtUtils-MakeMaker >= 6.30
20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
22%if %{with tests}
23BuildRequires: perl-Test-Inter
24BuildRequires: perl-YAML-Syck
25%endif
26Obsoletes: perl-DateManip
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31Perl module Date::Manip contains a set of routines designed to make
32any common date/time manipulation easy to do. Operations such as
33comparing two times, calculating a time a given amount of time from
34another, or parsing international times are all easily done.
35
36%description -l pl.UTF-8
37Moduł Perla Date::Manip zawiera zbiór procedur zaprojektowanych, aby
38ułatwić często wykonywane operacje na datach/czasie. Operacje takie
39jak porównywanie dwóch czasów, obliczanie czasu następującego po
40zadanej ilości czasu od innego czasu, analiza czasów z podaną strefą
41czasową - wszystkie łatwo wykonać.
42
43%prep
44%setup -q -n %{pdir}-%{pnam}-%{version}
45
46%build
47%{__perl} Makefile.PL \
48 INSTALLDIRS=vendor
49%{__make}
50
51%{?with_tests:%{__make} test}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Date/{Manip,Manip/*,Manip/Lang/*}.pod
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
66%doc Changes LICENSE README.first
67%attr(755,root,root) %{_bindir}/dm_date
68%attr(755,root,root) %{_bindir}/dm_zdump
69%{perl_vendorlib}/Date/Manip.pm
70%dir %{perl_vendorlib}/Date/Manip
71%{perl_vendorlib}/Date/Manip/*.pm
72%dir %{perl_vendorlib}/Date/Manip/Lang
73%{perl_vendorlib}/Date/Manip/Lang/*.pm
74%dir %{perl_vendorlib}/Date/Manip/Offset
75%{perl_vendorlib}/Date/Manip/Offset/*.pm
76%dir %{perl_vendorlib}/Date/Manip/TZ
77%{perl_vendorlib}/Date/Manip/TZ/*.pm
78%{_mandir}/man1/dm_date.1*
79%{_mandir}/man1/dm_zdump.1*
80%{_mandir}/man3/Date::Manip*.3pm*
This page took 0.046024 seconds and 4 git commands to generate.