]>
Commit | Line | Data |
---|---|---|
a932eade | 1 | %include /usr/lib/rpm/macros.perl |
64f0e8ea | 2 | %define pdir Date |
3 | %define pnam Manip | |
0a6487a4 | 4 | Summary: Date::Manip - date manipulation routines |
6e9fe69a | 5 | Summary(pl.UTF-8): Date::Manip - procedury do operowania na datach |
526b204d | 6 | Name: perl-Date-Manip |
8099f258 JK |
7 | Version: 5.44 |
8 | Release: 1 | |
466b6c57 | 9 | # same as perl |
10 | License: GPL v1+ or Artistic | |
526b204d | 11 | Group: Development/Languages/Perl |
58f18073 | 12 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}%{pnam}-%{version}.tar.gz |
8099f258 | 13 | # Source0-md5: ebb1e17639fc4260b72690c1de2f5fdc |
88accebd | 14 | BuildRequires: perl-devel >= 1:5.8.0 |
3beb9c8c | 15 | BuildRequires: rpm-perlprov >= 4.1-13 |
bedcb871 | 16 | Obsoletes: perl-DateManip |
f5f4a518 | 17 | BuildArch: noarch |
45c36b1e | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
526b204d | 19 | |
20 | %description | |
466b6c57 | 21 | Perl module Date::Manip contains a set of routines designed to make |
22 | any common date/time manipulation easy to do. Operations such as | |
23 | comparing two times, calculating a time a given amount of time from | |
24 | another, or parsing international times are all easily done. | |
526b204d | 25 | |
6e9fe69a JR |
26 | %description -l pl.UTF-8 |
27 | Moduł Perla Date::Manip zawiera zbiór procedur zaprojektowanych, aby | |
28 | ułatwić często wykonywane operacje na datach/czasie. Operacje takie | |
29 | jak porównywanie dwóch czasów, obliczanie czasu następującego po | |
30 | zadanej ilości czasu od innego czasu, analiza czasów z podaną strefą | |
31 | czasową - wszystkie łatwo wykonać. | |
526b204d | 32 | |
33 | %prep | |
70355c43 | 34 | %setup -q -n %{pdir}%{pnam}-%{version} |
526b204d | 35 | |
36 | %build | |
3beb9c8c | 37 | %{__perl} Makefile.PL \ |
fc94b3e3 | 38 | INSTALLDIRS=vendor |
444196d4 | 39 | %{__make} |
526b204d | 40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
526b204d | 43 | |
bedcb871 | 44 | %{__make} install \ |
45 | DESTDIR=$RPM_BUILD_ROOT | |
526b204d | 46 | |
526b204d | 47 | %clean |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
70355c43 | 52 | %doc README TODO *.cnf |
3beb9c8c | 53 | %{perl_vendorlib}/Date/Manip.pm |
526b204d | 54 | %{_mandir}/man3/* |