Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
jtools
jtools.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jtools.spec of Package jtools
# # spec file for package jtools (Version 1.0) # # Copyright (c) 2009 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # # norootforbuild Name: jtools License: Distributable if kept free Group: Productivity/Text/Utilities #Provides: #Requires: AutoReqProv: on Provides: locale(ja) Version: 1.0 Release: 693 Url: http://www.oreilly.com/people/authors/lunde/j_tools.html Source0: jtools.bz2 Patch0: jtools.suse.patch Patch1: jtools.return.patch Patch2: jtools.getline.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Ken Lunde's Japanese Code Manipulation Tools #Summary(ja): #Obsoletes: %description This is Ken Lunde's suite of Japanese and CJKV code manipulation tools. It consists of: - CJKVConv.pl (a cross-locale CJKV code converter) - jconv, a general-purpose Japanese code conversion tool (JIS, Shift-JIS, EUC) - jcode, a Japanese code inspection tool (JIS, Shift-JIS, EUC) that reads the input file and creates an output file containing all of the characters within the input file along with their electronic codes in octal, decimal, or hexadecimal notation (the default, if none specified, is hexadecimal) - jchar, a generator for various Japanese character sets (JIS, Shift-JIS, EUC) - jgrep, a simplified GREP-like utility that recognizes two-byte character sequences in Japanese Shift-JIS or EUC code Authors: -------- Ken Lunde <lunde@Adobe.COM> %prep %setup0 -n jtools %patch0 -p1 %patch1 %patch2 head -n 104 jconv.c > README.jconv head -n 46 jchar.c > README.jchar head -n 96 jcode.c > README.jcode head -n 121 jgrep.c > README.jgrep head -n 10 cjkvconv.pl > README.cjkvconv %build CC=gcc for i in jconv jcode jchar jgrep do ${CC} $RPM_OPT_FLAGS -o $i $i.c done %install mkdir -p $RPM_BUILD_ROOT/usr/bin for i in jconv jcode jchar jgrep do install -m755 $i $RPM_BUILD_ROOT/usr/bin/$i done install -m755 ./cjkvconv.pl $RPM_BUILD_ROOT/usr/bin/cjkvconv %clean rm -rf $RPM_BUILD_ROOT #%post -p /sbin/ldconfig #%postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHOR Copyright README* /usr/bin/jconv /usr/bin/jcode /usr/bin/jchar /usr/bin/jgrep /usr/bin/cjkvconv %changelog * Sun Jun 07 2009 ro@suse.de - rename getline to my_getline to avoid conflict with function from glibc * Mon May 22 2006 schwab@suse.de - Use RPM_OPT_FLAGS. - Don't strip binaries. * Tue Feb 28 2006 mfabian@suse.de - add "Provides: locale(ja)". * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Wed Oct 05 2005 dmueller@suse.de - add norootforbuild * Mon Sep 11 2000 mfabian@suse.de - remove %%{?suse_update_config}, it is not needed and makes the build fail on 6.4K-i386 * Wed Aug 09 2000 mfabian@suse.de - new package: jtools-1.0
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