-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscim-fcitx.spec.in
57 lines (41 loc) · 1.36 KB
/
scim-fcitx.spec.in
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
%define nam @PACKAGE@
%define ver @VERSION@
%define rel 1
# Something's not quite right with libtool....
%define __libtoolize echo
Summary: FCITX Input Method Engine for SCIM
Name: %{nam}
Version: %{ver}
Release: %{rel}
License: GPL
Group: System Environment/Libraries
URL: http://sourceforge.net:/projects/scim
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-fcitx is the fcitx chinese input method ported to the scim input method platform
%changelog
* Thu May 5 2005 Haojun Bao <[email protected]>
- first release of scim-fcitx.
#--------------------------------------------------
%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/fcitx.{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/fcitx.so
@SCIM_ICONDIR@/fcitx/*
@SCIM_DATADIR@/fcitx/*