File: ibus-zhuyin.spec.in

package info (click to toggle)
ibus-zhuyin 0.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,388 kB
  • sloc: sh: 11,891; ansic: 2,409; makefile: 104; sed: 16
file content (58 lines) | stat: -rw-r--r-- 1,394 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Name:       @PACKAGE_NAME@
Version:    @PACKAGE_VERSION@
Release:    1%{?dist}
Summary:    IBus Traditional ZhuYin Input Method
License:    GPLv3+
Group:      System Environment/Libraries
URL:        http://fourdollars.github.com/ibus-zhuyin/
Source0:    %{name}-%{version}.tar.xz

BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:    ibus-devel
%if 0%{?suse_version}
BuildRequires:    xz
%else
%endif
Requires:         ibus

%description
This traditional Chinese zhuyin input method is designed for the old school style.
There is no intelligent phonetic matching mechanism.
You have to select which word you want everytime.

%prep
%setup -q

%build
%if 0%{?suse_version}
%configure --disable-static --libexecdir=%{_libdir}/ibus
%else
%configure --disable-static
%endif
# make -C po update-gmo
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} install

#%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

#%files -f %{name}.lang
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%dir %{_datadir}/ibus
%dir %{_datadir}/ibus/component
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/icons
%{_datadir}/%{name}/icons/ibus-zhuyin.png
%{_datadir}/ibus/component/zhuyin.xml
%{_libdir}/%{name}

%changelog
* Fri Mar 15 2013 Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com> - %{version}
- The first version.