]> git.pld-linux.org Git - packages/scim-tomoe.git/commitdiff
- initial revision
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 25 Jul 2011 11:08:49 +0000 (11:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    scim-tomoe-gcc43-cstring.patch -> 1.1
    scim-tomoe.spec -> 1.1

scim-tomoe-gcc43-cstring.patch [new file with mode: 0644]
scim-tomoe.spec [new file with mode: 0644]

diff --git a/scim-tomoe-gcc43-cstring.patch b/scim-tomoe-gcc43-cstring.patch
new file mode 100644 (file)
index 0000000..d0668f3
--- /dev/null
@@ -0,0 +1,11 @@
+diff -up scim-tomoe-0.6.0/src/scim_tomoe_prefs_widget.cpp~ scim-tomoe-0.6.0/src/scim_tomoe_prefs_widget.cpp
+--- scim-tomoe-0.6.0/src/scim_tomoe_prefs_widget.cpp~  2007-05-07 17:49:15.000000000 +1000
++++ scim-tomoe-0.6.0/src/scim_tomoe_prefs_widget.cpp   2008-04-14 16:47:34.000000000 +1000
+@@ -26,6 +26,7 @@
+ #include "scim_tomoe_prefs_widget.h"
+ #include "scim_tomoe_prefs.h"
+ #include <tomoe-gtk.h>
++#include <cstring>
+ enum {
+     HOGE_SIGNAL,
diff --git a/scim-tomoe.spec b/scim-tomoe.spec
new file mode 100644 (file)
index 0000000..4ade0cd
--- /dev/null
@@ -0,0 +1,52 @@
+Summary:       Tomoe module for SCIM for handwritten input
+Name:          scim-tomoe
+Version:       0.6.0
+Release:       0.1
+License:       GPL v2+
+Group:         Libraries
+Source0:       http://downloads.sourceforge.net/tomoe/%{name}-%{version}.tar.gz
+# Source0-md5: 21207dad4ceb5c00651673ec3737e010
+Patch0:                %{name}-gcc43-cstring.patch
+URL:           http://tomoe.sourceforge.net/
+BuildRequires: perl(XML::Parser)
+BuildRequires: gettext
+BuildRequires: scim-devel
+BuildRequires: tomoe-devel >= %{version}
+BuildRequires: tomoe-gtk-devel >= %{version}
+Requires:      scim
+Requires:      tomoe >= %{version}
+Requires:      tomoe-gtk >= %{version}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Scim-tomoe allows handwritten input of Chinese and Japanese characters
+with tomoe using SCIM.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/*/*.{la,a}
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog
+%attr(755,root,root) %{_bindir}/scim-tomoe
+%attr(755,root,root) %{_libdir}/scim-1.0/*/Helper/tomoe.so
+%{_datadir}/scim/icons/scim-tomoe.png
This page took 0.057803 seconds and 4 git commands to generate.