File perl-XML-Generator-RFC822-RDF-Mandriva_2006.spec of Package perl-XML-Generator-RFC822-RDF

# $Id: perl-XML-Generator-RFC822-RDF.spec 5676 2007-08-02 18:53:59Z dries $
# Authority: dries
# Upstream: Aaron Straup Cope <ascope$cpan,org>

%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)

%define real_name XML-Generator-RFC822-RDF

Summary: Generate RDF/XML SAX2 events for RFC822 messages
Name: perl-XML-Generator-RFC822-RDF
Version: 1.1
%define releasesuffix mandriva2006
Release: 1.2
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/XML-Generator-RFC822-RDF/

Packager: Dries Verachtert <dries@ulyssis.org>
Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/
Source: http://search.cpan.org/CPAN/authors/id/A/AS/ASCOPE/XML-Generator-RFC822-RDF-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl, perl(Module::Build)

%description
Generate RDF/XML SAX2 events for RFC822 messages.

Messages are keyed using SHA1 digests of Message-IDs and email
addresses. In the case of the latter this makes it easier to merge
messages with contact data that has been serialized using
XML::Generator::vCard::RDF (version 1.3+)

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor"  destdir="%{buildroot}" 
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod %{buildroot}%{perl_vendorarch}/auto/*/*/*/*/.packlist

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes README
%doc %{_mandir}/man3/*
%{perl_vendorlib}/XML/Generator/RFC822/RDF.pm

%changelog
* Sun Dec 11 2005 Dries Verachtert <dries@ulyssis.org> - 1.1-1
- Initial package.
openSUSE Build Service is sponsored by