summaryrefslogtreecommitdiff
path: root/libpinyin.spec.in
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-09-08 16:33:00 +0800
committerPeng Wu <alexepico@gmail.com>2011-09-08 16:33:00 +0800
commit03838c2f47ab836302e7d7aa85cc37e093fdbb45 (patch)
tree15ebc8f44cc9f160f15255061251b7869dbc8ac2 /libpinyin.spec.in
parent5194d84ad59e4ca060a7b5ea4c30768b9f3179a9 (diff)
downloadlibpinyin-03838c2f47ab836302e7d7aa85cc37e093fdbb45.tar.gz
update libpinyin.spec.in
Diffstat (limited to 'libpinyin.spec.in')
-rw-r--r--libpinyin.spec.in17
1 files 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 <pwu@redhat.com> - 0.2.99-2
+- Split data sub package
+
* Wed Aug 31 2011 Peng Wu <alexepico@gmail.com> - 0.2.99-1
- Initial version