]> git.pld-linux.org Git - packages/perl-Text-vCard.git/blob - perl-Text-vCard.spec
2b167ab13e73b92e7b955bfe15266e16ebfc80a0
[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):    Text::vCard - modu³ do edycji i tworzenia pojedynczych vCardów (RFC 2426)
11 Name:           perl-Text-vCard
12 Version:        2.00
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:  6374c7416ac96d0beaefbde67676e9e2
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-File-Slurp
24 BuildRequires:  perl-Text-vFile-asData
25 %endif
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description 
30 This Perl module implements interface for both single vcard
31 (Text::vCard) and addressbook (Text::vCard::Addressbook). vCard is an
32 electronic business card. You will find that many applications (Apple
33 Address Book, MS Outlook, Evolution etc) can export and import vCards.
34 This package has been developed based on RFC 2426.  
35
36 %description -l pl
37 Ten modu³ Perla implementuje interfejs do pojedynczych vcardów
38 (Text::vCard) oraz ksi±¿ek adresowych (Text::vCard::Addressbook).
39 vCard to elektroniczna wizytówka. Jest wiele aplikacji (Apple Address
40 Book, MS Outlook, Evolution itp.) potrafi±cych eksportowaæ i
41 importowaæ vCardy. Ten pakiet zosta³ stworzony w oparciu o RFC 2426.
42
43 %prep
44 %setup -q -n %{pdir}-%{pnam}-%{version}
45
46 %build
47 %{__perl} Makefile.PL \
48         INSTALLDIRS=vendor
49
50 %{__make}
51
52 %{?with_tests:%{__make} test}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} pure_install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc Changes TODO
66 %{perl_vendorlib}/Text/vCard.pm
67 %dir %{perl_vendorlib}/Text/vCard
68 %{perl_vendorlib}/Text/vCard/*.pm
69 %{_mandir}/man3/*
This page took 0.030471 seconds and 3 git commands to generate.