8
0

Compare commits

..

3 Commits

Author SHA256 Message Date
Alessio Biancalana
b76f2c78be fix: avoid cat-ting a headers file previously printed for debug purposes 2025-08-22 10:55:26 +02:00
Alessio Biancalana
0ddf804b43 fix: document spec-cleaner applying in the changes file 2025-08-22 10:15:24 +02:00
Alessio Biancalana
9a7c566b66 fix: add kakasi-devel to buildrequires 2025-08-22 10:05:45 +02:00
3 changed files with 27 additions and 72 deletions

View File

@@ -1,40 +0,0 @@
---
#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,7 +1,8 @@
-------------------------------------------------------------------
Fri Aug 29 13:55:38 UTC 2025 - Tina Müller <tina.mueller@suse.com>
Fri Aug 22 07:43:16 UTC 2025 - Alessio Biancalana <dottorblaster@opensuse.org>
- Add manual dependencies and license
- Add kakasi-devel as a BuildRequires dependency
- Apply spec-cleaner to the rpmspec
-------------------------------------------------------------------
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
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2014 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
@@ -12,61 +12,55 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define cpan_name Text-Kakasi
Name: perl-Text-Kakasi
Version: 2.04
Release: 0
#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.
Summary: Perl binding for KAKASI, the kanji kana simple inverter
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
Group: Development/Libraries/Perl
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
Source100: README.md
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
# MANUAL BEGIN
BuildRequires: glibc-devel
BuildRequires: kakasi-devel
BuildRequires: kakasi-dict
BuildRequires: perl
BuildRequires: perl-macros
Requires: kakasi >= 2.3.4
# MANUAL END
%{perl_requires}
# Summary(ja): KAKASIを perlから利用するためのモジュールです。
# %description -l ja
# このモジュールは、高橋裕信さんの作成されたソフトウェアKAKASIを
# perlから用いるためのものです。
#
# このモジュールを使うためには、最新版のKAKASI(2.3.0以降)が必要です。最
# 新版に関しては、<http://kakasi.namazu.org/>を参照してください。
%description
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.
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/>.
%prep
%autosetup -n %{cpan_name}-%{version} -p1
%setup -q -n Text-Kakasi-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
CFLAGS="%{optflags}" perl Makefile.PL
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc ChangeLog.1 Changes README README.jp
%license COPYING
%doc Changes ChangeLog* MANIFEST README*
%changelog