[opencc] Update to 0.4.3
Peng Wu
pwu at fedoraproject.org
Tue May 28 03:26:47 UTC 2013
commit 2409bae2a90ca4ca31ca89c55ab08cd7e78aab6e
Author: Peng Wu <alexepico at gmail.com>
Date: Tue May 28 11:13:34 2013 +0800
Update to 0.4.3
opencc.spec | 25 +++++++++++++++++++------
1 files changed, 19 insertions(+), 6 deletions(-)
---
diff --git a/opencc.spec b/opencc.spec
index ba6e321..a4f2570 100644
--- a/opencc.spec
+++ b/opencc.spec
@@ -1,5 +1,5 @@
Name: opencc
-Version: 0.4.0
+Version: 0.4.3
Release: 1%{?dist}
Summary: Libraries for Simplified-Traditional Chinese Conversion
License: ASL 2.0
@@ -10,11 +10,20 @@ Patch1: opencc-0.3.0-fixes-cmake.patch
BuildRequires: gettext
BuildRequires: cmake
+BuildRequires: doxygen
%description
OpenCC is a library for converting characters and phrases between
Traditional Chinese and Simplified Chinese.
+%package doc
+Summary: Documentation for OpenCC
+Group: Applications/Text
+Requires: %{name} = %{version}-%{release}
+
+%description doc
+Doxygen generated documentation for OpenCC.
+
%package tools
Summary: Command line tools for OpenCC
@@ -41,7 +50,7 @@ developing applications that use %{name}.
%patch1 -p1 -b .cmake
%build
-%cmake . -DENABLE_GETTEXT:BOOL=ON
+%cmake . -DENABLE_GETTEXT:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=ON
make VERBOSE=1 %{?_smp_mflags}
%install
@@ -58,23 +67,27 @@ ctest
%postun -p /sbin/ldconfig
%files -f %{name}.lang
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING README
+%doc AUTHORS LICENSE README.md
%{_libdir}/lib*.so.*
%{_datadir}/opencc/
+%exclude %{_datadir}/opencc/doc
+
+%files doc
+%{_datadir}/opencc/doc
%files tools
-%defattr(-,root,root,-)
%{_bindir}/*
%{_datadir}/man/man1/*
%files devel
-%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
+* Tue May 28 2013 Peng Wu <pwu at redhat.com> - 0.4.3-1
+- Update to 0.4.3
+
* Mon Mar 4 2013 Peng Wu <pwu at redhat.com> - 0.4.0-1
- Update to 0.4.0
More information about the scm-commits
mailing list