Skip to content

Instantly share code, notes, and snippets.

@dieterplex
Created December 26, 2011 22:46
Show Gist options
  • Save dieterplex/1522243 to your computer and use it in GitHub Desktop.
Save dieterplex/1522243 to your computer and use it in GitHub Desktop.
gcin-2.6.8 rpm spec for fedora
%define release liu_mdk
%define prefix /usr
%define name gcin
%define version 2.6.8
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 <[email protected]>
BuildRoot: %{_builddir}/%{name}-%{version}-root
BuildRequires: gtk2-devel >= 2.2.4
Requires: gtk2 >= 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}/applications/*
%{_libdir}/gtk-2.0/*
%{_libdir}/gtk-3.0/*
%{_libdir}/qt4/plugins/inputmethods/*
%{_libdir}/gcin/*
%post
/usr/share/gcin/script/modify-XIM
ldconfig
%update_menus
%postun
%clean_menus
%changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment