Browse Source

ibus-kkc 1.5.2-2.giteb042df4

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7384 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 12 years ago
parent
commit
f442fcacc5
1 changed files with 30 additions and 1 deletions
  1. 30 1
      i/ibus-kkc/ibus-kkc-vl.spec

+ 30 - 1
i/ibus-kkc/ibus-kkc-vl.spec

@@ -1,28 +1,52 @@
 %define ver 1.5.2
-%define rel 1
+%define rel 2
+
+%define from_git 1
+%if %{from_git}
+%define githash eb042df4
+%endif
 
 Summary: IBus IME using libkkc as backend
 Name: ibus-kkc
 Version: %{ver}
+%if %{from_git}
+Release: %{rel}.git%{githash}%{_dist_release}
+%else
 Release: %{rel}%{_dist_release}
+%endif
 License: GPLv3
 Group: System Environment/Libraries
 URL: https://bitbucket.org/libkkc/
+%if %{from_git}
+Source0: %{name}-git.tar.gz
+%else
 Source0: https://bitbucket.org/libkkc/ibus-kkc/downloads/%{name}-%{version}.tar.gz
+%endif
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 BuildRequires: gtk3-devel
 BuildRequires: ibus-devel
 BuildRequires: libkkc-devel
 BuildRequires: desktop-file-utils
+%if %{from_git}
+BuildRequires: gnome-common
+%endif
 Requires: libkkc-data
+Requires: skkdic
 
 %description
 IBus IME using libkkc as backend
 
 %prep
+%if %{from_git}
+%setup -q -n %{name}-git
+%else
 %setup -q
+%endif
 
 %build
+%if %{from_git}
+./autogen.sh
+%endif
 %configure --enable-shared
 %__make
 
@@ -62,6 +86,11 @@ fi
 %{_datadir}/ibus/component/kkc.xml
 
 %changelog
+* Tue Jan 29 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.2-2.giteb042df4
+- update to git eb042df479cdad0d037e16016fda3d2cae99aaa1
+- add BuildRequires: gnome-common with git 
+- add Requires: skkdic
+
 * Mon Jan 28 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.2-1
 - initial build for Vine Linux