rpms/ibus-table-erbi/devel ibus-table-erbi.spec,1.8,1.9

Caius Chance cchance at fedoraproject.org
Fri Jul 3 05:51:49 UTC 2009


Author: cchance

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

Modified Files:
	ibus-table-erbi.spec 
Log Message:
- Fixed index creation at post-install.
- Removed bootstrap.
- Refined package dependencies.
- Added owned directories.
- Replaced hard coded command with macros.



Index: ibus-table-erbi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ibus-table-erbi/devel/ibus-table-erbi.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- ibus-table-erbi.spec	18 May 2009 13:40:04 -0000	1.8
+++ ibus-table-erbi.spec	3 Jul 2009 05:51:48 -0000	1.9
@@ -1,8 +1,6 @@
-%bcond_without bootstrap
-
 Name:       ibus-table-erbi
 Version:    1.1.0.20090407
-Release:    8%{?dist}
+Release:    9%{?dist}
 Summary:    Erbi input methods for ibus-table
 License:    GPLv2+
 Group:      System Environment/Libraries
@@ -12,13 +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 
-%if %{with bootstrap}
-BuildRequires:  gettext-devel >= 0.17, automake >= 1.10.2
-%endif
-# uncomment if build with extra phrases.
-# BuildRequires: ibus-table-extraphrase >= 1.1.0
-Requires(post):   ibus-table > 1.1.0
+Requires:         ibus-table >= 1.1.0.20090610, ibus-table >= 1.1.0.20090610
+Requires(post):   ibus-table >= 1.1.0.20090610, ibus-table >= 1.1.0.20090610
+BuildRequires:    ibus >= 1.2.0.20090617, ibus-table >= 1.1.0.20090610
+BuildRequires:    gettext-devel >= 0.17, automake >= 1.10.1
 
 %description
 The package contains Erbi input methods for Table engine of IBus platform. 
@@ -28,34 +23,37 @@ The package contains Erbi input methods 
 
 %build
 export IBUS_TABLE_CREATEDB="%{_bindir}/ibus-table-createdb --no-create-index"
-%if %{with bootstrap}
-./autogen.sh \
-    --prefix=%{_prefix} \
-%else
-%configure \
-%endif
-# replace below blank line with --enable-extra-phrases, 
-# if build with extra phrases.
-
-make %{?_smp_mflags}
+./autogen.sh --prefix=%{_prefix}
+%__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="install -p"
 
 %clean
-rm -rf %{buildroot}
+%__rm -rf %{buildroot}
 
 %post
-%{_bindir}/ibus-table-createdb -i -n %{_datadir}/ibus-table/tables/erbi_qs.db
+cd %{_datadir}/ibus-table/tables/
+%{_bindir}/ibus-table-createdb -i -n erbi_qs.db
 
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING README
+%dir %{_datadir}/ibus-table
+%dir %{_datadir}/ibus-table/tables
+%dir %{_datadir}/ibus-table/icons
 %{_datadir}/ibus-table/tables/erbi_qs.db
 %{_datadir}/ibus-table/icons/erbi-qs.svg
 
 %changelog
+* Fri Jul 3 2009 Caius Chance <cchance at redhat.com> - 1.1.0.20090407-9.fc12
+- Fixed index creation at post-install.
+- Removed bootstrap.
+- Refined package dependencies.
+- Added owned directories.
+- Replaced hard coded command with macros.
+
 * Mon May 18 2009 Caius Chance <cchance at redhat.com> - 1.1.0.20090407-8.fc12
 - Rebuilt with index creation during post-install.
 




More information about the fedora-extras-commits mailing list