forked from pool/perl-Mail-Mbox-MessageParser
Compare commits
10 Commits
e792706314
...
73ab26aa4b
Author | SHA256 | Date | |
---|---|---|---|
73ab26aa4b | |||
|
ca6d95c73c | ||
|
f747c21649 | ||
405b89c7d8 | |||
a006366dba | |||
9b38a66fc4 | |||
|
e4db81d5c5 | ||
|
6249a5d1b4 | ||
|
9020859f7a | ||
|
24ce8941a9 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aec53e3fed438cc70a62539d2c3c2d16042ceff2f5fd262e45b78dc620fdb41a
|
||||
size 266361
|
3
Mail-Mbox-MessageParser-1.5111.tar.gz
Normal file
3
Mail-Mbox-MessageParser-1.5111.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5723c0aa9cc10bab9ed1e3bfd9d5c95f7159e71c1a475414eb1af1dee3a46237
|
||||
size 296872
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,117 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 17 05:37:14 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 1.5111
|
||||
see /usr/share/doc/packages/perl-Mail-Mbox-MessageParser/CHANGES
|
||||
|
||||
Version 1.5111:
|
||||
- Ensure that temp file is created in temp dir
|
||||
- Fix Makefile.PL warning
|
||||
- Fix deleting of inc during release process
|
||||
- Better fix for AutomatedTester warning
|
||||
|
||||
Version 1.5110:
|
||||
- Updating META.yml
|
||||
|
||||
Version 1.5109:
|
||||
- Switch to File::Slurper
|
||||
|
||||
Version 1.5108:
|
||||
- Trying once again to fix the compile test on windows
|
||||
|
||||
Version 1.5107:
|
||||
- Check in standard tests, including one that skips the compile check on Windows
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 6 05:35:15 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 1.5106
|
||||
see /usr/share/doc/packages/perl-Mail-Mbox-MessageParser/CHANGES
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 13 09:39:57 UTC 2017 - pmonrealgonzalez@suse.com
|
||||
|
||||
- Fixed compilation error:
|
||||
* Added BuildRequires: perl(Module::Install)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 3 08:35:33 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.5105
|
||||
see /usr/share/doc/packages/perl-Mail-Mbox-MessageParser/CHANGES
|
||||
|
||||
Version 1.5105: Sat May 2 2015
|
||||
- Prevent CPAN from indexing private-lib
|
||||
|
||||
Version 1.5104: Mon Apr 20 2015
|
||||
- Remove unused File::Cat import
|
||||
|
||||
Version 1.5103: Mon Apr 20 2015
|
||||
- Add File::Path dependency for testing. Thanks to Paul Howarth
|
||||
<paul@city-fan.org> for the info.
|
||||
https://rt.cpan.org/Ticket/Display.html?id=103482
|
||||
- Don't install private Module::Install extension. Thanks to Paul Howarth
|
||||
<paul@city-fan.org> for the bug report.
|
||||
https://rt.cpan.org/Ticket/Display.html?id=103482
|
||||
- Clarify licensing terms
|
||||
- Move verbose testing to a private module, and implement it in a way that
|
||||
doesn't require editing the Makefile after it is generated.
|
||||
- Require File::Slurp instead of including it, to avoid potential problems
|
||||
like this:
|
||||
http://www.cpantesters.org/cpan/report/86a0145a-e52b-11e4-a1d1-8536eb4f9f07
|
||||
- Improve the ability of the test suite to be run in parallel
|
||||
- Fix Windows test incompatibilities, such as:
|
||||
http://www.cpantesters.org/cpan/report/12187014-af8d-1014-92d8-fdf72a825c07
|
||||
http://www.cpantesters.org/cpan/report/12187014-af8d-1014-92d8-fdf72a825c07
|
||||
|
||||
Version 1.5102: Sun Apr 12 2015
|
||||
- Fix xz and lzip test skip for when tools are not installed
|
||||
- Enable verbose testing for CPAN-testers
|
||||
- Use proper temp dir instead of t/temp
|
||||
- Consolidate issue tracking at rt.cpan.org
|
||||
|
||||
Version 1.5101: Sat Apr 4 2015
|
||||
- Add a version check for lzip, to make sure the .lz file can be decompressed
|
||||
properly during testing. Thanks to Paul Howarth <paul@city-fan.org> for the
|
||||
suggestion.
|
||||
- Fix warning about deleting nonexistent test cache
|
||||
- Enhance "make test TEST_VERBOSE=1" to dump debug information
|
||||
- Work around a POD-stripping bug that would cause module load to fail on some
|
||||
platforms
|
||||
|
||||
Version 1.5100: Sun Mar 22 2015
|
||||
- Moved code to github
|
||||
- Added xz support.
|
||||
https://rt.cpan.org/Ticket/Display.html?id=68286
|
||||
Thanks to sascha@trimind.de for initial patches.
|
||||
- Added lzip support.
|
||||
Thanks to an anonymous submitter for the idea.
|
||||
http://sourceforge.net/p/grepmail/patches/8/
|
||||
- Added POD test
|
||||
- Fixed hang in pure Perl implementation for a malformed mbox file scenario.
|
||||
Thanks to Jason Brooks <jason@petting-zoo.org> for providing an mbox
|
||||
that found this bug.
|
||||
- Fixed $OLDSTDERR used only once warning.
|
||||
https://rt.cpan.org/Ticket/Display.html?id=58053
|
||||
Thanks to paul@city-fan.org for the bug report and patch.
|
||||
- Fixed enabling of warnings.
|
||||
https://rt.cpan.org/Ticket/Display.html?id=79898
|
||||
Thanks to atourbin@cpan.org for the bug report and patch.
|
||||
- Fixed a division by zero error for malformed mbox files that start with a
|
||||
newline.
|
||||
https://rt.cpan.org/Ticket/Display.html?id=69469
|
||||
Thanks to vadz@cpan.org for the bug report.
|
||||
- Fix bug in M::M::Perl documentation.
|
||||
Thanks to Christopher Orsolits <chris@s7logic.com> for spotting it.
|
||||
- Add more cache file validation.
|
||||
Thanks to Richard Higson <richard.higson@gt.owl.de> for reporting the
|
||||
problem.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 11:07:07 UTC 2011 - coolo@suse.com
|
||||
|
||||
- use original .tar.gz
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:33:25 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Mail-Mbox-MessageParser
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,60 +15,70 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Mail-Mbox-MessageParser
|
||||
BuildRequires: perl-FileHandle-Unget
|
||||
BuildRequires: perl-macros
|
||||
Version: 1.5002
|
||||
Release: 6
|
||||
Summary: A fast and simple mbox folder reader
|
||||
License: GPLv2+
|
||||
Url: http://cpan.org/modules/by-module/Mail/
|
||||
Version: 1.5111
|
||||
Release: 0
|
||||
%define cpan_name Mail-Mbox-MessageParser
|
||||
Summary: Fast and Simple Mbox Folder Reader
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Requires: perl-FileHandle-Unget
|
||||
AutoReqProv: on
|
||||
Source: Mail-Mbox-MessageParser-%{version}.tar.gz
|
||||
Url: http://search.cpan.org/dist/Mail-Mbox-MessageParser/
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DC/DCOPPIT/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(File::Path) >= 2.080000
|
||||
BuildRequires: perl(FileHandle::Unget)
|
||||
BuildRequires: perl(Test::Compile)
|
||||
BuildRequires: perl(Text::Diff)
|
||||
BuildRequires: perl(UNIVERSAL::require)
|
||||
Requires: perl(FileHandle::Unget)
|
||||
%{perl_requires}
|
||||
Requires: perl-Text-Diff
|
||||
BuildRequires: perl-Text-Diff
|
||||
|
||||
%description
|
||||
Mail::Mbox::MessageParser is a feature-poor but very fast mbox parser.
|
||||
It uses the best of three strategies for parsing a mailbox: either
|
||||
using cached folder information, GNU grep, or highly optimized Perl.
|
||||
This module implements a fast but simple mbox folder reader. One of three
|
||||
implementations (Cache, Grep, Perl) will be used depending on the wishes of
|
||||
the user and the system configuration. The first implementation is a
|
||||
cached-based one which stores email information about mailboxes on the file
|
||||
system. Subsequent accesses will be faster because no analysis of the
|
||||
mailbox will be needed. The second implementation is one based on GNU grep,
|
||||
and is significantly faster than the Perl version for mailboxes which
|
||||
contain very large (10MB) emails. The final implementation is a fast
|
||||
Perl-based one which should always be applicable.
|
||||
|
||||
The Cache implementation is about 6 times faster than the standard Perl
|
||||
implementation. The Grep implementation is about 4 times faster than the
|
||||
standard Perl implementation. If you have GNU grep, it's best to enable
|
||||
both the Cache and Grep implementations. If the cache information is
|
||||
available, you'll get very fast speeds. Otherwise, you'll take about a 1/3
|
||||
performance hit when the Grep version is used instead.
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
David Coppit <david@coppit.org>
|
||||
The overriding requirement for this module is speed. If you wish more
|
||||
sophisticated parsing, use Mail::MboxParser (which is based on this module)
|
||||
or Mail::Box.
|
||||
|
||||
%prep
|
||||
%setup -q -n Mail-Mbox-MessageParser-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=site \
|
||||
BZIP=/usr/bin/bzip2 BZIP2=/usr/bin/bzip2 DIFF=/usr/bin/diff GREP=/usr/bin/grep GZIP=/usr/bin/gzip TZIP=
|
||||
make %{?_smp_mflags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
[ "$RPM_BUILD_ROOT" != "/" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr (-, root, root)
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/Mail
|
||||
%{perl_vendorarch}/auto/Mail
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc anonymize_mailbox CHANGES README TODO
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user