From 3bcc798b1c6a252a00855bb3490720d37ff6b61f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 16 Aug 2005 07:48:32 +0000 Subject: [PATCH] auto-import libchewing-0.2.7-1 on branch devel from libchewing-0.2.7-1.src.rpm --- .cvsignore | 1 + libchewing.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 76 insertions(+) create mode 100644 libchewing.spec diff --git a/.cvsignore b/.cvsignore index e69de29..45d9cd8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libchewing-0.2.7.tar.gz diff --git a/libchewing.spec b/libchewing.spec new file mode 100644 index 0000000..9c56edc --- /dev/null +++ b/libchewing.spec @@ -0,0 +1,74 @@ +Name: libchewing +Version: 0.2.7 +Release: 1%{?dist} +Summary: Intelligent phonetic input method library for Traditional Chinese + +Group: System Environment/Libraries +License: GPL +URL: http://chewing.csie.net/ +Source: http://chewing.csie.net/download/libchewing/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libchewing is an intelligent phonetic input method library for Chinese. + +It provides the core algorithm and logic that can be used by various +input methods. The Chewing input method is a smart bopomofo phonetics +input method that is useful for inputting Mandarin Chinese. + + +%package -n %{name}-devel +Summary: Development files for libchewing +Group: Development/Libraries +Requires: %{name} = %{version}-%{release}, pkgconfig + +%description -n %{name}-devel +Headers and other files needed to develop applications using the %name library. + +%prep +%setup -q + +%build +%configure +make + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=%{buildroot} install + +rm $RPM_BUILD_ROOT%{_libdir}/libchewing.{a,la} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%doc README AUTHORS COPYING INSTALL +%dir %{_datadir}/chewing +%{_datadir}/chewing/* +%attr(755, root, root) %{_libdir}/*.so.* + +%files devel +%defattr(-, root, root) +%dir %{_includedir}/chewing +%{_includedir}/chewing/* +%{_libdir}/pkgconfig/chewing.pc +%{_libdir}/*.so + +%changelog +* Tue Aug 16 2005 Jens Petersen - 0.2.7-1 +- Initial build for Fedora Core +- cleanup spec file according to Fedora standard + +* Fri Dec 31 2004 rabit 0.2.5-fc3 +- update for 0.2.5. and fedora core 3 + +* Thu Oct 8 2004 rabit 0.2.4-fc2 +- update for 0.2.4. + +* Thu Oct 7 2004 rabit 0.2.3-fc2 +- Initial build. diff --git a/sources b/sources index e69de29..e952223 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ca4a4834daf9247582de9813250e8466 libchewing-0.2.7.tar.gz