]> git.pld-linux.org Git - packages/qt-im-hangul.git/commitdiff
- new, currently for qt4 only (qt3 requires patch, qt5 not supported yet) master auto/th/qt-im-hangul-0.2.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 4 Apr 2016 15:35:37 +0000 (17:35 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 4 Apr 2016 15:35:37 +0000 (17:35 +0200)
qt-im-hangul-sh.patch [new file with mode: 0644]
qt-im-hangul.spec [new file with mode: 0644]

diff --git a/qt-im-hangul-sh.patch b/qt-im-hangul-sh.patch
new file mode 100644 (file)
index 0000000..3855563
--- /dev/null
@@ -0,0 +1,11 @@
+--- qimhangul-qimhangul-0.2.0/configure.ac.orig        2011-07-05 15:47:35.000000000 +0200
++++ qimhangul-qimhangul-0.2.0/configure.ac     2016-04-04 16:48:47.893056279 +0200
+@@ -46,7 +46,7 @@
+ # Check whether Qt is configured with X11
+ AC_MSG_CHECKING(whether Qt is configured with X11)
+-if pkg-config QtGui --variable=qt_config | grep x11 >& /dev/null; then
++if pkg-config QtGui --variable=qt_config | grep -q x11 2> /dev/null; then
+       qt_have_X11=yes
+ else
+       qt_have_X11=no
diff --git a/qt-im-hangul.spec b/qt-im-hangul.spec
new file mode 100644 (file)
index 0000000..7eab3ea
--- /dev/null
@@ -0,0 +1,71 @@
+Summary:       Input module of Qt for Korean using Hangul engine
+Summary(pl.UTF-8):     Moduł wejściowy Qt dla języka koreańskiego wykorzystujący silnik Hangul
+Name:          qt-im-hangul
+Version:       0.2.0
+Release:       1
+License:       GPL v2+
+Group:         X11/Libraries
+#Source0Download: https://github.com/choehwanjin/qimhangul/releases
+Source0:       https://github.com/choehwanjin/qimhangul/archive/qimhangul-%{version}.tar.gz
+# Source0-md5: c870f01b027b882d577cea98a55557c0
+Patch0:                %{name}-sh.patch
+URL:           https://github.com/choehwanjin/qimhangul
+BuildRequires: QtGui-devel >= 4.0.0
+BuildRequires: autoconf >= 2.65
+BuildRequires: automake
+BuildRequires: libhangul-devel >= 0.0.12
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRequires: qt4-build >= 4.0.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Input module of Qt for Korean using Hangul engine.
+
+%description -l pl.UTF-8
+Moduł wejściowy Qt dla języka koreańskiego wykorzystujący silnik
+Hangul.
+
+%package -n QtGui-inputmethod-hangul
+Summary:       Input module of Qt 4 for Korean using Hangul engine
+Summary(pl.UTF-8):     Moduł wejściowy Qt 4 dla języka koreańskiego wykorzystujący silnik Hangul
+Group:         X11/Libraries
+Requires:      QtGui >= 4.0.0
+Requires:      libhangul >= 0.0.12
+
+%description -n QtGui-inputmethod-hangul
+Input module of Qt 4 for Korean using Hangul engine.
+
+%description -n QtGui-inputmethod-hangul -l pl.UTF-8
+Moduł wejściowy Qt 4 dla języka koreańskiego wykorzystujący silnik
+Hangul.
+
+%prep
+%setup -q -n qimhangul-qimhangul-%{version}
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+PATH="%{_libdir}/qt4/bin:$PATH"
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/inputmethods/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -n QtGui-inputmethod-hangul
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README
+%attr(755,root,root) %{_libdir}/qt4/plugins/inputmethods/libqimhangul.so
This page took 0.072472 seconds and 4 git commands to generate.