Sync from SUSE:SLFO:Main perl-Text-Wrapper revision 4b5a826c1e0c0fc3c3716abb648473c5
This commit is contained in:
commit
e87568f23a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
Text-Wrapper-1.05.tar.gz
(Stored with Git LFS)
Normal file
BIN
Text-Wrapper-1.05.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
29
perl-Text-Wrapper.changes
Normal file
29
perl-Text-Wrapper.changes
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 26 15:26:46 UTC 2014 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
- update to 1.05:
|
||||||
|
+ no functional changes
|
||||||
|
+ additional tests showing all possible breakpoints
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 22 07:12:05 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.04
|
||||||
|
- restore compatibility with Perl 5.8.0 (RT#77386)
|
||||||
|
patch provided by Thomas Sibley
|
||||||
|
- add the wrap_after attribute
|
||||||
|
- now requires Perl 5.10.0 or later
|
||||||
|
- explicitly supports U+2000 - U+200B as breaking spaces
|
||||||
|
- now built with Dist::Zilla (includes v2 META.json)
|
||||||
|
- repository now publicly available on GitHub
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 1 13:35:51 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- switch to perl_requires macro
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 26 18:27:57 UTC 2009 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
- initial version 1.02
|
||||||
|
|
74
perl-Text-Wrapper.spec
Normal file
74
perl-Text-Wrapper.spec
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-Text-Wrapper
|
||||||
|
#
|
||||||
|
# Copyright (c) 2014 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: perl-Text-Wrapper
|
||||||
|
Version: 1.05
|
||||||
|
Release: 0
|
||||||
|
%define cpan_name Text-Wrapper
|
||||||
|
Summary: Word wrap text by breaking long lines
|
||||||
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Url: http://search.cpan.org/dist/Text-Wrapper/
|
||||||
|
Source: http://www.cpan.org/authors/id/C/CJ/CJM/%{cpan_name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
#BuildRequires: perl(Text::Wrapper)
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Text::Wrapper provides simple word wrapping. It breaks long lines, but does
|
||||||
|
not alter spacing or remove existing line breaks. If you're looking for
|
||||||
|
more sophisticated text formatting, try the the Text::Format manpage
|
||||||
|
module.
|
||||||
|
|
||||||
|
Reasons to use Text::Wrapper instead of Text::Format:
|
||||||
|
|
||||||
|
* *
|
||||||
|
|
||||||
|
Text::Wrapper is significantly smaller.
|
||||||
|
|
||||||
|
* *
|
||||||
|
|
||||||
|
It does not alter existing whitespace or combine short lines. It only
|
||||||
|
breaks long lines.
|
||||||
|
|
||||||
|
Again, if Text::Wrapper doesn't meet your needs, try Text::Format.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes example LICENSE README
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user