rpms/ibus-table-wubi/devel ibus-table-wubi.spec,1.5,1.6

Caius Chance cchance at fedoraproject.org
Wed Jul 1 05:33:34 UTC 2009


Author: cchance

Update of /cvs/pkgs/rpms/ibus-table-wubi/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24393

Modified Files:
	ibus-table-wubi.spec 
Log Message:
- Corrected by change into installed table directory for index creation.
- Further specify package dependencies.
- Added owned directories that supposed to belong to this package.
- Move hard coded commands to macros.



Index: ibus-table-wubi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ibus-table-wubi/devel/ibus-table-wubi.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- ibus-table-wubi.spec	18 May 2009 13:18:28 -0000	1.5
+++ ibus-table-wubi.spec	1 Jul 2009 05:33:34 -0000	1.6
@@ -1,8 +1,6 @@
-%bcond_without bootstrap
-
 Name:       ibus-table-wubi
 Version:    1.1.0.20090327
-Release:    7%{?dist}
+Release:    8%{?dist}
 Summary:    Wubi input methods for ibus-table
 License:    GPLv3+
 Group:      System Environment/Libraries
@@ -12,12 +10,10 @@ Source0:    http://ibus.googlecode.com/f
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:  noarch
 
-# for noarch pkgconfig
-BuildRequires: ibus-table >= 1.1.0.20090220-5
-%if %{with bootstrap}
-BuildRequires:  gettext-devel >= 0.17, automake >= 1.10.2
-%endif
-Requires(post):   ibus-table > 1.1.0
+Requires:   ibus-table > 1.1.0.20090609, ibus-table >= 1.1.0.20090610
+Requires(post):   ibus-table > 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
 
 %description
 The package contains Wubi input methods for Table engine of IBus platform. 
@@ -26,33 +22,37 @@ The package contains Wubi input methods 
 %setup -q
 
 %build
-export IBUS_TABLE_CREATEDB="%{_bindir}/ibus-table-createdb --no-create-index"
-%if %{with bootstrap}
-./autogen.sh \
-    --prefix=%{_prefix} \
-%else
-%configure \
-%endif
-    --enable-wubi86
-make %{?_smp_mflags}
+export IBUS_TABLE_CREATEDB="%{_bindir}/ibus-table-createdb -o"
+./autogen.sh --prefix=%{_prefix} --enable-wubi86
+%__make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-make DESTDIR=%{buildroot} NO_INDEX=true install INSTALL="install -p"
+%__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/wubi86.db
+cd %{_datadir}/ibus-table/tables/
+%{_bindir}/ibus-table-createdb -i -n wubi86.db
 
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING README
+%dir %{_datadir}/ibus-table
+%dir %{_datadir}/ibus-table/tables
+%dir %{_datadir}/ibus-table/icons
 %{_datadir}/ibus-table/tables/wubi86.db
 %{_datadir}/ibus-table/icons/wubi86.svg
 
 %changelog
+* Wed Jul 01 2009 Caius 'kaio' Chance <k at kaio.me> - 1.1.0.20090316-8.fc12
+- Corrected by change into installed table directory for index creation.
+- Further specify package dependencies.
+- Added owned directories that supposed to belong to this package.
+- Move hard coded commands to macros.
+
 * Mon May 17 2009 Caius Chance <cchance at redhat.com> - 1.1.0.20090316-7.fc12
 - Rebuilt with indexing during post-install.
 




More information about the fedora-extras-commits mailing list