Blob Blame History Raw
Name:           perl-Text-vCard
Version:        2.07
Release:        3%{?dist}
Summary:        Package to edit and create a single vCard (RFC 2426)
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Text-vCard/
Source0:        http://www.cpan.org/authors/id/L/LL/LLAP/Text-vCard-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(File::Slurp)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Text::vFile::asData)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
vCards are electronic business cards used by various message user
agents (MUAs) and defined in RFC 2426.  They are a simple and
extensible representation for common contact information such as
name, company, telephone, fax, address, email, etc. and some
less common information such as IM or Googletalk handles.

This package provides an interface for manipulating vCards.

%prep
%setup -q -n Text-vCard-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.07-3
- 661697 rebuild for fixing problems with vendorach/lib

* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.07-2
- Mass rebuild with perl-5.12.0

* Thu Jan 28 2010 philipp@fedoraproject.org 2.07-1
- Bugfix for get_simple_type().  Makefile simplified.

* Sun Jan 24 2010 philipp@fedoraproject.org 2.06-1
- New method added (get_simple_type()).  Various documentation fixes.

* Fri Jan 22 2010 philipp@fedoraproject.org 2.05-1
- Specfile autogenerated by cpanspec 1.78.