Browse Source

libkkc 0.0.3-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7390 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 12 years ago
parent
commit
a21ca956b9
1 changed files with 25 additions and 2 deletions
  1. 25 2
      lib/libk/libkkc/libkkc-vl.spec

+ 25 - 2
lib/libk/libkkc/libkkc-vl.spec

@@ -1,5 +1,11 @@
 %define ver 0.0.3
-%define rel 1
+%define rel 2
+
+%if "%{?_dist_release}" == "vl6"
+%define with_vala 0
+%else
+%define with_vala 1
+%endif
 
 Summary: Japanese Kana Kanji conversion library (libkkc)
 Name: libkkc
@@ -10,11 +16,17 @@ Group: System Environment/Libraries
 URL: https://bitbucket.org/libkkc/libkkc/
 Source0: https://bitbucket.org/libkkc/libkkc/downloads/%{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+%if "%{?_dist_release}" == "vl6"
+BuildRequires: libgee-devel
+%else
 BuildRequires: libgee06-devel
+%endif
 BuildRequires: json-glib-devel
 BuildRequires: marisa-trie-devel
+%if %{with_vala}
 BuildRequires: vala-devel
 BuildRequires: vala-tools
+%endif
 
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -38,7 +50,13 @@ The libkkc-devel package contains the header files and libraries.
 %setup -q
 
 %build
-%configure --enable-shared --enable-vala=yes
+%configure --enable-shared \
+%if %{with_vala}
+           --enable-vala=yes \
+%else
+           --enable-vala=no \
+%endif
+
 %__make
 
 %install
@@ -72,6 +90,11 @@ The libkkc-devel package contains the header files and libraries.
 %{_datadir}/vala/vapi/kkc-1.0.vapi
 
 %changelog
+* Tue Jan 29 2013 IWAI, Masaharu <iwai@alib.jp> 0.0.3-2
+- support Vine Linux 6
+ - without Vala
+ - BR: libgee-devel
+
 * Mon Jan 28 2013 IWAI, Masaharu <iwai@alib.jp> 0.0.3-1
 - initial build for Vine Linux