|
@@ -1,7 +1,7 @@
|
|
%define ver 0.3.5
|
|
%define ver 0.3.5
|
|
-%define rel 1
|
|
|
|
|
|
+%define rel 2
|
|
%define dataver 0.2.7
|
|
%define dataver 0.2.7
|
|
-%define datarel 5
|
|
|
|
|
|
+%define datarel 6
|
|
|
|
|
|
%define from_git 0
|
|
%define from_git 0
|
|
%if %{from_git}
|
|
%if %{from_git}
|
|
@@ -31,8 +31,10 @@ Source0: libkkc-%{githash}.tar.gz
|
|
Source0: https://github.com/ueno/libkkc/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
Source0: https://github.com/ueno/libkkc/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
%endif
|
|
%endif
|
|
Source1: https://bitbucket.org/libkkc/libkkc-data/downloads/%{name}-data-%{dataver}.tar.xz
|
|
Source1: https://bitbucket.org/libkkc/libkkc-data/downloads/%{name}-data-%{dataver}.tar.xz
|
|
|
|
+Patch0: https://github.com/ueno/libkkc/commit/1f512da81a71287b13eb0a1f9b31830b16db2107.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
BuildRequires: pkgconfig(gee-0.8)
|
|
BuildRequires: pkgconfig(gee-0.8)
|
|
|
|
+BuildRequires: libgee-vala
|
|
BuildRequires: json-glib-devel
|
|
BuildRequires: json-glib-devel
|
|
BuildRequires: marisa-trie-devel
|
|
BuildRequires: marisa-trie-devel
|
|
# for libkkc-data
|
|
# for libkkc-data
|
|
@@ -94,6 +96,7 @@ uses at run time.
|
|
%else
|
|
%else
|
|
%setup -q
|
|
%setup -q
|
|
%endif
|
|
%endif
|
|
|
|
+%patch0 -p1
|
|
|
|
|
|
# for libkkc-data
|
|
# for libkkc-data
|
|
tar xf %{SOURCE1}
|
|
tar xf %{SOURCE1}
|
|
@@ -102,7 +105,7 @@ tar xf %{SOURCE1}
|
|
%if %{from_git}
|
|
%if %{from_git}
|
|
./autogen.sh
|
|
./autogen.sh
|
|
%endif
|
|
%endif
|
|
-%configure --enable-shared \
|
|
|
|
|
|
+%configure --enable-shared --disable-static \
|
|
--disable-silent-rules \
|
|
--disable-silent-rules \
|
|
%if %{with_vala}
|
|
%if %{with_vala}
|
|
--enable-vala=yes \
|
|
--enable-vala=yes \
|
|
@@ -180,6 +183,10 @@ popd
|
|
%{_libdir}/libkkc/models/sorted3
|
|
%{_libdir}/libkkc/models/sorted3
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Apr 30 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 0.3.5-2
|
|
|
|
+- add 'Try all possible okuri-gana combinations' patch (Patch0)
|
|
|
|
+- add BuildRequires: libgee-vala
|
|
|
|
+
|
|
* Mon Dec 29 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.3.5-1
|
|
* Mon Dec 29 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.3.5-1
|
|
- update to libkkc 0.3.5
|
|
- update to libkkc 0.3.5
|
|
- switch upstream source location to GitHub
|
|
- switch upstream source location to GitHub
|