import srpm

This commit is contained in:
Peng Wu 2014-07-04 11:11:43 +08:00
parent 46166be77d
commit d3a5b6409e
3 changed files with 56 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/ibus-libzhuyin-1.6.99.20140626.tar.gz

54
ibus-libzhuyin.spec Normal file
View File

@ -0,0 +1,54 @@
Name: ibus-libzhuyin
Version: 1.6.99.20140626
Release: 2%{?dist}
Summary: New Zhuyin engine based on libzhuyin for IBus
License: GPLv2+
URL: https://github.com/libzhuyin/ibus-libzhuyin
Source0: http://downloads.sourceforge.net/libzhuyin/ibus-libzhuyin/%{name}-%{version}.tar.gz
BuildRequires: gettext-devel
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: sqlite-devel
BuildRequires: opencc-devel
BuildRequires: ibus-devel >= 1.3
BuildRequires: libzhuyin-devel >= 0.9.93
BuildRequires: python2-devel
# Requires(post): sqlite
Requires: ibus >= 1.3.0
Requires: libzhuyin-data >= 0.9.93
%description
It includes a Chinese Zhuyin (Bopomofo) input method
based on libzhuyin for IBus.
%prep
%setup -q
%build
%configure --disable-static \
--disable-boost
# make -C po update-gmo
make %{?_smp_mflags} V=1
%install
make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
%files
%doc AUTHORS COPYING README
%{_libexecdir}/ibus-engine-libzhuyin
%{_libexecdir}/ibus-setup-libzhuyin
%{_datadir}/ibus-libzhuyin/setup
%dir %{_datadir}/ibus-libzhuyin
%{_datadir}/ibus/component/*
%changelog
* Thu Jul 3 2014 Peng Wu <pwu@redhat.com> - 1.6.99.20140626-2
- Improves spec.
* Fri Jun 01 2012 Peng Wu <pwu@redhat.com> - 1.6.99.20140626-1
- The first version.

View File

@ -0,0 +1 @@
b1018b46da1f17486cf88459746c62cb ibus-libzhuyin-1.6.99.20140626.tar.gz