Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 36917437
en ru br
Репозитории ALT
S:1.4.18-alt1
5.1: 1.4.9-alt1
4.1: 1.4.7-alt1
4.0: 1.4.4-alt3
www.altlinux.org/Changes

Группа :: Система/Настройка/Прочее
Пакет: scim

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define scim_api 1.4.0

Name:      scim
Version:   1.4.7
Release:   alt1
Summary:   Smart Common Input Method platform

License:   LGPL
Group:   System/Configuration/Other
URL:       http://www.scim-im.org/
Source0:   http://dl.sourceforge.net/sourceforge/scim/%{name}-%{version}.tar.gz
Source1:   xinput-scim
Source2:   SCIM.txt

Patch1:    scim-add-restart.patch
Patch2:    gtkimm-clear-preedit-on-reset-174143.patch
Patch3:    rawcode-unicode-maxlength.patch
Patch4:    scim.pc-versioned-moduledir-179706.patch
Patch5:    scim-panjabi-punjabi.patch

# Automatically added by buildreq on Thu Sep 27 2007

BuildRequires: gcc-c++ imake libXt-devel libgtk+2-devel xorg-cf-files xsltproc

#BuildRequires: doxygen fontconfig gcc-c++ glibc-devel-static graphviz imake libgtk+2-devel libXt-devel xorg-cf-files xsltproc

#BuildRequires: gcc-c++ glibc-devel-static graphviz imake libICE-devel libX11-devel libXt-devel libstdc++-devel linux-libc-headers pkg-config xorg-cf-files xorg-x11-proto-devel xsltproc libltdl libltdl-devel

%description
SCIM is a user friendly and full featured input method user interface and
also a development platform to make life easier for Input Method developers.

%package devel
Summary:    Smart Common Input Method platform
Group:      Development/Other

%description devel
The scim-devel package includes the header files for the scim package.
Install scim-devel if you want to develop programs which will use scim.

%package doc
Summary:    Smart Common Input Method platform documentation
Group:      Documentation

%description doc
SCIM development documentation files generated from the sourcecode.

%package libs
Summary:    Smart Common Input Method libraries
Group:      System/Libraries

%description libs
This package provides the libraries and GTK input method module for SCIM.


%prep
%setup -q


%build
%configure
make


%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

mkdir -pm 755 $RPM_BUILD_ROOT/%{_libdir}/scim-1.0/{Config,FrontEnd,IMEngine,SetupUI,Helper}

find $RPM_BUILD_ROOT -name '*.la' | xargs rm

mkdir -pm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/X11/xinit/xinput.d
install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/X11/xinit/xinput.d/scim

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%define cjk_langs ja_JP ko_KR zh_CN zh_TW
%define indic_langs bn_IN gu_IN hi_IN kn_IN ml_IN pa_IN ta_IN te_IN
%define supported_langs %{cjk_langs} %{indic_langs} ne_NE th_TH

%post libs
/sbin/ldconfig
%_bindir/gtk-query-immodules-2.0 > %_sysconfdir/gtk-2.0/gtk.immodules
#%{_bindir}/update-gtk-immodules %{_target_platform}

%postun libs
/sbin/ldconfig
[ "$1" = 0 ] && \
%_bindir/gtk-query-immodules-2.0 > %_sysconfdir/gtk-2.0/gtk.immodules
#%{_bindir}/update-gtk-immodules %{_target_platform}

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README ChangeLog TODO
%dir %{_sysconfdir}/scim
%config(noreplace) %{_sysconfdir}/scim/*
%{_sysconfdir}/X11/xinit/xinput.d
%{_bindir}/*
%{_libdir}/scim-1.0
%exclude %{_libdir}/scim-1.0/%{scim_api}
%{_datadir}/scim

%files devel
%defattr(-,root,root,-)
%doc docs/developers
%{_includedir}/scim-1.0
%{_libdir}/libscim*.so
%{_libdir}/pkgconfig/*.pc

%files doc
%defattr(-,root,root,-)
%doc docs/html

%files libs
%defattr(-,root,root,-)
%{_libdir}/libscim-*.so.*
%{_libdir}/gtk-2.0/immodules
%{_libdir}/scim-1.0/%{scim_api}


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin