forked from pool/perl-String-ToIdentifier-EN
Accepting request 582482 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/582482 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-String-ToIdentifier-EN?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d0168da09d82c9f15572dce8494c293ff4b8c7d34566bbd590a7cff9267c5cad
|
||||
size 19204
|
3
String-ToIdentifier-EN-0.12.tar.gz
Normal file
3
String-ToIdentifier-EN-0.12.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3afb84232930b9ac5b1ada383c8dd5907ae4e23aec5abb016f70f9e8053cdc8a
|
||||
size 18777
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal 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
|
@@ -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
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,37 +17,36 @@
|
||||
|
||||
|
||||
Name: perl-String-ToIdentifier-EN
|
||||
Version: 0.11
|
||||
Version: 0.12
|
||||
Release: 0
|
||||
%define cpan_name String-ToIdentifier-EN
|
||||
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
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Lingua::EN::Inflect::Phrase) >= 0.07
|
||||
BuildRequires: perl(Test::More) >= 0.92
|
||||
BuildRequires: perl(Text::Unidecode) >= 0.04
|
||||
BuildRequires: perl(namespace::clean) >= 0.20
|
||||
Requires: perl(Lingua::EN::Inflect::Phrase) >= 0.07
|
||||
Requires: perl(Text::Unidecode) >= 0.04
|
||||
Requires: perl(namespace::clean) >= 0.20
|
||||
BuildRequires: perl(Lingua::EN::Inflect::Phrase)
|
||||
BuildRequires: perl(Text::Unidecode)
|
||||
BuildRequires: perl(namespace::clean)
|
||||
Requires: perl(Lingua::EN::Inflect::Phrase)
|
||||
Requires: perl(Text::Unidecode)
|
||||
Requires: perl(namespace::clean)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This module provides a utility method, the /to_identifier manpage for
|
||||
converting an arbitrary string into a readable representation using the
|
||||
ASCII subset of '\w' for use as an identifier in a computer program. The
|
||||
intent is to make unique identifier names from which the content of the
|
||||
original string can be easily inferred by a human just by reading the
|
||||
identifier.
|
||||
This module provides a utility method, to_identifier for converting an
|
||||
arbitrary string into a readable representation using the ASCII subset of
|
||||
'\w' for use as an identifier in a computer program. The intent is to make
|
||||
unique identifier names from which the content of the original string can
|
||||
be easily inferred by a human just by reading the identifier.
|
||||
|
||||
If you need the full set of '\w' including Unicode, see the subclass the
|
||||
String::ToIdentifier::EN::Unicode manpage.
|
||||
If you need the full set of '\w' including Unicode, see the subclass
|
||||
String::ToIdentifier::EN::Unicode.
|
||||
|
||||
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
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user