Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:Update
scim-hangul
scim-hangul.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scim-hangul.spec of Package scim-hangul
# # spec file for package scim-hangul # # 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/ # %if %suse_version > 1120 %bcond_with skim %else %bcond_without skim %endif Name: scim-hangul BuildRequires: gcc-c++ BuildRequires: libhangul-devel BuildRequires: scim-devel %if %{with skim} BuildRequires: kdelibs3-devel BuildRequires: skim %endif Version: 0.3.2 Release: 0 # Provides: locale(scim:ko) 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-hangul Source0: http://mesh.dl.sourceforge.net/sourceforge/scim/scim-hangul-%{version}.tar.bz2 Patch0: build-fix.patch Patch1: mkinstalldirs.patch Patch2: missing-includes.patch Patch3: scim-hangul-gcc47.patch Patch4: gtk-2.12+-gtktooltips-migration.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Hangul Input Method Engine for SCIM License: GPL-2.0+ Group: System/I18n/Korean %description Hangul Input Method Engine for SCIM %if %{with skim} %package -n scim-hangul-skim Summary: skim setup module for scim-hangul Group: System/I18n/Korean Requires: %{name} = %{version} # Provides: locale(skim:ko) %description -n scim-hangul-skim skim setup module for scim-hangul %endif %prep %define scim_binary_version 1.4.0 %define build_setup 1 %setup -q -n %{name}-%{version} %patch0 -p0 %patch1 -p1 %patch2 -p1 %patch3 -p1 %if 0%{?scim_gtk3} %patch4 -p1 %endif %if %{with skim} cp skim/admin/mkinstalldirs . %endif %build #./bootstrap #libtoolize --force #autoreconf -I /opt/gnome/share/aclocal --force --install --verbose export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" export QTDIR=/usr/lib/qt3 export KDEDIR=/opt/kde3 %configure --disable-static \ --enable-debug %if %{with skim} pushd skim ./configure --prefix=$KDEDIR -disable-static \ --enable-debug popd %endif make %if %{with skim} make -C skim %endif %install export QTDIR=/usr/lib/qt3 export KDEDIR=/opt/kde3 make DESTDIR=${RPM_BUILD_ROOT} install %if %{with skim} make -C skim DESTDIR=${RPM_BUILD_ROOT} install %endif rm -f $RPM_BUILD_ROOT/%{_libdir}/scim-1.0/%{scim_binary_version}/IMEngine/hangul.{a,la} rm -f $RPM_BUILD_ROOT/%{_libdir}/scim-1.0/%{scim_binary_version}/SetupUI/hangul-imengine-setup.{a,la} %find_lang scim-hangul %if %{with skim} %find_lang skim-scim-hangul %endif %clean %files -f scim-hangul.lang %defattr(-, root, root) %doc AUTHORS COPYING NEWS README ChangeLog %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/hangul.so %if %{build_setup} %dir %{_libdir}/scim-1.0/%{scim_binary_version}/SetupUI/ %{_libdir}/scim-1.0/%{scim_binary_version}/SetupUI/hangul-imengine-setup.so %endif %dir %{_datadir}/scim/icons/ %{_datadir}/scim/icons/scim-hangul.png %dir %{_datadir}/scim/hangul/ %{_datadir}/scim/hangul/symbol.txt %if %{with skim} %files -n scim-hangul-skim -f skim-scim-hangul.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