File: scim-unikey.spec.in

package info (click to toggle)
scim-unikey 0.3.1+debian-3.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 2,396 kB
  • ctags: 1,262
  • sloc: sh: 10,650; cpp: 7,490; makefile: 169; sed: 16
file content (53 lines) | stat: -rw-r--r-- 1,443 bytes parent folder | download | duplicates (3)
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
Name:       @PACKAGE_NAME@
Version:    @PACKAGE_VERSION@
Release:    1%{?dist}
Summary:    Vietnamese Input Method Engine for SCIM using Unikey IME
Vendor:     Ubuntu-VN
License:    LGPL 2
Group:      Localization
URL:        http://code.google.com/p/scim-unikey/
Source:     http://scim-unikey.googlecode.com/files/%{name}-%{version}.tar.gz

%description
SCIM (Smart Common Input Method) is an input method (IM) platform.
scim-unikey is a IME for scim. Use for type Vietnamese
Support via forum at: http://forum.ubuntu-vn.com/viewforum.php?f=85

BuildRequires: scim-devel >= 1.4.7
Requires: scim

%prep
%setup -q

%build
if [ -x ./configure ]; then
  CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
else
  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
fi
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install-strip
find $RPM_BUILD_ROOT -name *.la -exec rm '{}' +

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
%{_prefix}/lib/libunikey-scim.*
%{_prefix}/lib/scim-1.0/1.4.0/IMEngine/unikey.*
%{_prefix}/lib/scim-1.0/1.4.0/Helper/unikey-helper.so
%{_prefix}/libexec/scim-setup-unikey
%{_prefix}/share/scim-unikey/setup/setup-macro.glade
%{_prefix}/share/scim-unikey/setup/setup-main.glade
%{_prefix}/share/scim/icons/scim-unikey*.png
%{_prefix}/share/locale/*/LC_MESSAGES/scim-unikey.mo