rpms/ibus-table-yong/devel ibus-table-yong.spec,1.2,1.3
Caius Chance
cchance at fedoraproject.org
Fri Jul 3 05:56:12 UTC 2009
Author: cchance
Update of /cvs/pkgs/rpms/ibus-table-yong/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18142
Modified Files:
ibus-table-yong.spec
Log Message:
- Removed bootstrap.
- Refined dependency.
- Changed commands into macros.
- Fixed index creation to run tool in correct location.
- Added owned directories.
Index: ibus-table-yong.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ibus-table-yong/devel/ibus-table-yong.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- ibus-table-yong.spec 19 May 2009 04:43:19 -0000 1.2
+++ ibus-table-yong.spec 3 Jul 2009 05:56:12 -0000 1.3
@@ -1,8 +1,6 @@
-%bcond_without bootstrap
-
Name: ibus-table-yong
Version: 1.1.0.20090422
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Yong input methods for ibus-table
License: GPLv3+
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.1
-%endif
-# uncomment if build with extra phrases.
-# BuildRequires: ibus-table-extraphrase >= 1.1.0
-Requires(post): ibus-table > 1.1.0
+Requires: ibus >= 1.2, ibus-table >= 1.2
+Requires(post): ibus >= 1.2, ibus-table >= 1.2
+BuildRequires: ibus >= 1.2, ibus-table >= 1.2
+BuildRequires: gettext-devel >= 0.17, automake >= 1.10.1
%description
The package contains Yong input methods for Table engine of IBus platform.
@@ -28,36 +23,39 @@ The package contains Yong 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 -p" 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
%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
+%dir %{_datadir}/ibus-table
+%dir %{_datadir}/ibus-table/icons
+%dir %{_datadir}/ibus-table/tables
%{_datadir}/ibus-table/tables/yong_ibus.db
%{_datadir}/ibus-table/icons/yong.png
%changelog
+* Tue May 19 2009 Caius 'kaio' Chance <kaio at kaio.me> - 1.1.0.20090422-6.fc12
+- Removed bootstrap.
+- Refined dependency.
+- Changed commands into macros.
+- Fixed index creation to run tool in correct location.
+- Added owned directories.
+
* Tue May 19 2009 Caius 'kaio' Chance <cchance AT redhat DOT com> - 1.1.0.20090422-5.fc12
- Create index only during post-install.
More information about the fedora-extras-commits
mailing list