Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
scim-pinyin
scim-pinyin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scim-pinyin.spec of Package scim-pinyin
# # spec file for package scim-pinyin (Version 0.5.91.20060705) # # Copyright (c) 2010 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 %if %suse_version > 1120 %bcond_with skim %else %bcond_without skim %endif Name: scim-pinyin BuildRequires: gcc-c++ gtk2-devel scim-devel %if %{with skim} BuildRequires: kdelibs3-devel skim %endif Version: 0.5.91.20060705 Release: 267 License: GPLv2+ Group: System/I18n/Chinese AutoReqProv: on Provides: locale(scim:zh) PreReq: gconf2 libxml2 orbit2 glib2 Obsoletes: scim-chinese Provides: scim-chinese Url: http://www.scim-im.org/ # CVS repository: # cvs -d:pserver:anonymous@scim.cvs.sourceforge.net:/cvsroot/scim login # cvs -z3 -d:pserver:anonymous@scim.cvs.sourceforge.net:/cvsroot/scim co scim-pinyin Source0: scim-pinyin-0.5.91.20060705.tar.bz2 Patch2: missing-includes.patch Patch3: scim-pinyin-0.5.91-fix-load.patch Patch4: scim-pinyin-0.5.91-save-in-temp.patch Patch5: add-configure.patch.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Intelligent Pinyin input module for Smart Chinese/Common Input Method platform %description Intelligent Pinyin input module for Smart Chinese/Common Input Method platform %if %{with skim} %package -n scim-pinyin-skim License: GPLv2+ Summary: skim setup module for scim-pinyin Group: System/I18n/Chinese Requires: %{name} = %{version} Provides: locale(skim:zh) %description -n scim-pinyin-skim skim setup module for scim-pinyin %endif %prep %define scim_binary_version 1.4.0 %setup -q -n %{name}-%{version} %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 chmod a+x configure skim/configure %build export QTDIR=/usr/lib/qt3 export KDEDIR=/opt/kde3 export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr \ --sysconfdir=%{_sysconfdir} \ --libdir=%{_libdir} \ --disable-static \ --disable-schemas-install \ --with-gconf-schema-file-dir=/etc/opt/gnome/gconf/schemas \ --enable-debug make %if %{with skim} make -C skim %endif %install export QTDIR=/usr/lib/qt3 export KDEDIR=/opt/kde3 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make DESTDIR=${RPM_BUILD_ROOT} install %if %{with skim} make -C skim DESTDIR=${RPM_BUILD_ROOT} install %endif unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/%{scim_binary_version}/*/*.la %find_lang scim-pinyin %if %{with skim} %find_lang skim-scim-pinyin %endif %clean # %post # export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source` # opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/scim-chinese.schemas >/dev/null %files -f scim-pinyin.lang %defattr(-, root, root) %doc AUTHORS COPYING NEWS README ChangeLog #%config %{_sysconfdir}/opt/gnome/gconf/schemas/* %dir %{_libdir}/scim-1.0/ %dir %{_libdir}/scim-1.0/%{scim_binary_version}/ %dir %{_libdir}/scim-1.0/%{scim_binary_version}/IMEngine/ %{_libdir}/scim-1.0/%{scim_binary_version}/IMEngine/pinyin.so %dir %{_libdir}/scim-1.0/%{scim_binary_version}/SetupUI/ %{_libdir}/scim-1.0/%{scim_binary_version}/SetupUI/pinyin-imengine-setup.so %dir %{_datadir}/scim/ %dir %{_datadir}/scim/pinyin/ %{_datadir}/scim/pinyin/* %dir %{_datadir}/scim/icons/ %{_datadir}/scim/icons/smart-pinyin.png %if %{with skim} %files -n scim-pinyin-skim -f skim-scim-pinyin.lang %defattr(-, root, root) %dir /opt/kde3/share/apps/skim/ /opt/kde3/share/apps/skim/* /opt/kde3/share/config.kcfg/* /opt/kde3/share/services/* /opt/kde3/%{_lib}/kde3/* %endif %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