Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
nkf
nkf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nkf.spec of Package nkf
# # spec file for package nkf (Version 2.0.5) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: nkf License: BSD License and BSD-like Group: System/I18n/Japanese Requires: perl = %{perl_version} Autoreqprov: on Provides: locale(ja) Version: 2.0.5 Release: 35 Url: http://sourceforge.jp/projects/nkf/ # http://www01.tcp-ip.or.jp/~furukawa/nkf_utf8/ Source0: nkf205.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Network Kanji Code Conversion Filter # Summary(ja): ネットワーク用漢字コード変換フィルタ # %description -l ja # nkfはネットワークでメールやニュースの読み書きをするために作られた、漢 # 字コードの変換フィルタである。 # # このnkfの特徴としては、入力漢字コード系の統計的な自動認識機能がある。 # このため、利用者は、入力漢字コード系が何であるかを知らなくても、出力漢字 # コード系のみ指定すれば良いことになる。ただ、この判定機構は、理論的には完 # 全ではないが、通常のニュースやメールのメッセージについては確実に動作する # 安全なものにはなっている。 # # 現在、nkfが認識できる入力の漢字コード系は、いわゆる「JISコード」(ISO- # 2022-JPに基づくもの)、MS漢字コード(シフトJIS)、日本語EUC(AT&Tコード)のい # ずれかである。出力する漢字コード系も、この3種類である。 # # Authors: # -------- # Itaru ICHIKAWA <ichikawa@flab.fujitsu.co.jp> # Akihiko Kuroe <a_kuroe@hoffman.cc.sophia.ac.jp> # Shinji KONO <kono@ie.u-ryukyu.ac.jp> %description Nkf is a yet another Kanji code converter among networks, hosts, and terminals. It converts input Kanji code to designated Kanji code, such as 7-bit JIS, MS-kanji (shifted-JIS) or EUC. One of the most unique facility of nkf is the guess of the input kanji code. It currently recognizes 7-bit JIS, MS-kanji (shifted-JIS), and EUC. So users do not need the input Kanji code specification. By default, X0201 kana is converted into X0208 kana. For X0201 kana, SO/SI, SSO and ESC-(-I methods are supported. For automatic code detection, nkf assumes no X0201 kana in MS-Kanji. To accept X0201 in MS-Kanji, use -X, -x, or -S. Authors: -------- Itaru ICHIKAWA <ichikawa@flab.fujitsu.co.jp> Akihiko Kuroe <a_kuroe@hoffman.cc.sophia.ac.jp> Shinji KONO <kono@ie.u-ryukyu.ac.jp> %package -n perl-NKF Group: Development/Libraries/Perl Requires: perl >= 5.6.0 Summary: Perl extension for nkf (Network Kanji Filter) # Summary(ja): Perl拡張モジュール版NKF # %description -n perl-NKF -l ja # これは、Perl から nkf を使う拡張モジュールです。 # # 使い方は、 # # use NKF; # $output = nkf($flag,$input); # # のように使います。flag は、nkf と同じです。 # # Authors: # -------- # # Shinji Kono <kono@ie.u-ryukyu.ac.jp> %description -n perl-NKF This is a Perl Extension version of nkf (Network Kanji Filter ) 1.9. Usage: use NKF; $output = nkf($flag,$input); $flag has the same meaning as with nkf. Authors: -------- Shinji Kono <kono@ie.u-ryukyu.ac.jp> %prep %setup -n nkf205 iconv -f ISO-2022-JP -t EUC-JP nkf.1j > nkf.1j.EUC-JP mv nkf.1j.EUC-JP nkf.1j %build export CFLAGS="$RPM_OPT_FLAGS" make CFLAGS="$RPM_OPT_FLAGS" make test make perl %install [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; install -d %{buildroot}/usr/bin install -d %{buildroot}%{_mandir}/ja/man1/ install -d %{buildroot}%{_mandir}/man1 install -m 755 nkf %{buildroot}/usr/bin/nkf install -m 644 nkf.1 %{buildroot}%{_mandir}/man1 install -m 644 nkf.1j \ %{buildroot}%{_mandir}/ja/man1/nkf.1 make -C NKF.mod DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %files %defattr(-,root,root) %doc nkf.doc /usr/bin/nkf %{_mandir}/man1/nkf.1.gz %{_mandir}/ja/man1/nkf.1.gz %files -n perl-NKF %defattr(-,root,root) %{_mandir}/man3/NKF.3pm.gz %{perl_vendorarch}/NKF.pm %{perl_vendorarch}/auto/NKF/ /var/adm/perl-modules/* %changelog -n nkf * Thu Jan 25 2007 - meissner@suse.de - use RPM_OPT_FLAGS * Tue Feb 28 2006 - mfabian@suse.de - add "Provides: locale(ja)". * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 13 2006 - mfabian@suse.de - update to 2.0.5 to fix bugzilla #143032. * Sun Jan 11 2004 - adrian@suse.de - fix build as user * Wed Aug 20 2003 - mjancar@suse.cz - require the perl version we build with * Thu Jul 31 2003 - mfabian@suse.de - update to 2.0.2 * now with UTF-8 support - remove obsolete patch which was needed namazu, it's included in the new version already. * Wed Jul 16 2003 - mfabian@suse.de - use vendorarch instead of sitearch for perl sub-package. - use %%perl_process_packlist and simplify file list. * Wed Jul 16 2003 - mfabian@suse.de - use vendorarch instead of sitearch. - simplify file list. * Fri May 16 2003 - mfabian@suse.de - remove perllocal.pod from file list. * Fri Dec 20 2002 - mfabian@suse.de - convert Japanese manpage from ISO-2022-JP to EUC-JP * Thu Nov 01 2001 - mfabian@suse.de - add nkf192-namazu.patch required to make nkf work correctly with namazu. * Thu Nov 01 2001 - mfabian@suse.de - update to nkf-1.92p2 - add new subpackage perl-NKF * Thu Aug 10 2000 - mfabian@suse.de - moved Japanese manpage from "ja_JP.ujis" subdirectory to "ja" subdirectory. * Tue May 30 2000 - wede@suse.de - created package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor