Репозитории ALT

S: | 1.4.18-alt1 |
5.1: | 1.4.9-alt1 |
4.1: | 1.4.7-alt1 |
4.0: | 1.4.4-alt3 |
Группа :: Система/Настройка/Прочее
Пакет: scim
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define scim_api 1.4.0
Name: scim
Version: 1.4.4
Release: alt3
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
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 Tue Jun 06 2006
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
%patch1 -p1 -b .1-restart
%patch2 -p1 -b .2-reset
%patch3 -p0 -b .3-unicode
%patch4 -p1 -b .4-moduledir
%patch5 -p0 -b .5-panjabi
autoreconf -fisv
%build
%configure --disable-static --enable-ld-version-script
make %{?_smp_mflags}
%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}/update-gtk-immodules %{_target_platform}
%postun libs
/sbin/ldconfig
#%{_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 можно просмотреть здесь
Name: scim
Version: 1.4.4
Release: alt3
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
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 Tue Jun 06 2006
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
%patch1 -p1 -b .1-restart
%patch2 -p1 -b .2-reset
%patch3 -p0 -b .3-unicode
%patch4 -p1 -b .4-moduledir
%patch5 -p0 -b .5-panjabi
autoreconf -fisv
%build
%configure --disable-static --enable-ld-version-script
make %{?_smp_mflags}
%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}/update-gtk-immodules %{_target_platform}
%postun libs
/sbin/ldconfig
#%{_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 можно просмотреть здесь