]> git.pld-linux.org Git - packages/perl-Palm.git/blob - perl-Palm.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Palm.git] / perl-Palm.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define pnam    Palm
6 Summary:        Set of Palm modules
7 Summary(pl.UTF-8):      Zestaw modułów Palm
8 Name:           perl-Palm
9 Version:        1.3.0
10 Release:        2
11 License:        Artistic
12 Group:          Development/Languages/Perl
13 Source0:        http://www.cpan.org/modules/by-authors/id/A/AR/ARENSB/p5-%{pnam}-%{version}.tar.gz
14 # Source0-md5:  67770a4c650f3880a8b1cbded0696e70
15 URL:            http://search.cpan.org/dist/-Palm/
16 BuildRequires:  perl-devel >= 1:5.8.0
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Set of Palm related modules: Palm::Address, Palm::Datebook,
23 Palm::Mail, Palm::Memo, Palm::PDB, Palm::Raw, Palm::StdAppInfo,
24 Palm::ToDo.
25
26 %description -l pl.UTF-8
27 Zestaw modułów związanych z Palmem: Palm::Address, Palm::Datebook,
28 Palm::Mail, Palm::Memo, Palm::PDB, Palm::Raw, Palm::StdAppInfo,
29 Palm::ToDo.
30
31 %prep
32 %setup -q -n p5-Palm-1.003_000
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make}
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc ChangeLog README
53 %attr(755,root,root) %{_bindir}/pdbdump
54 %dir %{perl_vendorlib}/Palm
55 %{perl_vendorlib}/Palm/*pm
56 %{_mandir}/man[13]/*
This page took 0.083581 seconds and 4 git commands to generate.