commit 6c18f2c5721b220f6702c7252681407960d5b070
Author: Jakub Bogusz <[email protected]>
Date:   Tue Sep 11 21:20:49 2012 +0200

    - pl
    - added no-libiconv patch (don't try to link with libiconv, libc is enough)
    - release 1

 kasumi-no-libiconv.patch | 10 ++++++++++
 kasumi.spec              | 21 +++++++++++++++++++--
 2 files changed, 29 insertions(+), 2 deletions(-)
---
diff --git a/kasumi.spec b/kasumi.spec
index 71c9aaa..3dfd06b 100644
--- a/kasumi.spec
+++ b/kasumi.spec
@@ -1,24 +1,41 @@
 Summary:       An anthy dictionary management tool
+Summary(pl.UTF-8):     Narzędzie do zarządzania słownikami Anthy
 Name:          kasumi
 Version:       2.5
-Release:       0.1
+Release:       1
 License:       GPL v2+
 Group:         Applications/Text
 Source0:       
http://jaist.dl.sourceforge.jp/kasumi/41436/%{name}-%{version}.tar.gz
 # Source0-md5: f49d010cf1fa5672b4515502b961b8c8
+Patch0:                %{name}-no-libiconv.patch
 URL:           http://kasumi.sourceforge.jp/
 BuildRequires: anthy-devel
-BuildRequires: gtk+2-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: gtk+2-devel >= 2:2.6.0
+BuildRequires: libstdc++-devel
+BuildRequires: pkgconfig
 Requires:      anthy
+Requires:      gtk+2 >= 2:2.6.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Kasumi is a dictionary management tool for Anthy.
 
+%description -l pl.UTF-8
+Kasumi to narzędzie do zarządzania słownikami dla systemu Anthy.
+
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
diff --git a/kasumi-no-libiconv.patch b/kasumi-no-libiconv.patch
new file mode 100644
index 0000000..bcfc37c
--- /dev/null
+++ b/kasumi-no-libiconv.patch
@@ -0,0 +1,10 @@
+--- kasumi-2.5/configure.in.orig       2009-07-13 05:41:26.000000000 +0200
++++ kasumi-2.5/configure.in    2012-09-11 21:12:31.501728092 +0200
+@@ -28,7 +28,6 @@
+ 
+ dnl Checks for libraries.
+ AM_PATH_GTK_2_0(2.6.0, CFLAGS="$CFLAGS $GTK_CFLAGS" CPPFLAGS="$CPPFLAGS 
$GTK_CFLAGS" LIBS="$LIBS $GTK_LIBS", AC_MSG_ERROR(GTK+ >= 2.6.0 not found.))
+-AC_CHECK_LIB(iconv, iconv)
+ AC_CHECK_LIB(anthydic, anthy_dic_util_init)
+ AC_CHECK_LIB(anthy, anthy_get_version_string)
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kasumi.git/commitdiff/6c18f2c5721b220f6702c7252681407960d5b070

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to