commit b9976545e9f95bd8bf57fb1196e96e9fd56b6073
Author: Daiki Ueno <ueno(a)unixuser.org>
Date: Tue Feb 14 10:37:16 2012 +0900
Update to 0.0.11-2.
libskk.spec | 32 +++++++++++++++++++++++---------
1 files changed, 23 insertions(+), 9 deletions(-)
---
diff --git a/libskk.spec b/libskk.spec
index 96799e1..af17507 100644
--- a/libskk.spec
+++ b/libskk.spec
@@ -1,6 +1,6 @@
Name: libskk
Version: 0.0.11
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Library to deal with Japanese kana-to-kanji conversion method
License: GPLv3+
@@ -13,7 +13,6 @@ BuildRequires: vala
BuildRequires: pkgconfig(gee-1.0)
BuildRequires: json-glib-devel
BuildRequires: gobject-introspection-devel
-BuildRequires: libfep-devel
BuildRequires: intltool
%description
@@ -22,6 +21,7 @@ input methods. Currently it supports SKK (Simple Kana Kanji) with
various typing rules including romaji-to-kana, AZIK, ACT, TUT-Code,
T-Code, and NICOLA.
+
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
@@ -32,20 +32,31 @@ The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
+%package tools
+Summary: Tools for %{name}
+Group: Development/Tools
+BuildRequires: libfep-devel
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description tools
+The %{name}-tools package contains tools for developing applications
+that use %{name}.
+
+
%prep
%setup -q
%build
%configure --disable-static --enable-fep
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
-# libskk 0.0.7 forgot to install skk-1.0.deps in vapidir
-install -p -m644 libskk/skk-1.0.deps $RPM_BUILD_ROOT/%{_datadir}/vala/vapi/
%find_lang %{name}
@@ -57,24 +68,27 @@ install -p -m644 libskk/skk-1.0.deps
$RPM_BUILD_ROOT/%{_datadir}/vala/vapi/
%files -f %{name}.lang
%doc README rules/README.rules COPYING
-%{_bindir}/skk
%{_libdir}/*.so.*
%{_datadir}/libskk
%{_libdir}/girepository-1.0/Skk*.typelib
-%{_bindir}/skkfep
-%{_libexecdir}/libskk/
-%{_mandir}/man1/skk*
%files devel
-%doc
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/Skk*.gir
%{_datadir}/vala/vapi/*
+%files tools
+%{_bindir}/skk*
+%{_libexecdir}/libskk/
+%{_mandir}/man1/skk*
+
%changelog
+* Tue Feb 14 2012 Daiki Ueno <dueno(a)redhat.com> - 0.0.11-2
+- split out skk and skkfep programs into -tools subpackage
+
* Mon Feb 13 2012 Daiki Ueno <dueno(a)redhat.com> - 0.0.11-1
- new upstream release
- build with --enable-fep
Show replies by date