X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=perl-Text-vCard.spec;h=f110dd6de633ed48ad0bb85e76959fd9df0bd168;hb=a1ac5f5;hp=585876be96c8f68a02d2d5406bd50a3130e5d425;hpb=b63cb9d8b66cb59ddd28682f3be6d40fd2f95e84;p=packages%2Fperl-Text-vCard.git diff --git a/perl-Text-vCard.spec b/perl-Text-vCard.spec index 585876b..f110dd6 100644 --- a/perl-Text-vCard.spec +++ b/perl-Text-vCard.spec @@ -1,37 +1,46 @@ # # 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.UTF-8): 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 +Version: 3.09 +Release: 1 +# 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 +# Source0-md5: d23c610e2159b7d4034275f2bfe27704 +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-Class-Accessor-Chained BuildRequires: perl-File-Slurp +BuildRequires: perl-Path-Tiny BuildRequires: perl-Text-vFile-asData %endif 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.UTF-8 +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} @@ -55,10 +64,9 @@ rm -rf $RPM_BUILD_ROOT %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 +%doc Changes README +%{perl_vendorlib}/vCard.pm +%{perl_vendorlib}/vCard %{perl_vendorlib}/Text/vCard.pm -%{perl_vendorlib}/Text/vCard/*.pm +%{perl_vendorlib}/Text/vCard %{_mandir}/man3/*