Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
kinput2
kinput2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kinput2.spec of Package kinput2
# # spec file for package kinput2 # # Copyright (c) 2013 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/ # Name: kinput2 BuildRequires: canna-devel BuildRequires: fwnndev BuildRequires: xorg-x11-devel %define xprefix %{_prefix} %define xbindir %{_bindir} %define xmandir %{_mandir} %define appdefdir /usr/share/X11 %define xincludes /usr/include %define xlibraries /usr/%{_lib} Version: v3.1 Release: 0 # URL: Source0: ftp://ftp.sra.co.jp/pub/x11/kinput2/%{name}-v3.1.tar.bz2 Source10: etc-x11-xim.d-kinput2-canna Source11: etc-x11-xim.d-kinput2-wnn Patch0: kinput2.app-defaults.patch Patch1: Kinput2.conf.patch Patch2: kinput2.man-page.patch Patch3: %{name}-v3.1-beta3.dif Patch4: %{name}-v3.1-beta3-java.dif Patch5: kinput2-v3.1-rootwindow-1.patch Patch6: reset_state.patch Patch7: kinput2-nonvoid.patch Patch8: 64bit.patch Patch9: bugzilla-47203-keep-auxiliary-windows-on-top.patch Patch10: bugzilla-63978-hoge.patch Patch11: bugzilla-62553-spotlocation.patch Patch12: %{name}-%{version}-prototypes.patch Patch13: canna_c-warn.diff Patch14: bugzilla-137396-cannot-work-after-specific-function-calls.patch Patch15: bugzilla-368441-local-variable-used-before-set.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Kanji Input Server for the X Window System License: HPND Group: System/I18n/Japanese # Summary(ja): X用日本語入力サーバ # %description -l ja # Kinput2は日本語入力を必要とするXアプリケーション用の入力サーバーです。 %description Kinput2 is an input server for X Window System applications that require Japanese text input. %prep %setup0 -n %{name}-v3.1 %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 # doesn't help for this version of kinput2, Java problem still exists. #%patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 %patch14 -p1 %patch15 -p1 head -n 21 cmd/kinput2.c > Copyright %build # edit Kinput2.conf here ... #sed -e 's/#define UseSj3/#undef UseSj3/' Kinput2.conf > Kinput2.conf.sed #mv Kinput2.conf.sed Kinput2.conf #sed -e 's/\/\* #define UseWnn \*\//#define UseWnn/' Kinput2.conf > Kinput2.conf.sed #mv Kinput2.conf.sed Kinput2.conf xmkmf make Makefiles make depend make CCOPTIONS="$RPM_OPT_FLAGS" %install make install DESTDIR=$RPM_BUILD_ROOT make install.man MANSUFFIX=1 LIBMANSUFFIX=3 DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc/X11/xim.d/ja install -m 644 $RPM_SOURCE_DIR/etc-x11-xim.d-kinput2-canna \ $RPM_BUILD_ROOT/etc/X11/xim.d/kinput2-canna install -m 644 $RPM_SOURCE_DIR/etc-x11-xim.d-kinput2-wnn \ $RPM_BUILD_ROOT/etc/X11/xim.d/kinput2-wnn pushd $RPM_BUILD_ROOT/etc/X11/xim.d/ ln -s kinput2-canna kinput2 pushd ja ln -s ../kinput2-canna 70-kinput2-canna ln -s ../kinput2-wnn 71-kinput2-wnn popd popd %clean %files %defattr(-, root, root) %doc Copyright NEWS doc %doc client/README %dir /etc/X11/xim.d/ /etc/X11/xim.d/* %{xbindir}/* %config %{appdefdir}/app-defaults %doc %{xmandir}/*/* %dir %{xprefix}/lib/X11/ccdef/ %{xprefix}/lib/X11/ccdef/* %changelog
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