diff --git a/Text-Autoformat-1.13.tar.gz b/Text-Autoformat-1.13.tar.gz new file mode 100644 index 0000000..363f02d --- /dev/null +++ b/Text-Autoformat-1.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b32ab81d1ff4d1b3c87b29c88904b2440beb9b9333bf59eff1280750ae1fc006 +size 17431 diff --git a/Text-Autoformat-1.669002.tar.bz2 b/Text-Autoformat-1.669002.tar.bz2 deleted file mode 100644 index b5ab0b8..0000000 --- a/Text-Autoformat-1.669002.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:36469187c82fd4d039a056479764ae45800d6645cd8acba20fede8816cb4c073 -size 19572 diff --git a/perl-Text-Autoformat.changes b/perl-Text-Autoformat.changes index 0b81e85..0fb80f1 100644 --- a/perl-Text-Autoformat.changes +++ b/perl-Text-Autoformat.changes @@ -1,33 +1,3 @@ -------------------------------------------------------------------- -Tue Jul 27 12:34:37 UTC 2010 - chris@computersalat.de - -- update to 1.669002 - - Patched missing case in 'ignore' option handling (thanks Alan) -- 1.669001 Fri May 28 07:38:36 2010 - - Added major improvements to the 'ignore' option (thanks Dan!) -- 1.668001 Sat Apr 3 15:38:55 2010 - - Removed spurious debugging statement in bad Pod. (Thanks Chris) -- 1.666.0 Fri Apr 17 08:00:36 2009 - - No changes logged -1.14.0 Sun Sep 30 04:29:29 2007 - - Fixed bug in handling empty mail messages - - Fixed bug in handling sig delimiters - - Fixed bug in paragraph ignoring code (thanks Rob) - - Fixed bug in handling whitespace-only input (thanks Ed) - - Fixed bug in Roman numerals (thanks Suresh) - - Fixed overeager autocentering (thanks Suresh) - - Enhanced 'lists' option to allow only specific types of lists - to be recognized (thanks Rob) - - Fixed bug in numbered hangs (thanks Rob) - - Fixed bug in Roman numeraled hangs (thanks Rob) - - Fixed misidentification of 8:20-style times as leading numbers (thanks - Rob) - - Fixed sentence mode (thanks Eric) - - Changed licence to "same terms as Perl itself" to improve Fedora - compatibility -- recreated by cpanspec 1.78 -- noarch pkg - ------------------------------------------------------------------- Thu Mar 4 23:46:18 UTC 2010 - chris@computersalat.de diff --git a/perl-Text-Autoformat.spec b/perl-Text-Autoformat.spec index fe54f1a..b13b675 100644 --- a/perl-Text-Autoformat.spec +++ b/perl-Text-Autoformat.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-Text-Autoformat (Version 1.669002) +# spec file for package perl-Text-Autoformat (Version 1.13) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,29 +17,27 @@ # norootforbuild + Name: perl-Text-Autoformat -%define cpan_name Text-Autoformat -Summary: Automatic text wrapping and reformatting -Version: 1.669002 -Release: 1 -License: CHECK(GPL+ or Artistic) +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) +Summary: Automatic and manual text wrapping and reformating +Version: 1.13 +Release: 3 +License: Perl Artistic License Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Text-Autoformat/ -#Source: http://www.cpan.org/modules/by-module/Text/Text-Autoformat-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.bz2 -BuildArch: noarch +Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Text-Autoformat-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl -BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) %if 0%{?suse_version} < 1120 BuildRequires: perl-macros %endif -BuildRequires: perl(Test::More) BuildRequires: perl(Text::Reform) >= 1.11 -BuildRequires: perl(version) +# Requires: perl = %{perl_version} Requires: perl(Text::Reform) >= 1.11 -Requires: perl(version) +Provides: %{cpan_name} %description Text::Autoformat provides intelligent formatting of @@ -55,29 +53,32 @@ replacement for the built-in Perl format() mechanism. Author: ------- - Damian Conway + Damian Conway (damian@conway.org) %prep %setup -q -n %{cpan_name}-%{version} -#rpmlint: spurious-executable-perm -%{__chmod} a-x config.{vim,emacs} +# Prevent rpmlint errors +chmod -x Changes +chmod -x README +chmod -x lib/Text/Autoformat.pm %build -%{__perl} Build.PL installdirs=vendor -./Build +%{__perl} Makefile.PL +%{__make} %{?_smp_mflags} %check -./Build test +%{__make} test %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +%perl_make_install +%perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files -%defattr(-,root,root,-) -%doc Changes config.emacs config.vim README +%defattr(-, root, root) +%doc Changes README %changelog