summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--ibus-chewing.spec32
-rw-r--r--sources2
3 files changed, 19 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index e665c30..6eeab53 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
ibus-chewing-1.3.5.20100706-Source.tar.gz
ibus-chewing-1.3.6.20100730-Source.tar.gz
/ibus-chewing-1.3.7.20100910-Source.tar.gz
+/ibus-chewing-1.3.8-Source.tar.gz
diff --git a/ibus-chewing.spec b/ibus-chewing.spec
index 8d525cc..4e4dd79 100644
--- a/ibus-chewing.spec
+++ b/ibus-chewing.spec
@@ -1,12 +1,12 @@
Name: ibus-chewing
-Version: 1.3.7.20100910
+Version: 1.3.8
Release: 1%{?dist}
Summary: The Chewing engine for IBus input platform
Summary(zh_TW): IBus新酷音輸入法
License: GPLv2+
Group: System Environment/Libraries
URL: http://code.google.com/p/ibus/
-Source0: http://ibus.googlecode.com/files/ibus-chewing-1.3.7.20100910-Source.tar.gz
+Source0: http://ibus.googlecode.com/files/%{name}-%{version}-Source.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -58,30 +58,31 @@ IBus-chewing 是新酷音輸入法的IBus前端。
%install
%__rm -rf $RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT
+# We install document using %doc
+(cd $RPM_BUILD_ROOT//usr/share/doc/ibus-chewing-1.3.8
+ %__rm -rf RELEASE-NOTES.txt AUTHORS README ChangeLog COPYING USER-GUIDE
+ )
+
%find_lang %{name}
%pre
if [ "$1" -gt 1 ] ; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
[ -r %{_sysconfdir}/gconf/schemas/%{name}.schemas ] &&
-gconftool-2 --makefile-uninstall-rule \
-%{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
+gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null
# Upgrading 1.0.2.20090302-1.fc11 or older?
[ -r %{_sysconfdir}/gconf/schemas/%{name}.schema ] &&
-gconftool-2 --makefile-uninstall-rule \
-%{_sysconfdir}/gconf/schemas/%{name}.schema >/dev/null || :
+gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schema >/dev/null
fi
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-gconftool-2 --makefile-install-rule \
-%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
+gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null
%preun
if [ "$1" -eq 0 ] ; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-gconftool-2 --makefile-uninstall-rule \
-%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
+gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null
fi
%clean
@@ -89,14 +90,18 @@ fi
%files -f %{name}.lang
%defattr(-,root,root,-)
-%doc AUTHORS README ChangeLog COPYING USER-GUIDE
+%doc RELEASE-NOTES.txt AUTHORS README ChangeLog COPYING USER-GUIDE
%{_libexecdir}/ibus-engine-chewing
%{_datadir}/%{name}
%{_datadir}/ibus/component/chewing.xml
%config(noreplace) %{_sysconfdir}/gconf/schemas/%{name}.schemas
%changelog
-* Sat Sep 11 2010 Ding-Yi Chen <dchen at redhat.com> - 1.3.7.20100910-1
+* Fri Nov 12 2010 Ding-Yi Chen <dchen at redhat.com> - 1.3.8-1
+- Quick fix for f15 and ibus-1.4 build
+- Version scheme change.
+
+* Fri Sep 10 2010 Ding-Yi Chen <dchen at redhat.com> - 1.3.7.20100910-1
- Input style of ibus-chewing is decommissioned under ibus >=1.3.
Now the input style is determined solely on the setting of
"Embed preedit in application window" in IBus.
@@ -338,6 +343,3 @@ Fix the errors which Funda Wang as pointing out:
* Fri Aug 15 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20081023-1
- The first version.
-
-
-
diff --git a/sources b/sources
index 93c53dc..db2d1a1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-14c5b75aac95aae55aad4a6859fea4d3 ibus-chewing-1.3.7.20100910-Source.tar.gz
+fa54c542576a69b14b946169d9362c69 ibus-chewing-1.3.8-Source.tar.gz