8
0
2018-03-07 09:34:43 +00:00
committed by Git OBS Bridge
5 changed files with 60 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d0168da09d82c9f15572dce8494c293ff4b8c7d34566bbd590a7cff9267c5cad
size 19204

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3afb84232930b9ac5b1ada383c8dd5907ae4e23aec5abb016f70f9e8053cdc8a
size 18777

28
cpanspec.yml Normal file
View File

@@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Feb 27 07:00:04 UTC 2018 - coolo@suse.com
- updated to 0.12
see /usr/share/doc/packages/perl-String-ToIdentifier-EN/Changes
0.12 2018-02-26 04:04:09
- re-release dist with updated dist files gh#2
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 21 07:19:10 UTC 2015 - coolo@suse.com Wed Jan 21 07:19:10 UTC 2015 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-String-ToIdentifier-EN # spec file for package perl-String-ToIdentifier-EN
# #
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,37 +17,36 @@
Name: perl-String-ToIdentifier-EN Name: perl-String-ToIdentifier-EN
Version: 0.11 Version: 0.12
Release: 0 Release: 0
%define cpan_name String-ToIdentifier-EN %define cpan_name String-ToIdentifier-EN
Summary: Convert Strings to English Program Identifiers Summary: Convert Strings to English Program Identifiers
License: Artistic-1.0 or GPL-1.0+ License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/String-ToIdentifier-EN/ Url: http://search.cpan.org/dist/String-ToIdentifier-EN/
Source: http://www.cpan.org/authors/id/R/RK/RKITOVER/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/R/RK/RKITOVER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Lingua::EN::Inflect::Phrase) >= 0.07 BuildRequires: perl(Lingua::EN::Inflect::Phrase)
BuildRequires: perl(Test::More) >= 0.92 BuildRequires: perl(Text::Unidecode)
BuildRequires: perl(Text::Unidecode) >= 0.04 BuildRequires: perl(namespace::clean)
BuildRequires: perl(namespace::clean) >= 0.20 Requires: perl(Lingua::EN::Inflect::Phrase)
Requires: perl(Lingua::EN::Inflect::Phrase) >= 0.07 Requires: perl(Text::Unidecode)
Requires: perl(Text::Unidecode) >= 0.04 Requires: perl(namespace::clean)
Requires: perl(namespace::clean) >= 0.20
%{perl_requires} %{perl_requires}
%description %description
This module provides a utility method, the /to_identifier manpage for This module provides a utility method, to_identifier for converting an
converting an arbitrary string into a readable representation using the arbitrary string into a readable representation using the ASCII subset of
ASCII subset of '\w' for use as an identifier in a computer program. The '\w' for use as an identifier in a computer program. The intent is to make
intent is to make unique identifier names from which the content of the unique identifier names from which the content of the original string can
original string can be easily inferred by a human just by reading the be easily inferred by a human just by reading the identifier.
identifier.
If you need the full set of '\w' including Unicode, see the subclass the If you need the full set of '\w' including Unicode, see the subclass
String::ToIdentifier::EN::Unicode manpage. String::ToIdentifier::EN::Unicode.
Currently, this process is one way only, and will likely remain this way. Currently, this process is one way only, and will likely remain this way.
@@ -74,6 +73,7 @@ to make them easier to read, e.g.: 'foo_2_0xFF_Bar'.
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc Changes LICENSE README %doc Changes README
%license LICENSE
%changelog %changelog