]> git.pld-linux.org Git - packages/perl-Text-vCard.git/blob - perl-Text-vCard.spec
- up to 3.09
[packages/perl-Text-vCard.git] / perl-Text-vCard.spec
1 #
2 # Conditional build:
3 %bcond_without  autodeps        # don't BR packages needed only for resolving deps
4 %bcond_without  tests           # do not perform "make test"
5 #
6 %include        /usr/lib/rpm/macros.perl
7 %define         pdir    Text
8 %define         pnam    vCard
9 Summary:        Text::vCard - module to edit and create a single vCard (RFC 2426)
10 Summary(pl.UTF-8):      Text::vCard - moduł do edycji i tworzenia pojedynczych vCardów (RFC 2426)
11 Name:           perl-Text-vCard
12 Version:        3.09
13 Release:        1
14 # same as perl
15 License:        GPL v1+ or Artistic
16 Group:          Development/Languages/Perl
17 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
18 # Source0-md5:  d23c610e2159b7d4034275f2bfe27704
19 URL:            http://search.cpan.org/dist/Text-vCard/
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 %if %{with autodeps} || %{with tests}
23 BuildRequires:  perl-Class-Accessor-Chained
24 BuildRequires:  perl-File-Slurp
25 BuildRequires:  perl-Path-Tiny
26 BuildRequires:  perl-Text-vFile-asData
27 %endif
28 BuildArch:      noarch
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description 
32 This Perl module implements interface for both single vcard
33 (Text::vCard) and addressbook (Text::vCard::Addressbook). vCard is an
34 electronic business card. You will find that many applications (Apple
35 Address Book, MS Outlook, Evolution etc) can export and import vCards.
36 This package has been developed based on RFC 2426.  
37
38 %description -l pl.UTF-8
39 Ten moduł Perla implementuje interfejs do pojedynczych vcardów
40 (Text::vCard) oraz książek adresowych (Text::vCard::Addressbook).
41 vCard to elektroniczna wizytówka. Jest wiele aplikacji (Apple Address
42 Book, MS Outlook, Evolution itp.) potrafiących eksportować i
43 importować vCardy. Ten pakiet został stworzony w oparciu o RFC 2426.
44
45 %prep
46 %setup -q -n %{pdir}-%{pnam}-%{version}
47
48 %build
49 %{__perl} Makefile.PL \
50         INSTALLDIRS=vendor
51
52 %{__make}
53
54 %{?with_tests:%{__make} test}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} pure_install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc Changes README
68 %{perl_vendorlib}/vCard.pm
69 %{perl_vendorlib}/vCard
70 %{perl_vendorlib}/Text/vCard.pm
71 %{perl_vendorlib}/Text/vCard
72 %{_mandir}/man3/*
This page took 0.842874 seconds and 3 git commands to generate.