rpms/scim/devel scim.spec, NONE, 1.1 xinput-scim, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jens Petersen (petersen)
fedora-extras-commits at redhat.com
Thu May 19 08:12:39 UTC 2005
Author: petersen
Update of /cvs/extras/rpms/scim/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28093/devel
Modified Files:
.cvsignore sources
Added Files:
scim.spec xinput-scim
Log Message:
auto-import scim-1.2.2-9 on branch devel from scim-1.2.2-9.src.rpm
--- NEW FILE scim.spec ---
Name: scim
Version: 1.2.2
Release: 9%{?dist}
Summary: Smart Common Input Method platform
License: LGPL
Group: System Environment/Libraries
URL: http://www.scim-im.org/
Source0: http://dl.sourceforge.net/sourceforge/scim/%{name}-%{version}.tar.gz
Source1: xinput-scim
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
PreReq: %{_bindir}/update-gtk-immodules
BuildRequires: gtk2-devel, desktop-file-utils
%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/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gtk2-devel
%description devel
The scim-devel package includes the static libraries and header files
for the scim package.
Install scim-devel if you want to develop programs which will use
scim.
%prep
%setup -q
%build
%configure
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}
# Kill all .a and .la
find ${RPM_BUILD_ROOT} -name "*.a" -o -name '*.la' | xargs rm -f
# install setup panel
desktop-file-install \
--delete-original \
--vendor fedora \
--dir ${RPM_BUILD_ROOT}/%{_datadir}/applications \
--add-category X-Fedora \
${RPM_BUILD_ROOT}/%{_datadir}/applications/scim-setup.desktop
# install user manual
mkdir -p docs/dist/manual/zh_CN/figures/
cp -a docs/manual/zh_CN/user-manual.{html,xml} docs/dist/manual/zh_CN/
cp -a docs/manual/zh_CN/figures/*.png docs/dist/manual/zh_CN/figures/
# install xinput config file.
mkdir -pm 755 ${RPM_BUILD_ROOT}/%{_sysconfdir}/X11/xinit/xinput.d
install -pm 755 %{SOURCE1} \
${RPM_BUILD_ROOT}/%{_sysconfdir}/X11/xinit/xinput.d/scim
%find_lang %{name}
%clean
rm -rf ${RPM_BUILD_ROOT}
%post
/sbin/ldconfig
for llcc in ja_JP ko_KR zh_CN zh_TW
do
%{_sbindir}/alternatives --install \
%{_sysconfdir}/X11/xinit/xinput.d/$llcc xinput-$llcc \
%{_sysconfdir}/X11/xinit/xinput.d/scim 85
done
%{_bindir}/update-gtk-immodules %{_target_platform}
%postun
/sbin/ldconfig
if [ "$1" = "0" ]
then
for llcc in ja_JP ko_KR zh_CN zh_TW
do
%{_sbindir}/alternatives --remove \
xinput-$llcc %{_sysconfdir}/X11/xinit/xinput.d/scim
if [ `readlink %{_sysconfdir}/alternatives/xinput-$llcc` = "%{_sysconfdir}/X11/xinit/xinput.d/scim" ]
then
%{_sbindir}/alternatives --auto xinput-$llcc
fi
done
fi
%{_bindir}/update-gtk-immodules %{_target_platform}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README ChangeLog TODO
%doc docs/dist/manual/zh_CN
%dir %{_sysconfdir}/scim
%config(noreplace) %{_sysconfdir}/scim/*
%{_sysconfdir}/X11/xinit/xinput.d/scim
%{_bindir}/*
%{_libdir}/libscim*.so.*
%{_libdir}/scim-1.0
%{_libdir}/gtk-2.0/immodules
%{_datadir}/scim
%{_datadir}/pixmaps/*
%{_datadir}/applications/fedora-scim-setup.desktop
%{_datadir}/control-center-2.0/capplets/scim-setup.desktop
%files devel
%defattr(-,root,root,-)
%doc docs/html
%doc docs/developers
%{_includedir}/scim-1.0
%{_libdir}/libscim*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Fri Mar 13 2005 Ryo Dairiki <ryo-dairiki at users.sourceforge.net> - 1.2.2-9
- Initial packaging for Fedora Extras
- cleanup and fixes (Konstantin Ryabitsev, Jens Petersen)
* Sun Jan 9 2005 James Su <suzhe at tsinghua.org.cn>
- Remove GConf Config module.
* Wed Jan 5 2005 James Su <suzhe at tsinghua.org.cn>
- Remove table IMEngine.
* Fri Aug 6 2004 James Su <suzhe at tsinghua.org.cn>
- Move scim-launcher and scim-panel-gtk to /usr/lib/scim-1.0.
* Sun Jun 20 2004 James Su <suzhe at tsinghua.org.cn>
- Merge all things into one package.
* Sat Jun 19 2004 James Su <suzhe at tsinghua.org.cn>
- Added /usr/libexec/scim-launcher.
- Remove setup module for SocketFrontEnd and SocketIMEngine.
--- NEW FILE xinput-scim ---
XMODIFIERS=@im=SCIM
XIM=SCIM
XIM_PROGRAM=scim
XIM_ARGS="-d"
GTK_IM_MODULE=scim
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/scim/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 19 May 2005 08:11:40 -0000 1.1
+++ .cvsignore 19 May 2005 08:12:37 -0000 1.2
@@ -0,0 +1 @@
+scim-1.2.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/scim/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 19 May 2005 08:11:40 -0000 1.1
+++ sources 19 May 2005 08:12:37 -0000 1.2
@@ -0,0 +1 @@
+933c6ef4df156d05994a35d48cb90374 scim-1.2.2.tar.gz
More information about the fedora-extras-commits
mailing list