rpms/ibus-table-yong/F-11 ibus-table-yong.spec,1.3,1.4

Caius Chance cchance at fedoraproject.org
Fri Jul 3 06:08:03 UTC 2009


Author: cchance

Update of /cvs/pkgs/rpms/ibus-table-yong/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19306

Modified Files:
	ibus-table-yong.spec 
Log Message:
- Fixed index creation with correct work directory.
- Reverted table name as IBus-Table could load table with hyphen file name.
- Changed commands to macros.



Index: ibus-table-yong.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ibus-table-yong/F-11/ibus-table-yong.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- ibus-table-yong.spec	16 Jun 2009 01:37:59 -0000	1.3
+++ ibus-table-yong.spec	3 Jul 2009 06:07:32 -0000	1.4
@@ -1,6 +1,6 @@
 Name:       ibus-table-yong
 Version:    1.1.0.20090422
-Release:    6%{?dist}
+Release:    7%{?dist}
 Summary:    Yong input methods for ibus-table
 License:    GPLv3+
 Group:      System Environment/Libraries
@@ -10,9 +10,10 @@ Source0:    http://ibus.googlecode.com/f
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
 
-BuildRequires: ibus-table >= 1.1.0.20090220-5 
+Requires:   ibus >= 1.1.0.20090609, ibus-table >= 1.1.0.20090610
+Requires(post):   ibus >= 1.1.0.20090609, ibus-table >= 1.1.0.20090610
+BuildRequires: ibus >= 1.1.0.20090609, ibus-table >= 1.1.0.20090610
 BuildRequires:  gettext-devel >= 0.17, automake >= 1.10.1
-Requires(post):   ibus-table > 1.1.0
 
 %description
 The package contains Yong input methods for Table engine of IBus platform. 
@@ -23,27 +24,34 @@ The package contains Yong input methods 
 %build
 export IBUS_TABLE_CREATEDB="%{_bindir}/ibus-table-createdb --no-create-index"
 ./autogen.sh --prefix=%{_prefix}
-make %{?_smp_mflags}
+%__make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-make DESTDIR=%{buildroot} NO_INDEX=true INSTALL="install -p" install
-%__mv %{buildroot}/%{_datadir}/ibus-table/tables/yong-ibus.db \
-      %{buildroot}/%{_datadir}/ibus-table/tables/yong_ibus.db
+%__rm -rf %{buildroot}
+%__make DESTDIR=%{buildroot} NO_INDEX=true INSTALL="install -p" install
 
 %clean
-rm -rf %{buildroot}
+%__rm -rf %{buildroot}
 
 %post
-%{_bindir}/ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/yong_ibus.db
+cd %{_datadir}/ibus-table/tables/
+%{_bindir}/ibus-table-createdb -i -n yong-ibus.db
 
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING README
-%{_datadir}/ibus-table/tables/yong_ibus.db
+%dir %{_datadir}/ibus-table
+%dir %{_datadir}/ibus-table/icons
+%dir %{_datadir}/ibus-table/tables
+%verify(not md5 size mtime) %{_datadir}/ibus-table/tables/yong-ibus.db
 %{_datadir}/ibus-table/icons/yong.png
 
 %changelog
+* Fri Jul 03 2009 Caius 'kaio' Chance <k AT kaio.me> - 1.1.0.20090422-7.fc11
+- Fixed index creation with correct work directory.
+- Reverted table name as IBus-Table could load table with hyphen file name.
+- Changed commands to macros.
+
 * Tue Jun 16 2009 Caius 'kaio' Chance <k AT kaio.me> - 1.1.0.20090422-6.fc11
 - Resolves: rhbz#500973 (missing .txt during post-install)
 




More information about the fedora-extras-commits mailing list