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