File: scim-hangul.spec.in

package info (click to toggle)
scim-hangul 0.2.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 6,616 kB
  • ctags: 2,047
  • sloc: ansic: 23,306; sh: 18,745; perl: 2,619; cpp: 1,086; makefile: 610; yacc: 288; sed: 16
file content (63 lines) | stat: -rw-r--r-- 1,632 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
54
55
56
57
58
59
60
61
62
63
%define nam             @PACKAGE@
%define ver             @VERSION@
%define rel             1
%define build_setup     @SCIM_BUILD_SETUP@

# Something's not quite right with libtool....
%define __libtoolize    echo

Summary:        Hangul Input Method Engine for SCIM
Name:           %{nam}
Version:        %{ver}
Release:        %{rel}
License:        GPL
Group:          System Environment/Libraries
URL:            http://www.freedesktop.org/~suzhe
BuildRoot:      %{_tmppath}/%{name}-%{version}-root

Source0:        %{name}-%{version}.tar.gz
#NoSource:	0

PreReq:         /sbin/ldconfig, /bin/sh

Requires:	scim >= @SCIM_VERSION@
BuildRequires:  scim-devel >= @SCIM_VERSION@

%description
SCIM is a developing platform to significant reduce the difficulty of 
input method development. 

%changelog
* Sun Jun 13 2004 James Su <suzhe@tsinghua.org.cn>
- first release of scim-uim.

#--------------------------------------------------

%prep

%setup -n %{name}-%{version}

%build
%configure --disable-static

make 

%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} install

rm -f $RPM_BUILD_ROOT/@SCIM_MODULEDIR@/IMEngine/hangul.{a,la}
rm -f $RPM_BUILD_ROOT/@SCIM_MODULEDIR@/SetupUI/hangul-imengine-setup.{a,la}

%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README ChangeLog
@SCIM_MODULEDIR@/IMEngine/hangul.so
%if %{build_setup}
@SCIM_MODULEDIR@/SetupUI/hangul-imengine-setup.so
%endif
%{_datadir}/locale/*/LC_MESSAGES/scim-hangul.mo
@SCIM_ICONDIR@/scim-hangul.png