11
0

Compare commits

4 Commits

Author SHA256 Message Date
Alessio Biancalana
60cce58ad7 fix: mention README.md in the specfile 2025-09-01 10:41:25 +02:00
9552a36af7 Add manual dependencies and license 2025-08-29 15:55:51 +02:00
a13fcc2468 Add manual dependencies and license 2025-08-27 20:07:42 +02:00
97add02197 Add Gitea build results 2025-08-12 18:18:03 +02:00
4 changed files with 93 additions and 28 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Text-Kakasi/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Text-Kakasi)

40
cpanspec.yml Normal file
View 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

View File

@@ -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 Sat Jul 19 18:07:07 UTC 2014 - schwab@linux-m68k.org

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Text-Kakasi # 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 # 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
@@ -12,45 +12,53 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Name: perl-Text-Kakasi
BuildRequires: kakasi-devel
Requires: kakasi >= 2.3.4
Version: 2.04 Version: 2.04
Release: 0 Release: 0
Url: http://www.daionet.gr.jp/~knok/kakasi/ #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.
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/Text-Kakasi-2.04.tar.gz License: GPL-2.0-or-later
BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Perl frontend to kakasi
Summary: Perl binding for KAKASI, the kanji kana simple inverter URL: https://metacpan.org/release/%{cpan_name}
License: GPL-2.0+ Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/%{cpan_name}-%{version}.tar.gz
Group: Development/Libraries/Perl Source1: cpanspec.yml
%{perl_requires} Source100: README.md
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
# Summary(ja): KAKASIを perlから利用するためのモジュールです。 %{perl_requires}
# %description -l ja # MANUAL BEGIN
# このモジュールは、高橋裕信さんの作成されたソフトウェアKAKASIを BuildRequires: glibc-devel
# perlから用いるためのものです。 BuildRequires: kakasi-devel
# BuildRequires: kakasi-dict
# このモジュールを使うためには、最新版のKAKASI(2.3.0以降)が必要です。最 Requires: kakasi >= 2.3.4
# 新版に関しては、<http://kakasi.namazu.org/>を参照してください。 # MANUAL END
%description %description
This module provides libkakasi interface for perl. libkakasi is a part This module provides interface to kakasi (kanji kana simple inverter).
of KAKASI. KAKASI is the language processing filter to convert Kanji kakasi is a set of programs and libraries which does what Japanese input
characters to Hiragana, Katakana or Romaji and may be helpful to read methods do in reverse order. You feed Japanese and kakasi converts it to
Japanese documents. More information about KAKASI is available at phonetic representation thereof. kakasi can also be used to tokenizing
<http://kakasi.namazu.org/>. 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 %prep
%setup -n Text-Kakasi-%{version} %autosetup -n %{cpan_name}-%{version} -p1
%build %build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags} %make_build
%check
make test
%install %install
%perl_make_install %perl_make_install
@@ -58,7 +66,7 @@ make %{?_smp_mflags}
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root) %doc ChangeLog.1 Changes README README.jp
%doc COPYING Changes ChangeLog* MANIFEST README* %license COPYING
%changelog %changelog