Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
60cce58ad7 | ||
9552a36af7 | |||
a13fcc2468 | |||
97add02197 |
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
## Build Results
|
||||
|
||||
Current state of perl in openSUSE:Factory is
|
||||
|
||||

|
||||
|
||||
The current state of perl in the devel project build (devel:languages:perl)
|
||||
|
||||

|
||||
|
||||
|
40
cpanspec.yml
Normal file
40
cpanspec.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
#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:
|
||||
# baz.patch: PATCH-FIX-OPENSUSE
|
||||
preamble: |-
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: kakasi-devel
|
||||
BuildRequires: kakasi-dict
|
||||
Requires: kakasi >= 2.3.4
|
||||
#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: GPL-2.0+
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
||||
#ignore_provides: Module::To::Ignore
|
||||
#skip_doc: regexp_to_skip_for_doc.*
|
||||
#add_doc: files to add to docs
|
||||
#misc: |-
|
||||
#anything else to be added to spec file
|
||||
#follows directly after %files section, so it can contain new blocks or also
|
||||
#changes to %files section
|
||||
#epoch: number
|
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 29 13:55:38 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Add manual dependencies and license
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 19 18:07:07 UTC 2014 - schwab@linux-m68k.org
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Text-Kakasi
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,45 +12,53 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name Text-Kakasi
|
||||
Name: perl-Text-Kakasi
|
||||
BuildRequires: kakasi-devel
|
||||
Requires: kakasi >= 2.3.4
|
||||
Version: 2.04
|
||||
Release: 0
|
||||
Url: http://www.daionet.gr.jp/~knok/kakasi/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/Text-Kakasi-2.04.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Perl binding for KAKASI, the kanji kana simple inverter
|
||||
License: GPL-2.0+
|
||||
Group: Development/Libraries/Perl
|
||||
%{perl_requires}
|
||||
#Upstream: (C) 1998, 1999, 2000 NOKUBI Takatsugu <knok@daionet.gr.jp> (C) 2003 Dan Kogai <dankogai@dan.co.jp> There is no warranty for this free software. Anyone can modify and/or redistribute this module under GNU GENERAL PUBLIC LICENSE. See COPYING file that is included in the archive for more details.
|
||||
License: GPL-2.0-or-later
|
||||
Summary: Perl frontend to kakasi
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Source100: README.md
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
# Summary(ja): KAKASIを perlから利用するためのモジュールです。
|
||||
# %description -l ja
|
||||
# このモジュールは、高橋裕信さんの作成されたソフトウェアKAKASIを
|
||||
# perlから用いるためのものです。
|
||||
#
|
||||
# このモジュールを使うためには、最新版のKAKASI(2.3.0以降)が必要です。最
|
||||
# 新版に関しては、<http://kakasi.namazu.org/>を参照してください。
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: kakasi-devel
|
||||
BuildRequires: kakasi-dict
|
||||
Requires: kakasi >= 2.3.4
|
||||
# MANUAL END
|
||||
|
||||
%description
|
||||
This module provides libkakasi interface for perl. libkakasi is a part
|
||||
of KAKASI. KAKASI is the language processing filter to convert Kanji
|
||||
characters to Hiragana, Katakana or Romaji and may be helpful to read
|
||||
Japanese documents. More information about KAKASI is available at
|
||||
<http://kakasi.namazu.org/>.
|
||||
This module provides interface to kakasi (kanji kana simple inverter).
|
||||
kakasi is a set of programs and libraries which does what Japanese input
|
||||
methods do in reverse order. You feed Japanese and kakasi converts it to
|
||||
phonetic representation thereof. kakasi can also be used to tokenizing
|
||||
Japanese text. To find more about kakasi, see http://kakasi.namazu.org/ .
|
||||
|
||||
Text::Kakasi now features both functional and object-oriented APIs.
|
||||
functional APIs are 100% compatible with ver. 1.05. But to take advantage
|
||||
of "Perl 5.8 Features", you should use OOP APIs instead.
|
||||
|
||||
See Text::Kakasi::JP for the Japanese version of this document.
|
||||
|
||||
%prep
|
||||
%setup -n Text-Kakasi-%{version}
|
||||
%autosetup -n %{cpan_name}-%{version} -p1
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
@@ -58,7 +66,7 @@ make %{?_smp_mflags}
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING Changes ChangeLog* MANIFEST README*
|
||||
%doc ChangeLog.1 Changes README README.jp
|
||||
%license COPYING
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user