Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:candyz
oxim
oxim.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File oxim.spec of Package oxim
Name: oxim Version: 1.1.1 Release: 1 Summary: Open X Input Method Server Group: System/I18n/Chinese License: GPL URL: http://www.opendesktop.org.tw/demopage/oxim/ Source0: ftp://ftp.opendesktop.org.tw/odp/OXIM/Source/%{name}-%{version}.tar.gz Source1: xim.d-oxim Source2: xim.oxim.suse.template Source3: oxim-README.suse Source4: oxim-setup.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: zlib-devel, gtk2-devel, qt3-devel >= 3.2.2 BuildRequires: libtabe-devel >= 0.2.6, libchewing-devel >= 0.2.6 BuildRequires: xorg-x11-devel, qt3 Requires: zlib, gtk2, libtabe >= 0.2.6, qt3 >= 3.2.2, libchewing >= 0.2.6 %description Oxim is an X Input Method Server. %prep %setup -q %build unset QTDIR if [ -f /etc/profile.d/qt3.sh ]; then . /etc/profile.d/qt3.sh else QTDIR=/usr/lib/qt3 fi %define qt_dir %(echo $QTDIR) CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --libdir=%{_libdir} \ --enable-static=no \ --with-qt-dir=${QTDIR} \ --with-tabe-lib=%{_libdir} \ --with-tabe-data=%{_libdir}/libtabe make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/X11/xinit/xinput.d/oxim mkdir -p $RPM_BUILD_ROOT/etc/X11/xim.d/ install -m 644 $RPM_SOURCE_DIR/xim.d-oxim $RPM_BUILD_ROOT/%{_sysconfdir}/X11/xim.d/oxim find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} \; pushd $RPM_BUILD_ROOT/etc/X11/xim.d/ for lang in zh_TW zh_HK zh_CN zh_SG ; do mkdir $lang pushd $lang ln -s ../oxim 20-oxim popd done popd %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig # trigger run of SuSEconfig.gtk2 to register/unregister this input module # by calling gtk-query-immodules-2.0: touch var/adm/SuSEconfig/run-gtk %postun /sbin/ldconfig # trigger run of SuSEconfig.gtk2 to register/unregister this input module # by calling gtk-query-immodules-2.0: touch var/adm/SuSEconfig/run-gtk %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog INSTALL README %doc $RPM_SOURCE_DIR/xim.oxim.suse.template %doc $RPM_SOURCE_DIR/oxim-README.suse %config(noreplace) %{_sysconfdir}/X11/xim.d/oxim %config(noreplace) %{_sysconfdir}/X11/xim.d/*/20-oxim %dir %{_sysconfdir}/oxim %config(noreplace) %{_sysconfdir}/oxim/* %{_bindir}/oxim* %{_libdir}/liboxim.so* %dir %{_libdir}/oxim %dir %{_libdir}/oxim/immodules %{_libdir}/oxim/immodules/* %dir %{_libdir}/oxim/modules %{_libdir}/oxim/modules/* %{_libdir}/oxim/panels/defaultkeyboard.* %dir %{_libdir}/oxim/tables %{_libdir}/oxim/tables/* %{qt_dir}/plugins/inputmethods/qt-im-oxim.so /opt/gnome/lib/gtk-2.0/immodules/gtk-im-oxim.so %changelog * Mon Sep 25 2006 Chung-Yen Chang <candyz0416@gmail.com> - 1.1.1-1 - Update to 1.1.1 * Tue Sep 12 2006 Chung-Yen Chang <candyz0416@gmail.com> - 1.1.0-2 - fix x86_64 problems * Thu Aug 31 2006 Chung-Yen Chang <candyz0416@gmail.com> - 1.1.0-1 - Initial Release
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