]> git.pld-linux.org Git - SPECS.git/blob - perl-Date-Tolkien-Shire.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / perl-Date-Tolkien-Shire.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Date
6 %define         pnam    Tolkien-Shire
7 Summary:        Date::Tolkien::Shire - convert dates into the Shire Calendar
8 Summary(pl.UTF-8):      Date::Tolkien::Shire - konwersja dat do kalendarza Śródziemia
9 Name:           perl-Date-Tolkien-Shire
10 Version:        1.13
11 Release:        2
12 License:        unknown
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  ad5744d66f118305a0a09b52f3e24b27
16 URL:            http://search.cpan.org/dist/Date-Tolkien-Shire/
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 This is an object-oriented module to convert dates into the Shire
24 Calender as presented in the Lord of the Rings by J. R. R. Tolkien. It
25 includes converting epoch time to the Shire Calendar (you can also get
26 epoch time back), comparison operators, and a method to print a
27 formatted string containing that does something to the effect of on
28 this date in history -- pulling events from the Lord of the Rings.
29
30 %description -l pl.UTF-8
31 To jest obiektowo zorientowany moduł do konwertowania dat na kalendarz
32 Śródziemia, jaki został przedstawiony we "Władcy pierścieni" J. R. R.
33 Tolkiena. Zawiera konwersję czasu w formacie epoch na kalendarz
34 Śródziemia (i z powrotem), operatory porównań oraz metodę do
35 wypisywania sformatowanego ciągu zawierającego to, co zdarzyło się w
36 tym czasie - zdarzenia z "Władcy pierścieni".
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc README CHANGES
60 %dir %{perl_vendorlib}/Date/Tolkien
61 %{perl_vendorlib}/Date/Tolkien/Shire.pm
62 %{_mandir}/man3/*
This page took 0.108792 seconds and 3 git commands to generate.