diff --git a/m17n-lib.spec b/m17n-lib.spec index 516444d..382351b 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -53,6 +53,7 @@ Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: %{name}-flt = %{version}-%{release} Requires: %{name}-anthy = %{version}-%{release} +Requires: %{name}-tools = %{version}-%{release} %description devel Development files for %{name}. @@ -60,7 +61,7 @@ Development files for %{name}. %if %{with tools} %package tools -Summary: m17n GUI Library +Summary: m17n GUI Library tools Group: System Environment/Libraries Requires: m17n-db-datafiles @@ -92,7 +93,7 @@ export LIBS %configure --disable-rpath --disable-static %{!?with_tools:--without-tools} 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} +make %install @@ -105,6 +106,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %postun -p /sbin/ldconfig +%post tools -p /sbin/ldconfig + +%postun tools -p /sbin/ldconfig + %files %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS