File: ami.spec.in

package info (click to toggle)
ami 1.0.1-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,532 kB
  • ctags: 2,181
  • sloc: ansic: 19,793; sh: 357; makefile: 216
file content (122 lines) | stat: -rw-r--r-- 3,702 bytes parent folder | download
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
%define name	ami
%define ver	@VERSION@
%define rel	1

Summary: Korean IMS Ami
Name: %{name}
Version: %{ver}
Release: %{rel}
Copyright: GPL
URL: http://www.kr.freebsd.org/~hwang/ami/index.html

Source: http://www.kr.freebsd.org/~hwang/ami/ami-%{ver}.tar.gz

Group: X11/IM
Provides: XIM
BuildRoot: /tmp/%{name}-root

%changelog
* Mon Sep 27 1999 ChiDeok Hwang <cdhwang@sr.hei.co.kr>
- some update from sio4@linuxkorea.co.kr

* Mon Sep  13 1999 SiO4, Y7N <sio4@linuxkorea.co.kr>
- update some description.
- make symbolic link of wmami for Windowmaker docking

* Thu Sep  9 1999 ChiDeok Hwang <cdhwang@sr.hei.co.kr>
- change name from amirc to gtkrc
- remove Summary(ko). rpm doesn't seem to be friendly with hangul yet.

* Mon Aug  9 1999 ChiDeok Hwang <cdhwang@sr.hei.co.kr>
- rename applet package to gnome 
- change the location of ami to /usr/bin instead of /usr/X11R6/bin
- delete hanja.dic from rpm. That will be distributed in the separate package.

* Thu Aug  5 1999 ChiDeok Hwang <cdhwang@sr.hei.co.kr>
- specify homepage

* Mon Aug  2 1999 ChiDeok Hwang <cdhwang@sr.hei.co.kr>
- sync with new version
- remove obsolete patches
- install hanja-hwp2ami

* Mon Aug  2 1999 SiO4, Y7N <sio4@linuxkorea.co.kr>
- fix RPM group.
- add some patch(default keyboard is 2 bulsik, README mis-spell).
- use --prefix=/usr option and remove gnome option for KDE users.
- move applet mode binary to individual package(ami-applet) for gnome users.
  split another package for data(hanja.dic)?
- added some entries on SPEC for korean users.

* Mon Aug  2 1999 HyunChul Kim, <mindgame@postech.ac.kr>
- initial package

%description
Korean IMS Ami using gtk+, support gnome applet mode and Windowmaker dock mode.
Gnome applet mode binary is available from the separate packages

%description -l ko
�ƹ̴� gtk+ ����� �ѱ� �Է±��, GNOME ���ø� ���� Windowmaker dock ��带 
�����մϴ�.  GNOME ���ø� ��� ���̳ʸ��� ������ ��Ű���� �����˴ϴ�. (ami-gnome)

%package gnome
Summary: Korean IMS AMI, GNOME Applet mode
Group: X11/IM

%description gnome
Korean IMS Ami using gtk+, support gnome applet mode and Windowmaker dock mode.
this package contains gnome applet mode binary of AMI

%description -l ko gnome
�ƹ̴� gtk+ ����� �ѱ� �Է±��, GNOME ���ø� ���� Windowmaker dock ��带 
�����մϴ�. �� ��Ű���� �ƹ��� GNOME ���ø� ��� ���̳ʸ��� ��� �ֽ��ϴ�.

%prep
%setup -n ami-%{ver}

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --sysconfdir=/etc --with-hangul-keyboard=2 --enable-gnome-applet
make
cp src/ami src/ami_applet
make clean

CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --with-hangul-keyboard=2
make
cd hanjadic
make

%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/share/ami
mkdir -p $RPM_BUILD_ROOT/usr/share/applets/Utility
mkdir -p $RPM_BUILD_ROOT/usr/share/applnk/Utilities
mkdir -p $RPM_BUILD_ROOT/etc/CORBA/servers

install -s -m 755 src/ami_applet $RPM_BUILD_ROOT/usr/bin
(cd $RPM_BUILD_ROOT/usr/bin; ln -sf ami wmami)
install -s -m 755 hanjadic/hanja-hwp2ami $RPM_BUILD_ROOT/usr/bin
install -s -m 755 src/ami $RPM_BUILD_ROOT/usr/bin
install -m 644 gtkrc $RPM_BUILD_ROOT/usr/share/ami
install -m 644 ami.kdelnk $RPM_BUILD_ROOT/usr/share/applnk/Utilities
install -m 644 ami.desktop $RPM_BUILD_ROOT/usr/share/applets/Utility
install -m 644 ami.gnorba $RPM_BUILD_ROOT/etc/CORBA/servers

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-,root,root)
/usr/bin/ami
/usr/bin/wmami
/usr/bin/hanja-hwp2ami
/usr/share/ami
/usr/share/applnk/Utilities/ami.kdelnk
%doc README COPYING ChangeLog AUTHORS THANKS

%files gnome
%defattr(-,root,root)
/usr/bin/ami_applet
/usr/share/applets/Utility/ami.desktop
/etc/CORBA/servers/ami.gnorba