[packages/scim-uim] - new
qboosh
qboosh at pld-linux.org
Sun Nov 25 18:48:16 CET 2012
commit e9971f0f7a92363cdbdf35e2de1470d8feb79997
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Nov 25 18:48:24 2012 +0100
- new
scim-uim-uim.patch | 13 +++++++++++++
scim-uim.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
---
diff --git a/scim-uim.spec b/scim-uim.spec
new file mode 100644
index 0000000..6d53032
--- /dev/null
+++ b/scim-uim.spec
@@ -0,0 +1,52 @@
+Summary: SCIM IMEngine module based on UIM
+Summary(pl.UTF-8): Moduł silnika IM platformy SCIM oparty na bibliotece UIM
+Name: scim-uim
+Version: 0.2.0
+Release: 1
+License: GPL v2+
+Group: Libraries
+Source0: http://downloads.sourceforge.net/scim/%{name}-%{version}.tar.gz
+# Source0-md5: 3841556bc0e5a94b1a268751432712d3
+Patch0: %{name}-uim.patch
+URL: http://www.scim-im.org/
+BuildRequires: libstdc++-devel
+BuildRequires: pkgconfig
+BuildRequires: scim-devel >= 1.4.0
+BuildRequires: uim-devel >= 1.1.0
+Requires: scim >= 1.4.0
+Requires: uim >= 1.1.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a SCIM IMEngine module which uses UIM input method library as
+the backend.
+
+%description -l pl.UTF-8
+Ten pakiet zawiera moduł IM platformy SCIM wykorzystujący jako backend
+bibliotekę metod wprowadzania UIM.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure \
+ --disable-static
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/IMEngine/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README THANKS
+%attr(755,root,root) %{_libdir}/scim-1.0/*/IMEngine/uim.so
+%{_datadir}/scim/icons/scim-uim.png
diff --git a/scim-uim-uim.patch b/scim-uim-uim.patch
new file mode 100644
index 0000000..28a6aed
--- /dev/null
+++ b/scim-uim-uim.patch
@@ -0,0 +1,13 @@
+--- scim-uim-0.2.0/src/scim_uim_imengine.cpp.orig 2007-04-10 07:43:59.000000000 +0200
++++ scim-uim-0.2.0/src/scim_uim_imengine.cpp 2012-11-25 18:36:48.051792282 +0100
+@@ -34,7 +34,9 @@
+
+ #include <scim.h>
+ #include "scim_uim_imengine.h"
+-#include <uim/uim-compat-scm.h>
++#include <uim/uim-scm.h>
++#include <uim/uim-util.h>
++#include <cstring>
+
+ #define scim_module_init uim_LTX_scim_module_init
+ #define scim_module_exit uim_LTX_scim_module_exit
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/scim-uim.git/commitdiff/e9971f0f7a92363cdbdf35e2de1470d8feb79997
More information about the pld-cvs-commit
mailing list