Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
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 # # Copyright (c) 2012 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/ # %define scim_gtk3 1 %if %suse_version > 1120 %bcond_with skim %else %bcond_without skim %endif Name: scim-pinyin BuildRequires: gcc-c++ BuildRequires: scim-devel %if %{with skim} BuildRequires: kdelibs3-devel BuildRequires: qt3-devel BuildRequires: skim %endif BuildRequires: xz Version: 0.5.92 Release: 0 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: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Intelligent Pinyin input module for Smart Chinese/Common Input Method platform License: GPL-2.0+ Group: System/I18n/Chinese %description Intelligent Pinyin input module for Smart Chinese/Common Input Method platform %if %{with skim} %package -n scim-pinyin-skim 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} chmod a+x 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