2009-12-26 14:42:52 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package perl-Text-Quoted
|
|
|
|
|
#
|
2013-09-26 19:33:45 +00:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-11-18 08:28:40 +00:00
|
|
|
#
|
|
|
|
|
# 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/
|
|
|
|
|
#
|
2009-12-26 14:42:52 +00:00
|
|
|
|
2011-11-18 08:28:40 +00:00
|
|
|
|
|
|
|
|
Name: perl-Text-Quoted
|
|
|
|
|
%define real_name Text-Quoted
|
|
|
|
|
Summary: Extract the structure of a quoted mail message
|
2013-09-26 19:33:45 +00:00
|
|
|
License: Artistic-1.0
|
2011-11-18 08:28:40 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2013-09-26 19:33:45 +00:00
|
|
|
Url: http://search.cpan.org/perldoc?Text::Quoted
|
|
|
|
|
Version: 2.08
|
|
|
|
|
Release: 0
|
2011-11-18 08:28:40 +00:00
|
|
|
Source: %{real_name}-%{version}.tar.gz
|
|
|
|
|
BuildRequires: perl-Text-Autoformat
|
2013-09-26 19:33:45 +00:00
|
|
|
BuildRequires: perl-macros
|
2011-11-18 08:28:40 +00:00
|
|
|
Requires: perl-Text-Autoformat
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:54:00 +00:00
|
|
|
%{perl_requires}
|
2009-12-26 14:42:52 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Text::Quoted examines the structure of some text which may contain multiple
|
|
|
|
|
different levels of quoting, and turns the text into a nested data structure.
|
|
|
|
|
|
|
|
|
|
The structure is an array reference containing hash references for each
|
|
|
|
|
paragraph belonging to the same author. Each level of quoting recursively adds
|
|
|
|
|
another list reference.
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Kasei Limited
|
|
|
|
|
Simon Cozens
|
|
|
|
|
Best Practical Solutions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -n %{real_name}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL
|
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%perl_make_install
|
|
|
|
|
%perl_process_packlist
|
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
%doc Changes README MANIFEST
|
|
|
|
|
|
2011-11-18 08:28:40 +00:00
|
|
|
%changelog
|