From 03838c2f47ab836302e7d7aa85cc37e093fdbb45 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 8 Sep 2011 16:33:00 +0800 Subject: [PATCH] update libpinyin.spec.in --- libpinyin.spec.in | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/libpinyin.spec.in b/libpinyin.spec.in index 1f55678..1197f3f 100644 --- a/libpinyin.spec.in +++ b/libpinyin.spec.in @@ -1,6 +1,6 @@ Name: libpinyin Version: @VERSION@ -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library to deal with pinyin License: GPLv2+ @@ -23,6 +23,14 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%package data +Summary: data files for %{name} +Requires: %{name} = %{version}-%{release} + +%description data +The %{name}-data package contains data files. + + %prep %setup -q @@ -47,7 +55,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %doc AUTHORS COPYING README %{_libdir}/*.so.* %dir %{_datadir}/libpinyin -%{_datadir}/libpinyin/data %files devel %doc @@ -55,7 +62,13 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %{_libdir}/*.so %{_libdir}/pkgconfig/libpinyin.pc +%files data +%doc +%{_datadir}/libpinyin/data %changelog +* Thu Sep 08 2011 Peng Wu - 0.2.99-2 +- Split data sub package + * Wed Aug 31 2011 Peng Wu - 0.2.99-1 - Initial version -- 2.7.4