Sync from SUSE:SLFO:Main perl-Text-WrapI18N revision b9124d14d6fc311d3af54bdf345321a0

This commit is contained in:
Adrian Schröter 2024-05-03 19:02:01 +02:00
commit 2e3065150f
4 changed files with 99 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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-WrapI18N-0.06.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,10 @@
-------------------------------------------------------------------
Wed Feb 1 20:26:55 UTC 2012 - elchevive@opensuse.org
- Spec clean, remove old if (suse 1120) and correct License tag
-------------------------------------------------------------------
Wed Sep 28 16:33:59 CET 2011 - pascal.bleser@opensuse.org
- initial version (0.06)

63
perl-Text-WrapI18N.spec Normal file
View File

@ -0,0 +1,63 @@
#
# spec file for package perl-Text-WrapI18N
#
# Copyright (c) 2012 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-WrapI18N
Version: 0.06
Release: 0
Summary: Line Wrapping Module
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Text-WrapI18N
Source: http://search.cpan.org/CPAN/authors/id/K/KU/KUBOTA/Text-WrapI18N-%{version}.tar.gz
BuildRequires: perl-macros
BuildRequires: perl(Text::CharWidth)
Requires: perl(Text::CharWidth)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildArch: noarch
%description
Line wrapping module with support for multibyte, fullwidth, and combining
characters and languages without whitespaces between words.
%prep
%setup -q -n "Text-WrapI18N-%{version}"
sed -i '/^auto_install/d' Makefile.PL
%build
perl Makefile.PL PREFIX="%{_prefix}"
make %{?_smp_flags}
%install
%perl_make_install
%perl_process_packlist
%check
make test
%clean
%{?buildroot:rm -rf %{buildroot}}
%files
%defattr(-,root,root)
%doc Changes README
%dir %{perl_vendorlib}/Text
%{perl_vendorlib}/Text/WrapI18N.pm
%doc %{perl_man3dir}/Text::WrapI18N.%{perl_man3ext}%{ext_man}
%changelog