2009-12-26 14:42:52 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package perl-Text-Quoted
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
Name: perl-Text-Quoted
|
|
|
|
|
%define real_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
|
|
|
Summary: Extract the structure of a quoted mail message
|
|
|
|
|
Url: http://search.cpan.org/perldoc?Text::Quoted
|
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
|
License: Artistic License
|
2010-03-16 08:56:38 +00:00
|
|
|
Version: 2.06
|
2009-12-26 14:42:52 +00:00
|
|
|
Release: 1
|
|
|
|
|
Vendor: openSUSE-Education
|
|
|
|
|
Source: %{real_name}-%{version}.tar.bz2
|
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
BuildRequires: perl-Text-Autoformat
|
2009-12-26 18:59:38 +00:00
|
|
|
Requires: perl-Text-Autoformat
|
2009-12-26 14:42:52 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
%changelog
|