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
|
%define release liu_mdk
%define prefix /usr
%define name gcin
%define version __gcin_version__
Summary: gcin : Chinese input method server
Name: %{name}
Version: %{version}
Release: %{release}
License: LGPL
Vendor: Edward Liu
URL: http://hyperrate.com/dir.php?eid=67
Group: Applications/System
Source0: %{name}-%{version}.tar.xz
Packager: Edward Liu <cp76@csie.nctu.edu.tw>
BuildRoot: %{_builddir}/%{name}-%{version}-root
BuildRequires: libgtk+2.0_0-devel >= 2.2.4
Requires: gtk+2.0 >= 2.2.4 vorbis-tools
Docdir: %{prefix}/share/doc
%description
gcin is a Chinese input method server for big5 traditional Chinese. It features
a better GTK user interface.
%prep
%setup
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,0755)
%doc README.html Changelog.html AUTHORS
%{_bindir}/*
%{_datadir}/gcin/*
%{_datadir}/icons/*
%{_datadir}/doc/gcin-__gcin_version__/*
%{_datadir}/applications/*
%{_libdir}/gtk-2.0/*
%{_libdir}/qt4/plugins/inputmethods/*
%{_libdir}/gcin/*
%post
/usr/share/gcin/script/modify-XIM
ldconfig
%update_menus
%postun
%clean_menus
%changelog
|