#
# Conditional build:
%bcond_without autodeps # don't BR packages needed only for resolving deps
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # do not perform "make test"
#
%include /usr/lib/rpm/macros.perl
%define pdir Text
%define pnam vCard
-Summary: perl(Text::vCard) module
+Summary: Text::vCard - module to edit and create a single vCard (RFC 2426)
+Summary(pl): Text::vCard - modu³ do edycji i tworzenia pojedynczych vCardów (RFC 2426)
Name: perl-Text-vCard
Version: 1.98
Release: 0.2
-# "same as perl"
-License: GPL or Artistic
+# same as perl
+License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 2ecefb3c7c6ac62bf5fc56aa35fc6d63
-URL: http://search.cpan.org/dist/Text-vCard
+URL: http://search.cpan.org/dist/Text-vCard/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
-#BuildRequires: -
%if %{with autodeps} || %{with tests}
BuildRequires: perl-File-Slurp
BuildRequires: perl-Text-vFile-asData
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
%description
-This perl module implements interface for both single vcard (Text::vCard) and addressbook
-(Text::vCard::Addressbook). vCard is an electronic business card. You will
-find that many applications (Apple Address book, MS Outlook, Evolution etc) can
-export and import vCards. This package has been developed based on rfc2426.
+This Perl module implements interface for both single vcard
+(Text::vCard) and addressbook (Text::vCard::Addressbook). vCard is an
+electronic business card. You will find that many applications (Apple
+Address Book, MS Outlook, Evolution etc) can export and import vCards.
+This package has been developed based on RFC 2426.
+
+%description -l pl
+Ten modu³ Perla implementuje interfejs do pojedynczych vcardów
+(Text::vCard) oraz ksi±¿ek adresowych (Text::vCard::Addressbook).
+vCard to elektroniczna wizytówka. Jest wiele aplikacji (Apple Address
+Book, MS Outlook, Evolution itp.) potrafi±cych eksportowaæ i
+importowaæ vCardy. Ten pakiet zosta³ stworzony w oparciu o RFC 2426.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%files
%defattr(644,root,root,755)
%doc Changes TODO
-# note it's mostly easier to copy unpackaged filelist here, and run adapter over the spec.
-# use macros:
-%dir %attr(755,root,root) %{perl_vendorlib}/Text/vCard
%{perl_vendorlib}/Text/vCard.pm
+%dir %{perl_vendorlib}/Text/vCard
%{perl_vendorlib}/Text/vCard/*.pm
%{_mandir}/man3/*