From 2bb2f8a7c7e3e95ac1df9ff08ca83da0d76bd0774be07eb0a703a0447ba63bc4 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Wed, 24 Nov 2010 19:11:39 +0000 Subject: [PATCH] cpanspec, noarch pkg, changes file OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Simple?expand=0&rev=7 --- perl-Email-Simple.changes | 23 ++++++++++ perl-Email-Simple.spec | 90 +++++++++++++++++++++++++++------------ 2 files changed, 85 insertions(+), 28 deletions(-) create mode 100644 perl-Email-Simple.changes diff --git a/perl-Email-Simple.changes b/perl-Email-Simple.changes new file mode 100644 index 0000000..facb727 --- /dev/null +++ b/perl-Email-Simple.changes @@ -0,0 +1,23 @@ +------------------------------------------------------------------- +Wed Nov 24 19:03:16 UTC 2010 - chris@computersalat.de + +- recreated by cpanspec 1.78 +- noarch pkg +- changelog to changes file +- fix changelog + +------------------------------------------------------------------- +Fri Sep 14 11:42:56 UTC 2007 - coolo@novell.com + +- update to 2.100 + - merge Email-Simple-Creator into Email-Simple distribution +- 2.005 2009-01-22 + - add repository metadata +- 2.004 2008-06-25 + - publicize default_header_class method + - remove the long-deprecated Headers.pm + +------------------------------------------------------------------- +Fri Sep 14 11:42:56 UTC 2007 - jfunk@funktronics.ca + +- Initial release 2.003 diff --git a/perl-Email-Simple.spec b/perl-Email-Simple.spec index ea6b7f3..0969f8a 100644 --- a/perl-Email-Simple.spec +++ b/perl-Email-Simple.spec @@ -1,49 +1,83 @@ -%define modname Email-Simple -Name: perl-%{modname} +# +# spec file for package perl-Email-Simple (Version 2.100) +# +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: perl-Email-Simple +%define cpan_name Email-Simple +Summary: simple parsing of RFC2822 message format and headers Version: 2.100 Release: 1 -Summary: Simple Parsing of RFC2822 Message Format and Headers -Requires: perl = %{perl_version} -BuildRequires: perl -License: GPL/Artistic +License: GPL+ or Artistic Group: Development/Libraries/Perl -Source: %{modname}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-root +Url: http://search.cpan.org/dist/Email-Simple/ +#Source: http://www.cpan.org/authors/id/R/RJ/RJBS/Email-Simple-2.100.tar.gz +Source: %{cpan_name}-%{version}.tar.bz2 +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +%if 0%{?suse_version} < 1120 +BuildRequires: perl-macros +%endif BuildRequires: perl(Email::Date::Format) Requires: perl = %{perl_version} Requires: perl(Email::Date::Format) %description -Email::Simple is the first deliverable of the "Perl Email Project." The Email:: -namespace was begun as a reaction against the increasing complexity and -bugginess of Perl's existing email modules. Email::* modules are meant to be -simple to use and to maintain, pared to the bone, fast, minimal in their -external dependencies, and correct. +'Email::Simple' is the first deliverable of the "Perl Email Project." The +Email:: namespace was begun as a reaction against the increasing complexity +and bugginess of Perl's existing email modules. 'Email::*' modules are +meant to be simple to use and to maintain, pared to the bone, fast, minimal +in their external dependencies, and correct. + +Authors: +-------- +sorry, no author found %prep -%setup -q -n %{modname}-%{version} +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" -make -make test +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install +### since 11.4 perl_process_packlist +### removes .packlist, perllocal.pod files +%if 0%{?suse_version} > 1130 %perl_process_packlist +%else +# do not perl_process_packlist +# remove .packlist file +%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch +# remove perllocal.pod file +%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod +%endif +%perl_gen_filelist %clean -rm -rf %{buildroot} +%{__rm} -rf $RPM_BUILD_ROOT -%files -%defattr(-, root, root) +%files -f %{name}.files +%defattr(-,root,root,-) %doc Changes LICENSE README -%doc %{_mandir}/man?/* -%{perl_vendorlib}/Email -%{perl_vendorarch}/auto/Email -/var/adm/perl-modules/%{name} %changelog - -* Fri Sep 14 2007 - James Oakley - 2.003-1 -- Initial release